[Pkg-sysvinit-devel] Bug#454468: gfs2 is a network filesystem

Guido Guenther agx at sigxcpu.org
Wed Dec 5 13:09:59 UTC 2007


Package: initscripts
Version: 2.86.ds1-38.1
Severity: minor
Tags: patch

Hi,
we should treat GFS2 as GFS in mountall.sh:

diff --git a/debian/initscripts/etc/init.d/mountall.sh b/debian/initscripts/etc/init.d/mountall.sh
index a2b2210..c4660f7 100644
--- a/debian/initscripts/etc/init.d/mountall.sh
+++ b/debian/initscripts/etc/init.d/mountall.sh
@@ -22,7 +22,7 @@ do_start() {
 	# Mount local file systems in /etc/fstab.
 	#
 	mount_all_local() {
-	    mount -a -t nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs \
+	    mount -a -t nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,gfs2 \
 		-O no_netdev
 	}
 	pre_mountall

I've not added it to the list of filesystems in (u)mountnfs since:
a) we don't have a GFS2 tools in debian yet
b) gfs2-tools will probably ship with it's own mounting script (Redhat
and Ubuntu do so), but maybe we can skip this and handle it as the other
network filesystms?

Nevertheless we shouldn't try to mount GFS2 fileystems as local, so the
above part should be applied.
Cheers,
 -- Guido


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-rc3-g3870d12b
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  debianutils                2.28          Miscellaneous utilities specific t
ii  e2fsprogs                  1.40.2-1      ext2 file system utilities and lib
ii  libc6                      2.7-1         GNU C Library: Shared libraries
ii  lsb-base                   3.1-24        Linux Standard Base 3.1 init scrip
ii  mount                      2.13-12       Tools for mounting and manipulatin
ii  sysvinit-utils             2.86.ds1-38.1 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.5-1     Utilities that use the proc filesy

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list