[Pkg-sysvinit-devel] Bug#683309: Removal of /etc/mtab breaks auto-cleanup of loop devices

Roger Leigh rleigh at codelibre.net
Mon Jul 30 17:47:25 UTC 2012


reassign 683309 loop-aes-utils
severity 683309 serious
thanks

On Mon, Jul 30, 2012 at 05:57:42PM +0100, Steve McIntyre wrote:
> Since the move to remove /etc/mtab and link it to /proc/mounts, loop
> mounts no longer clean up the used loopback devices after unmount. It
> seems the loopback code in mount/unmount needs the information in mtab
> to do this automatically.

After discussion with Steve on IRC, it turns out that this is due
to using loop-aes-utils.  This package does not use libmount, and
so breaks due to trying to modify /etc/mtab (which has been a
symlink for some time).  All wheezy and later systems have /etc/mtab
as a symlink, making libmount a requirement.  loop-aes-utils must
use libmount for wheezy.

Given that loop-aes-utils is a fork of util-linux-ng from (it appears)
2009 from the NEWS file, it may be possible to merge in the subsequent
util-linux-ng changes.  Which would be a good idea anyway.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Pkg-sysvinit-devel mailing list