On Sat, Apr 16, 2011 at 06:01:20PM +0200, Marco d'Itri wrote:
> On Apr 16, rleigh <rle...@codelibre.net> wrote:
> 
> > > 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.
> Because if /run in the initramfs does not exist or is not a tmpfs then
> /dev/.udev/ will be used instead.

Well, the logic must be faulty, because it *is* using /run, and it
*is* broken.

> > Well, it would probably be best if you could install the updated
> > sysvinit package yourself and find out, since you're the udev
> Not right now.

It's now uploaded to experimental.  sysvinit_2.88dsf-13.4

> > 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.
> Actually I think I did: in this scenario /run/udev/ will NOT be used
> because /run is not a tmpfs.

Whether or not /run is a tmpfs or not is *irrelevant* to whether or
not udev should use it.  The choice of filesystem is entirely up to
the admin, and while the default is to use tmpfs, it is not udev's
business to alter its behaviour depending on the filesystem in use
at that location.  That's *utterly broken*.

udev needs a dependency on initscripts, and then it can
*unconditionally* make use of /run without relying on broken hacks.
You're trying to be too clever, and making assumptions that are
not warranted.

> > 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.
> It is not supposed to.

Well, it is.  Please, implement the initscripts dependency as we
requested, and don't make any use of /run otherwise.  It's simple,
foolproof and robust.  We went to a lot of effort to make it so,
and it's really rather frustrating that udev is persisting in
breaking systems when there is really do need for it to be doing
so.


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