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

Bug#633052: live-build: /run transition: Please switch use of /lib/init/rw to /run



On Fri, Jul 08, 2011 at 10:05:38AM +0200, Daniel Baumann wrote:
> On 07/08/2011 09:42 AM, Roger Leigh wrote:
> > you also need to umount /run there as well.
> 
> not sure; while it apparently was (not checked with >=squeeze yet,
> probably we can completely remove it anyway) the case that older
> releases (or older releases of derivatives) mounted /lib/init/rw during
> package installation, i guess this will not be the case anymore with
> /run. right?
> 
> oiow: in order to install packages in a chroot, /run does not need to be
> anything but an empty directory.

I think this should be safe.  We certainly never intentionally
mount /run in a chroot (it's only done at boot time).  We also
don't do a bind mount on upgrade when in a chroot.  However, it
certainly wouldn't hurt to do the umount just in case someone
else does mount it (but whether this is worth doing, I can't say).


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: