Bug#642527: libquota-perl: Quota::getqcarg() fails to detect root device if /etc/mtab is symlinked to /proc/self/mounts

gregor herrmann gregoa at debian.org
Fri Sep 23 15:01:43 UTC 2011


On Fri, 23 Sep 2011 15:16:00 +0200, Paul Hink wrote:

> If /etc/mtab is not a normal file but a symlink to /proc/self/mounts,
> Quota::getqcarg() fails to detect the correct root device. It takes the
> first entry matching "/" which is "rootfs" instead of the device
> containing the "real" root partition:

This seems to be fixed in 1.6.6:

Changes in 1.6.6 (June 2011)
- Ignore "rootfs" filesystem in Quota::getqcarg() on Linux, which always
  is a duplicate.  Thanks to "abaturin" for providing this patch.

Cf. http://search.cpan.org/diff?from=Quota-1.6.4&to=Quota-1.6.6#Quota.pm
 
Cheers,
gregor

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Various Artists: Fernando Sor Variations Sur Malbrough S En Va T En Guerre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110923/c078f6b7/attachment.pgp>


More information about the pkg-perl-maintainers mailing list