| View previous topic :: View next topic |
| Author |
Message |
e3k Apprentice


Joined: 01 Oct 2007 Posts: 151 Location: Slovakia
|
Posted: Sun May 01, 2011 6:02 pm Post subject: sys-fs/udev-168-r1 runtime directory /run/udev not writable |
|
|
any idea why i get this error after updating udev and rebooting the machine?
| Code: | | May 1 17:53:44 localhost udevd[4936]: error: runtime directory '/run/udev' not writable, for now falling back to '/dev/.udev' |
|
|
| Back to top |
|
 |
delan n00b

Joined: 01 May 2011 Posts: 15
|
Posted: Mon May 02, 2011 8:59 am Post subject: |
|
|
It's all about udev's move to put their own runtime data in /run/udev, which is a recent change from upstream.
http://lists.fedoraproject.org/pipermail/devel/2011-March/150031.html
Bascially, it's because udev was storing data its own runtime data in /dev/.udev and it was semantically incorrect and ugly. Some have suggested the use of /var/run/udev, but then again, not everyone has /var on the root partition. So the decision was made to create a top-level directory, /run.
Binary distros like Fedora got the new directory through an update to the systemd package, but I'd imagine (though I haven't tried this, and this message still appears in my boot output) that you'd have to create it yourself. Then, udev would stick its files in /run/udev, and the error message would be no more. |
|
| Back to top |
|
 |
depontius Advocate

Joined: 05 May 2004 Posts: 2156
|
Posted: Mon May 02, 2011 12:35 pm Post subject: |
|
|
Shouldn't the ebuild have created /run directory during installation? _________________ .sigs waste space and bandwidth |
|
| Back to top |
|
 |
delan n00b

Joined: 01 May 2011 Posts: 15
|
Posted: Mon May 02, 2011 2:21 pm Post subject: |
|
|
Maybe the ebuild should run
when installing. As in, create /run/udev with the main intent of creating the udev directory, but create /run also if it doesn't exist. I might submit a bug/patch about it tomorrow. |
|
| Back to top |
|
 |
SlashBeast Moderator


Joined: 23 May 2006 Posts: 2722
|
Posted: Mon May 02, 2011 3:21 pm Post subject: |
|
|
The /run is a crap from systemd, now udev support and use it, if can.
If there should be /run, it should be included in openrc, and as early as possible openrc should mount tmps wiht 1777 there I think. I see no other option. _________________ github |
|
| Back to top |
|
 |
e3k Apprentice


Joined: 01 Oct 2007 Posts: 151 Location: Slovakia
|
Posted: Tue May 03, 2011 10:49 am Post subject: |
|
|
as there is a fallback option i will ignore this error and wait until somebody does something  |
|
| Back to top |
|
 |
billydv l33t


Joined: 22 Dec 2006 Posts: 845 Location: Mount Vernon, NY
|
Posted: Wed May 04, 2011 2:30 am Post subject: |
|
|
I created the directories with full write access and when I booted I had no keyboard or mouse control. _________________ Billy DeVincentis |
|
| Back to top |
|
 |
Raphux n00b

Joined: 11 Sep 2004 Posts: 41 Location: Paris
|
Posted: Thu May 05, 2011 3:58 pm Post subject: |
|
|
| billydv wrote: | | I created the directories with full write access and when I booted I had no keyboard or mouse control. |
Same behaviour here. Removing /run got my keyboard and mouse work again. |
|
| Back to top |
|
 |
billydv l33t


Joined: 22 Dec 2006 Posts: 845 Location: Mount Vernon, NY
|
Posted: Fri May 06, 2011 1:03 am Post subject: |
|
|
I think it's best to just leave this as is until the devs get it sorted out. _________________ Billy DeVincentis |
|
| Back to top |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1633
|
Posted: Fri May 06, 2011 1:44 am Post subject: |
|
|
| SlashBeast wrote: | | The /run is a crap from systemd, now udev support and use it, if can. |
It's not crap from systemd, it's because the current solution of putting random stuff in /dev/.foo is crap. The only relation to systemd it has is that it was proposed by its author.
If you actually read the reason behind it, whatever your stance on systemd is, it's pretty hard to argue against it.
(other than "omg, it's not part of FHS", which seems like it will soon be fixed.) _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
| Back to top |
|
 |
cwr Veteran

Joined: 17 Dec 2005 Posts: 1462
|
Posted: Mon May 09, 2011 2:44 pm Post subject: |
|
|
Even with /run and /run/udev 777, udev still complains. I also get a message
about a missing udev file, /lib/udev/move_tmp_persistent_rules.sh (but the
keyboard still works).
Another strikingly effective upgrade of an essential package.
Will |
|
| Back to top |
|
 |
