Debian Bug report logs -
#664550
xfs_quota: "report -p" doesn't show all projects
Reported by: Sergio Gelato <Sergio.Gelato@astro.su.se>
Date: Sun, 18 Mar 2012 21:16:49 UTC
Severity: normal
Found in version xfsprogs/3.1.4
Fixed in version xfsprogs/4.5.0
Done: Eric Sandeen <sandeen@sandeen.net>
Bug is archived. No further changes may be made.
Toggle useless messages
Information forwarded
to debian-bugs-dist@lists.debian.org, XFS Development Team <xfs@oss.sgi.com>:
Bug#664550; Package xfsprogs.
(Sun, 18 Mar 2012 21:16:51 GMT) (full text, mbox, link).
Acknowledgement sent
to Sergio Gelato <Sergio.Gelato@astro.su.se>:
Extra info received and forwarded to list. Copy sent to XFS Development Team <xfs@oss.sgi.com>.
(Sun, 18 Mar 2012 21:16:53 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: xfsprogs
Version: 3.1.4
When invoked without an explicit -U argument, the report and dump subcommands
of xfs_quota only mention projects that have a corresponding entry in
/etc/projid . This important fact is not mentioned in the man page.
It could easily result in loss of quota limit information across dump/restore
on systems where /etc/projid is out of date, corrupt or missing.
(Aside: even the fact that the dump subcommand accepts -L and -U isn't
documented in the man page. Why not?)
With an explicit -U, the code switches from getprent() (which iterates
over the contents of /etc/projid) to a simple loop over all project IDs
in the given range. This is better, except possibly for performance if
the project ID space is sparse.
Reply sent
to Eric Sandeen <sandeen@sandeen.net>:
You have taken responsibility.
(Fri, 06 Jan 2017 00:09:05 GMT) (full text, mbox, link).
Notification sent
to Sergio Gelato <Sergio.Gelato@astro.su.se>:
Bug acknowledged by developer.
(Fri, 06 Jan 2017 00:09:05 GMT) (full text, mbox, link).
Message #10 received at 664550-close@bugs.debian.org (full text, mbox, reply):
Package: xfsprogs
Version: 4.5.0
This should be fixed in xfsprogs 4.5.0 along with kernel 4.6, via
the new GETNEXTQUOTA interface, which asks the kernel to iterate
over all active quota ids regardless of what's in the local
user database.
52e81d7 xfs_quota: fall back silently if XFS_GETNEXTQUOTA fails
43633a3 xfs: wire up Q_XGETNEXTQUOTA / get_nextdqblk
6a9a085 xfs_quota: use Q_XGETNEXTQUOTA for report and dump
513fc42 xfs_quota: define Q_XGETNEXTQUOTA
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 15 Feb 2017 07:28:50 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Oct 11 22:38:00 2017;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.