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

Bug#633049: debootstrap: /run transition: Please switch use of /lib/init/rw to /run



On Thu, Jul 07, 2011 at 09:48:20PM -0400, Joey Hess wrote:
> Roger Leigh wrote:
> > Your package is currently using /lib/init/rw/ which is now deprecated
> > and pending removal.  Please update your package to use /run/ with a
> > versioned dependency on initscripts, as detailed below.
> 
> debootstrap's entire use of /lib/init/rw is to umount it if the
> directory exists. AFAICS the only impact could be a warning message
> if the directory is not found or mounted. I don't know if /run would
> get mounted during a debootstapping and also need to be unmounted.

We do take care to only mount /run at boot time, so it should never
be mounted in a chroot.  When migrating from /var/run in a chroot,
we also take care to not do any bind mounting.  In consequence, it
should never be mounted during a debootstrap, but it certainly
wouldn't hurt for debootstrap to attempt to umount it just in case
something else does mount it.

> And, debootstrap needs to keep umounting the directory if it exists,
> since it supports debootstapping old versions of debian.

ACK.

> I already discussed this, and other stuff in d-i that will probably
> actually be broken by /run in <20110514180201.GA28890@gnu.kitenet.net>.
> Has anything been done about that stuff? Not that I can see from what's
> in git for eg, grub-installer.

This is regarding making /etc/mtab a symlink?  This is still a work in
progress; I haven't yet got around to looking at what needs fixing.
It's also blocked on libmount support being added to nfs-utils.  Thanks
for the list of packages though--I'll look at them in more detail and
file bugs when I have time.

Sorry about the sendsigs bit, that was not relevant for debootstrap.


Regards,
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 to: