quota returns nothing for NFS on 12.04

Bug #973663 reported by Dan Eicher
82
This bug affects 14 people
Affects Status Importance Assigned to Milestone
quota (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Fix Released
Medium
Unassigned

Bug Description

SRU Justification:
[IMPACT]
 * The latest quota does not return any values for NFS mounts. This was working properly in 10.04 and as broken in 12.04 and 12.10.

[TESTCASE]
 * Setup an NFS mount. Install quota. Run quota and observe the output. Example given in bug.

[Regression Potential]
 * This patch is already in upstream quota and debian quota 4.01-1.

--

1204Machine% lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

1204Machine% apt-cache policy quota
quota:
  Installed: 4.00-3
  Candidate: 4.00-3
  Version table:
 *** 4.00-3 0
        500 http://www.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Environment: LDAP+KERB+NFS Mounts with Quota's.

  On 10.04 Quota Returns Correct Values:
     1004Machine% quota

     Disk quotas for user user1 (uid 7222):
        Filesystem blocks quota limit grace files quota limit grace
       nfs01:/export/homes14/user1
                2019594 10485760 10485760 0 0 0

  On 12.04 Quota Returns Nothing:
     1204Machine% quota
     1204Macinee%

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: quota 4.00-3
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Wed Apr 4 14:48:18 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/local/bin/tcsh
SourcePackage: quota
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dan Eicher (dhe) wrote :
James Page (james-page)
Changed in quota (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in quota (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Kadmiel (michael-kadmiel) wrote :

Guys this is a real problem since Users Home directories are on centralized storage, sometimes applications or compilations fail due to quota limits. The enduser has no way of verifying prior to activity if there is enough space.

Revision history for this message
Steve Atwell (satwell) wrote :

I'm seeing this issue as well when trying to get user home directory quotas for NFS home directories.

Seems to be an upstream bug that's already been fixed. If I build quota 4.01-1 from Debian Sid on Precise, it works properly.

Revision history for this message
Steve Atwell (satwell) wrote :

And here's the upstream commit that fixes it:

http://linuxquota.git.sourceforge.net/git/gitweb.cgi?p=linuxquota/linuxquota;a=commit;h=8b6ce13e1b196cb9d0cc5b24dfc75c97a9eb883d

Patch applies cleanly 4.00-3 and resolves the NFS quota issue.

Can we please get this SRUed for Precise?

summary: - quota returns nothing on 12.04
+ quota returns nothing for NFS on 12.04
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "nfs_quota.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Chris J Arges (arges)
Changed in quota (Ubuntu Precise):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Chris J Arges (arges) wrote :

Formatted Steve's patch into a debdiff for precise. This builds on my machine.

Revision history for this message
Chris J Arges (arges) wrote :

Looks like this also affects quantal.

Chris J Arges (arges)
Changed in quota (Ubuntu Precise):
assignee: nobody → Chris J Arges (christopherarges)
Revision history for this message
Chris J Arges (arges) wrote :
Changed in quota (Ubuntu):
assignee: nobody → Chris J Arges (christopherarges)
Chris J Arges (arges)
description: updated
Chris J Arges (arges)
Changed in quota (Ubuntu):
status: Confirmed → In Progress
Changed in quota (Ubuntu Precise):
status: Confirmed → In Progress
Revision history for this message
Michael Terry (mterry) wrote :

Uploaded to quantal and precise-proposed.

Changed in quota (Ubuntu):
assignee: Chris J Arges (christopherarges) → nobody
Changed in quota (Ubuntu Precise):
assignee: Chris J Arges (christopherarges) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quota - 4.00-4ubuntu2

---------------
quota (4.00-4ubuntu2) quantal; urgency=low

  * debian/patches/quota_fix_nfs_reporting.diff:
    - Patch from upstream to fix reporting of NFS mountpoints. (LP: #973663)
      Thanks to Steve Atwell.
 -- Chris J Arges <email address hidden> Thu, 20 Sep 2012 12:23:26 -0500

Changed in quota (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote : Re: [Bug 973663] Re: quota returns nothing for NFS on 12.04

Thank you!

Ryan

Revision history for this message
Duncan White (d-white) wrote :

Is this patched package coming to precise any time soon? As the guts of the patch is a one line removal,
I've built a "4.00-3 with a patch" package for my own use, seems to work fine.

Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Dan, or anyone else affected,

Accepted quota into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/quota/4.00-3ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in quota (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Steve Atwell (satwell) wrote :

Tested quota 4.00-3ubuntu1 from precise-proposed. It's correctly reporting NFS quotas.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Dan Eicher (dhe) wrote :

Anyone know when the fix will be released for 12.04?

Revision history for this message
Steve Langasek (vorlon) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quota - 4.00-3ubuntu1

---------------
quota (4.00-3ubuntu1) precise-proposed; urgency=low

  * debian/patches/repquota_fix_xfs_reporting.diff:
    - Patch from upstream to fix repquota on xfs. (LP: #1044516)
  * debian/patches/quota_fix_nfs_reporting.diff:
    - Patch from upstream to fix quota on nfs. (LP: #973663)
 -- Chris J Arges <email address hidden> Mon, 17 Sep 2012 13:33:16 -0500

Changed in quota (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.