[Bug 1271833] [NEW] quota.postinst : Wrong quota detection in /etc/fstab
Nec
1271833 at bugs.launchpad.net
Thu Jan 23 07:53:59 UTC 2014
Public bug reported:
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.
** Affects: quota (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to quota in Ubuntu.
https://bugs.launchpad.net/bugs/1271833
Title:
quota.postinst : Wrong quota detection in /etc/fstab
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quota/+bug/1271833/+subscriptions
More information about the Ubuntu-server-bugs
mailing list