quota.postinst : Wrong quota detection in /etc/fstab

Bug #1271833 reported by Nec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quota (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Hi,

In /var/lib/dpkg/info/quota.postinst, in the "configure" case (line 126), quota usage detection is weakly searched.
This is done so :
fs=`awk '/quota/ {print $2}' /etc/fstab`;
assuming the only presence of the word "quota" is meaning one wants to activate quotas.

Some filesystems like GFS2 allow the following usage : "quota=off", in which case one doesn't want any quota related action when installing some other packages. (Some other are using the keyword usrquota. Well, YMMV...)

(I was bothered by some buggy postint apt quota actions when installing unison, which is completely unrelated.)

May I advice enhancing the quota usage detection in the quota.postinst in order to restrict it to the case one really want to activate it?

My setup :
- Ubuntu 12.04 LTS
- quota 4.00-3 implementation of the disk quota system
- Linux 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Regards.

Changed in quota (Ubuntu):
importance: Undecided → High
status: New → Confirmed
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.