LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-16-2009, 04:34 PM   #1
Bviper
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian 5.0
Posts: 14

Rep: Reputation: 0
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?
 
Old 12-16-2009, 07:02 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
May be directory itself "read-only" or you do not have permissions to write there?
 
Old 12-17-2009, 11:02 AM   #3
Bviper
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian 5.0
Posts: 14

Original Poster
Rep: Reputation: 0
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.

Last edited by Bviper; 12-17-2009 at 12:58 PM.
 
Old 12-17-2009, 12:05 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Can certain user write to there?
 
Old 12-17-2009, 01:00 PM   #5
Bviper
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian 5.0
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
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.
 
Old 01-05-2010, 07:40 PM   #6
dgammell
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual display and "read-only file system" in Hardy rgalaway Ubuntu 5 10-28-2008 01:00 AM
chmod command fails with "Read-only file system" huklBerry Linux - General 8 06-13-2008 03:35 PM
gdb error "Failed to read a valid object file image from memory." Fejimush Programming 0 03-11-2007 01:40 PM
Can't boot Mandrake 10.0, "Cannot touch, Read-Only File System" RasutoIbuki Mandriva 5 07-23-2004 08:57 PM
"mkdir: cannot create directory `foo': Read-only file system" on FAT32 maddes Linux - Hardware 1 11-26-2003 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration