On Sat, Apr 16, 2011 at 03:15:33PM +0200, Marco d'Itri wrote:
> On Apr 16, rleigh <rle...@codelibre.net> wrote:
> 
> > Not sure why udev is broken; it's using both locations from the
> > look of things.  Maybe something it needs has been written to
> Maybe your initramfs was not rebuilt to include the code which
> mounts /run?

Why would that be required?  /run is mounted by mountkernfs,
before udevd is started.

This is guaranteed through the
# Required-Start:    mountkernfs
in /etc/init.d/udev

> > Either way, please fix udev to work with the above sysvinit
> > package so that udev doesn't break everyone's systems when it
> > gets uploaded.
> Fix how? You say you already installed the new sysvinit package which
> mounts the tmpfs, so how would depending on it change anything?
> Anyway, I will not do any changes until I will know why the current
> package is not working.

Well, it would probably be best if you could install the updated
sysvinit package yourself and find out, since you're the udev
expert here.  My knowledge of udev is limited.  I will be uploading
it to experimental later today, and it will require an updated udev
that doesn't break before it can go into unstable.

But as said repeatedly, you simply *can* *not* use /run without
a versioned dependency on initscripts.  This is because there is
a window between initscripts being unpacked (/run created) and
being configured (/run gets a tmpfs mounted).  Without the versioned
dependency, you could find yourself using it when it's not actually
usable, which will cause breakage.  This is a hard requirement, you
can't avoid it and not cause breakage.

Here's what's broken right now:
I use the current udev in unstable
I install the new sysvinit/initscripts package
→ udev breaks (no networking)

I don't know when and why it's breaking, but it's definitely using
both /dev/.udev and /run/udev.  And /run is being mounted by
mountkernfs.

While it might be good to have /run mounted by the initramfs, udev
should not break if it is not mounted at that point, which is the
case right now.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to