[Bug 861346] [NEW] /etc/init.d/quota script does not work with heartbeat if only usrquota is set

Launchpad Bug Tracker 861346 at bugs.launchpad.net
Mon Oct 3 15:28:47 UTC 2011


You have been subscribed to a public bug:

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: quota (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/init.d/quota script does not work with heartbeat if only usrquota is set
https://bugs.launchpad.net/bugs/861346
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to quota in Ubuntu.



More information about the Ubuntu-server-bugs mailing list