quota only displays the first automounted file-system

Bug #286108 reported by matthias
2
Affects Status Importance Assigned to Milestone
quota (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi Everybody!

I have a gutsy (2.6.22-15-server kernel) installation where the
home-directories are imported by the automounter over nfs from our
server (user information is pulled via ldap from the same server). Quota
displays the actual quotas correctly. However, only the first entry in
/etc/mtab is shown. This leads to a situation where correct output is
only generated if only one user is logged in.

In my setup the error is not very severe since the /home quotas on the
server are defined for the whole /home volume (and not for each user
separately), so user2 will see this output:

Disk quotas for user user2 (uid 1002):
    Filesystem blocks quota limit grace files quota limit grace
server:/home/user1
               6725016 15000000 15500000 57564 0 0

...which is the correct quota for user2 but it is slightly misleading
for my users as not their own home directory is mentioned in the output
but only the directory of the fist user who logged into the machine (and
hence created the first entry in /etc/mtab). In my two user example I
would expect this output:

Disk quotas for user user2 (uid 1002):
    Filesystem blocks quota limit grace files quota limit grace
server:/home/user1
               6725016 15000000 15500000 57564 0 0
server:/home/user2
               6725016 15000000 15500000 57564 0 0

quota -v gives exactly the same result.

It used to work in our old dapper installation, but is broken since then (my bug report against feisty was never looked at and closed when support for feisty ended).

Cheers,
Matthias

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.