On Wed, Apr 06, 2011 at 01:33:00AM +0200, Marco d'Itri wrote:
> On Apr 06, Roger Leigh <rle...@codelibre.net> wrote:
> 
> > /run has been added to base-files today (6.2).  initscripts will
> > mount a tmpfs there shortly (#620191), but for the moment it's
> > just an empty directory.
> Looks like this one is the real bug: systems should not have a /run
> unless it will actually be available as such. Why should base-files not
> depend on the newer initscripts?
> Other programs could behave like udev does.

The plan for transition is that packages wanting to use or transition
to use /run *must* have a versioned initscripts dependency.

base-files can not depend on initscripts, because it will hinder
migration to systemd and other init systems (which will themselves
initially require initscripts, but plan on implementing it
themselves after wheezy).  Given its job, I also doubt that base-files
is allowed to depend on much else; we have done it the other way
around, having initscript depend on base-files >= 6.2.

We have spent the last week implementing /run in initscripts and
planning how to do the transition.  We decided that a versioned
initscripts was the way to go.  I was going to post a detailed
mail to debian-devel-announce once initscripts was uploaded
decribing all this, but udev has jumped the gun and started using it
before we've got all the uploads done!

> > use /run if a tmpfs is also mounted there.  The way to do
> > that is to depend upon initscripts (>= xxx) once it's uploaded.
> Is a dependency even enough to handle upgrades, or would it need to
> be a pre-depends?

A dependency will be sufficient; initscript sets up a working /run in
its postinst.

initscripts should be uploaded soon, and it will be fine to use /run
then, but for now it would be best if udev could stop using it.


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