LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Failed to overwrite statefile "Read only file-system" (https://www.linuxquestions.org/questions/linux-networking-3/failed-to-overwrite-statefile-read-only-file-system-776209/)

Bviper 12-16-2009 04:34 PM

Failed to overwrite statefile "Read only file-system"
 
/ is mounted as Read-only.

I created a Symbolic link for ifstate from /etc/network/run to /var/run (/var/run is mounted as tmpfs) and I can write to and from the file perfectly fine, but when trying to start the network I get "Failed to overwrite statefile Read only file-system". I double checked permissions to see if that was the problem, but it does not appear to be.

Any advice?

nimnull22 12-16-2009 07:02 PM

May be directory itself "read-only" or you do not have permissions to write there?

Bviper 12-17-2009 11:02 AM

I don't seem to be able to change the directory permissions. Either way the symbolic link should point it to /var/run which is writable.

nimnull22 12-17-2009 12:05 PM

Can certain user write to there?

Bviper 12-17-2009 01:00 PM

Quote:

Originally Posted by nimnull22 (Post 3795667)
Can certain user write to there?

The default user account created in Debian doesn't have any problem writing to it. Now it can't write in the directory /etc/networking/run but writing directly to the file /etc/networking/run/ifstate works fine.

dgammell 01-05-2010 07:40 PM

I was getting this error on Ubuntu Hardy using Xen VM, found that I was missing /lib/init/mount-functions.sh so just transferred it from other VM.


All times are GMT -5. The time now is 10:57 AM.