/etc/init.d/quota script does not work with heartbeat if only usrquota is set

Bug #861346 reported by Peter Parzer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quota (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

System configuration:
Ubuntu 10.04.3 LTS x86_64
quota 3.17-6
heartbeat 1:3.0.3-1ubuntu1
The active heartbeat node has the DRBD partition mounted with the options acl,usrquota

Problem 1: /etc/init.d/quota script does not correctly report the status as required by heartbeat.

On the active node:
# quotaon -ap
group quota on /srv (/dev/drbd0) is off
user quota on /srv (/dev/drbd0) is on
# /etc/init.d/quota status
 * quota is off

On the inactive node:
# quotaon -ap
# /etc/init.d/quota status
 * quota is on

Problem 2: When quota is already enabled, "/etc/init.d/quota start" does not recognize this and runs quotacheck again resulting in errors. Heatbeat requires that starting an already running resource does not produce an error.

As a consequence of this, if the inactive node goes down, heartbeat on the active node verifies that it has the resources. But this fails with quota because of the bugs in /etc/init.d/quota. Therefore the active node goes also down.

Peter

affects: ubuntu → quota (Ubuntu)
Robie Basak (racb)
Changed in quota (Ubuntu):
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
quota (4.00-3) unstable; urgency=low

  * Port to libnl3 version 3.2.3+.
    Thanks to Mathieu Trudel-Lapierre <email address hidden> (Closes: #653096)
  * Fixed query for quota status. (LP: #861346)

quota (4.00-2) unstable; urgency=low

  * Updated Dutch debconf translation. (Closes: #652351)
  * Suggest installing an MTA so warnquota can send out emails.
    (Closes: #645250)
  * When checking for quota enabled filesystems also check for not-enforced
    quota on XFS. (Closes: #648961)
 -- Mathieu Trudel-Lapierre <email address hidden> Tue, 03 Jan 2012 15:18:39 +0000

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