[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please do not use /run yet



Am 06.04.2011 15:50, schrieb Roger Leigh:
> On Wed, Apr 06, 2011 at 09:54:53AM +0100, Roger Leigh wrote:
>> I'm just mentioning this here because udev started to use /run before
>> we had completed our work, and without a versioned dependency, causing
>> breakage.  If you are planning on using /run, please hold fire for a
>> few days longer until initscripts is uploaded!
> 
> Just for the record: if you're suffering from udev breaking
> horribly (#621036,#620995), a quick fix is to "rm -rf /run" and
> restart udev.
> 
> I saw behaviour like #593083, where it failed to load all modules,
> leading to not bringing up fbcon (radeondrmfb), no networking, and
> then X locking up the whole console, requiring a hard reboot to
> recover.  The latter is probably X rather than udev at fault, but
> triggered by the earlier failure to initialise the hardware.  Not
> sure what causes this, because at boot /run isn't writable and
> udev falls back to /dev/.udev, but despite falling back correctly,
> it's still broken for some reason.

The bug is in the sysv init script for udev:
It has set -e and

    if [ -d /run/ ]; then
      mkdir -p /run/udev/rules.d/
      create_dev_root_rule /run/udev/
    else

This will obviously break when /run is ro and udevd is never started.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: