LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   /etc/network/run/ifstate problem (Lenny) (https://www.linuxquestions.org/questions/debian-26/etc-network-run-ifstate-problem-lenny-754327/)

kopla 09-11-2009 01:44 AM

/etc/network/run/ifstate problem (Lenny)
 
Hi

Sorry, but my english is not very well.

I compiled new kernel(2.6.30.5).
When I'm booting kernel:
Code:

Setting up networking....
Configuring network interfaces...ifup: failed to lock statefile /etc/network/run/ifstate: Permission denied

That is why my network doesn't work.

I tried to give all rights to ifstate file and run directory but it didn't help. I also tried fsck.

How can I fix this?

repo 09-11-2009 03:43 AM

How are the permissions?
Code:

-rw-r--r-- 1 root root 16 2009-09-11 10:10 /etc/network/run/ifstate

kopla 09-12-2009 02:58 AM

Here are the permissions:
Code:

-rw-r--r-- 1 root root 0 1970-01-01 02:00 etc/network/run/ifstate

repo 09-12-2009 03:30 AM

What happens if you start the network manually?

kopla 09-12-2009 11:39 AM

When I start the network manually (/etc/init.d/networking start) I get same error

Code:

Configuring network interfaces...ifup: failed to lock statefile /etc/network/run/ifstate: Permission denied
failed.

What could be wrong?

kopla 09-19-2009 04:15 AM

Doesn't anybody have any ideas to this ifstate problem?

dchost 10-18-2009 04:25 PM

Quote:

Originally Posted by kopla (Post 3689465)
Doesn't anybody have any ideas to this ifstate problem?

having the same problem

repo 10-18-2009 04:59 PM

Did you compiled your own kernel?
try
Code:

apt-get install --reinstall ifupdown

dchost 10-18-2009 05:25 PM

Quote:

Originally Posted by repo (Post 3724171)
Did you compiled your own kernel?
try
Code:

apt-get install --reinstall ifupdown

thank you for answering but
it just kernel compile problem
the system is running fine with 2.6.26 kernel

i dont find the option with the new kernel 2.6.32 (make oldconfig)

The new system is unable to lock any state file: dpkg, ifup ...
(POSIX lock added, BSD account, Sys V, ext2, ...)

repo 10-18-2009 05:50 PM

Did you checked the bug reports ?
http://bugspy.net/product/linux-kernel/

dchost 10-18-2009 06:08 PM

Quote:

Originally Posted by repo (Post 3724214)
Did you checked the bug reports ?
http://bugspy.net/product/linux-kernel/


thanks i'll check that :hattip:

AwesomeMachine 10-18-2009 10:47 PM

It's almost undoubtedly a bug.

dchost 10-19-2009 12:43 PM

I finally downloaded the stable version 2.6.31.4
compile (oldconfig) with Block turned on and now it's ok.
Thank you :D


All times are GMT -5. The time now is 06:54 PM.