[Bug 1044516] Re: repquota not working correctly with xfs

Michael Terry michael.terry at canonical.com
Thu Oct 4 15:40:35 UTC 2012


** Description changed:

  SRU Justification:
- [IMPACT] 
-  * When using quota on systems with XFS on precise/quantal only the root quota is reported.
+ [IMPACT]
+  * When using quota on systems with XFS on precise/quantal only the root quota is reported.
+  * This means that users of XFS cannot use repquota, as it does not return reliable results.
  
  [TESTCASE]
-  * See bug below.
+  * See bug below.
  
- [Regression Potential] 
-  * This patch is already part of quota 4.01-1. It would be important to test on XFS and non-XFS partitions to see if functionality is as expected.
-  * This bug worked correctly in Lucid, and appears to be a regression in the upstream package between Lucid and Precise.
+ [Regression Potential]
+  * This patch only affects an XFS code path.
+  * This patch is already part of quota 4.01-1. It would be important to test on XFS and non-XFS partitions to see if functionality is as expected.
+  * This bug worked correctly in Lucid, and appears to be a regression in the upstream package between Lucid and Precise.
  
  --
  
  Description of the problem:
  
  The command 'repquota' is not working properly with an XFS file system
  on 12.04 and later. It only reports root's quota. The same command
  worked well with 10.04, and the other quota commands (xfs_quota) seem to
  work properly as well.
  
  Version affected: 12.04 LTS:
  
  ii quota 4.00-3 implementation of the disk quota system
  ii xfsprogs 3.1.7 Utilities for managing the XFS filesystem
  
  How reproducible is the problem? Always.
  
  Steps to Reproduce:
  
  1. Create a XFS partition.
  2. Create an entry in fstab such as:
  
  /dev/vdb1 /mnt xfs defaults,usrquota,grpquota 1 1
  
  3. Run and compare the output of the following commands on 10.04 LTS ,
  12.04 LTS and 12.10.
  
  $ sudo mount /mnt
  $ sudo mkdir -p /mnt/test
  $ sudo chown $USER:$GROUP /mnt/test
  $ sudo repquota /mnt
  $ sudo xfs_quota -x -c report /mnt
  
  This appears to be a regression.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1044516

Title:
  repquota not working correctly with xfs

Status in quota:
  Fix Released
Status in “quota” package in Ubuntu:
  In Progress
Status in “quota” source package in Precise:
  In Progress
Status in “quota” source package in Quantal:
  In Progress

Bug description:
  SRU Justification:
  [IMPACT]
   * When using quota on systems with XFS on precise/quantal only the root quota is reported.
   * This means that users of XFS cannot use repquota, as it does not return reliable results.

  [TESTCASE]
   * See bug below.

  [Regression Potential]
   * This patch only affects an XFS code path.
   * This patch is already part of quota 4.01-1. It would be important to test on XFS and non-XFS partitions to see if functionality is as expected.
   * This bug worked correctly in Lucid, and appears to be a regression in the upstream package between Lucid and Precise.

  --

  Description of the problem:

  The command 'repquota' is not working properly with an XFS file system
  on 12.04 and later. It only reports root's quota. The same command
  worked well with 10.04, and the other quota commands (xfs_quota) seem
  to work properly as well.

  Version affected: 12.04 LTS:

  ii quota 4.00-3 implementation of the disk quota system
  ii xfsprogs 3.1.7 Utilities for managing the XFS filesystem

  How reproducible is the problem? Always.

  Steps to Reproduce:

  1. Create a XFS partition.
  2. Create an entry in fstab such as:

  /dev/vdb1 /mnt xfs defaults,usrquota,grpquota 1 1

  3. Run and compare the output of the following commands on 10.04 LTS ,
  12.04 LTS and 12.10.

  $ sudo mount /mnt
  $ sudo mkdir -p /mnt/test
  $ sudo chown $USER:$GROUP /mnt/test
  $ sudo repquota /mnt
  $ sudo xfs_quota -x -c report /mnt

  This appears to be a regression.

To manage notifications about this bug go to:
https://bugs.launchpad.net/quota/+bug/1044516/+subscriptions



More information about the Ubuntu-sponsors mailing list