[Debian-ha-maintainers] Bug#640675: heartbeat: OCF Filesystem agent stops on fsck for ext4

Albéric de Pertat alberic.depertat at adelux.fr
Tue Sep 6 13:38:22 UTC 2011


Package: cluster-agents
Version: 1.0.3-3.1
Severity: important
Tags: squeeze sid patch

When starting a filesystem resource, the Filesystem agent performs an
fsck check, except when the filesystem type is in a hardcoded list of
filesystems that will never be checkd for errors. The ext3 filesystem is
present in this list but neither ext4 nor ext4dev are, which causes the
agent to fail starting the resource when the filesystem mount limit is
reached.

This insidious time bomb is fixed upstream starting with
cluster-agents-1.0.4.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
--- a/heartbeat/Filesystem
+++ b/heartbeat/Filesystem
@@ -432,7 +432,7 @@
 
 		if
 		  case $FSTYPE in
-		    ext3|reiserfs|reiser4|nss|xfs|jfs|vfat|fat|nfs|cifs|smbfs|ocfs2|gfs2|none|lustre)	false;;
+		    ext4|ext4dev|ext3|reiserfs|reiser4|nss|xfs|jfs|vfat|fat|nfs|cifs|smbfs|ocfs2|gfs2|none|lustre)	false;;
 		    *)									true;;
 		  esac
 		then


More information about the Debian-ha-maintainers mailing list