SlashBeast Moderator


Joined: 23 May 2006 Posts: 2722
|
Posted: Mon May 09, 2011 2:52 pm Post subject: |
|
|
Because when udev starts the rootfs is not writable. _________________ github |
|
| Back to top |
|
 |
depontius Advocate

Joined: 05 May 2004 Posts: 2156
|
Posted: Mon May 09, 2011 3:26 pm Post subject: |
|
|
| SlashBeast wrote: | | Because when udev starts the rootfs is not writable. |
ISTR that proper /run support needs to begin in the initrd. It's requirements seem to be very similar to /dev or devtmpfs. _________________ .sigs waste space and bandwidth |
|
| Back to top |
|
 |
darkphader Veteran


Joined: 09 May 2002 Posts: 1086 Location: Motown
|
Posted: Mon May 09, 2011 3:33 pm Post subject: |
|
|
Shouldn't need an initrd. The article linked to in the second post makes it clear that /run is supposed to be a tmpfs and that /var/run will eventually symlink to. Problem is currently that some apps store non-volatile data under /var/run which has to be addressed first. _________________ What I need is an exact list of specific unknown problems we might encounter. |
|
| Back to top |
|
 |
kaszynek n00b

Joined: 22 Mar 2011 Posts: 36 Location: Warsaw, Poland
|
Posted: Mon May 09, 2011 4:40 pm Post subject: |
|
|
I have the same error :/
But my keybord and mouse don't work after boot...
Any solutions? |
|
| Back to top |
|
 |
SlashBeast Moderator


Joined: 23 May 2006 Posts: 2722
|
Posted: Mon May 09, 2011 6:43 pm Post subject: |
|
|
The solution is, stop creating /run dir when you have no idea what you are doing. When this dir exist, it should be writable, propably tmpfs mounted before udev starts, openrc nor udev init does not mount it at this moment. _________________ github |
|
| Back to top |
|
 |
thumper Guru


Joined: 06 Dec 2002 Posts: 406 Location: Venice FL
|
Posted: Sun Oct 02, 2011 8:36 pm Post subject: |
|
|
Any new information on this /run directory with respect to Gentoo?
I've been noticing this in the output of df lately.
| Code: | # df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 287280956 144117224 128570688 53% /
devtmpfs 4091280 336 4090944 1% /dev
tmpfs 4093492 0 4093492 0% /dev/shm
df: `/run': No such file or directory
/dev/sda3 287280956 144117224 128570688 53% /
tmpfs 4093492 8 4093484 1% /dev/.initramfs
rc-svcdir 1024 164 860 17% /lib64/rc/init.d
shm 4093492 0 4093492 0% /dev/shm |
George |
|
| Back to top |
|
 |
e3k Apprentice


Joined: 01 Oct 2007 Posts: 151 Location: Slovakia
|
Posted: Mon Oct 10, 2011 8:37 pm Post subject: |
|
|
| Code: | # df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 179712996 16072316 161814848 10% /
udev 10240 204 10036 2% /dev
/dev/sda3 179712996 16072316 161814848 10% /
rc-svcdir 1024 80 944 8% /lib64/rc/init.d
shm 2028732 76 2028656 1% /dev/shm |
but i did reinstall gentoo 2 weeks ago from scratch as i it was a 4 year old installation and who knows what things have i done to the system in the years. |
|
| Back to top |
|
 |
seenxu n00b

Joined: 19 Oct 2009 Posts: 16
|
Posted: Mon Feb 13, 2012 7:22 pm Post subject: |
|
|
| I am having the same problem, any solution yet? |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Mon Feb 13, 2012 7:36 pm Post subject: |
|
|
| Which problem exactly? |
|
| Back to top |
|
 |
seenxu n00b

Joined: 19 Oct 2009 Posts: 16
|
Posted: Mon Feb 13, 2012 9:31 pm Post subject: |
|
|
| Gusar wrote: | | Which problem exactly? |
| Code: |
error: runtime directory '/run/udev' not writable, for now falling back to '/dev/.udev'
|
this problem exactly.  |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Mon Feb 13, 2012 9:48 pm Post subject: |
|
|
| That's not a problem. While it says "error" at the beginning, it's actually just an informational message, telling you that udev will be using a fallback instead of what it wants to use (and does use on distros that have implemented /run). |
|
| Back to top |
|
 |
|