From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 Description of problem: the netfs init script from initscripts starts gfs filesystems. This causes 2 problems. 1. If you don't want to start GFS then you can't have other network filesystems 2. It does not stop GFS filesystems so you still need the gfs script. I think the bug belongs in initscripts but it only becomes a bug if you use GFS so I am entering it here. Version-Release number of selected component (if applicable): GFS-6.0.0-15 How reproducible: Always Steps to Reproduce: 1. Add this to /etc/fstab /dev/pool/storage00 /mnt/gfs1 gfs defaults 0 0 2. reboot or run service netfs start 3. Actual Results: netfs mounts gfs filesystems Expected Results: netfs should ignore gfs filesystems and leave them for the gfs script. Additional info: My quick fix: perl -pi -e "s|nonfs,smbfs,ncpfs$|nonfs,smbfs,ncpfs,gfs|" /etc/rc.d/init.d/netfs A better solution would have a config file for netfs which gfs can update if/when it is required (ie when you install the GFS rpm).
Not the init script maintainer.
> A better solution would have a config file for netfs which gfs can > update if/when it is required (ie when you install the GFS rpm). Do you mean like /etc/fstab? If you don't want GFS to get mounted by the initscripts, you can specify "noauto" as a filesystem option in /etc/fstab. You are correct that netfs is mounting too many filesystems. I thought that netfs had been updated to ignore gfs filesystems (it should have been updated).
Applying the following patch (as jn it.swin.edu.au pointed out) ought to resolve the issue: diff -u init.d.orig/netfs init.d/netfs --- init.d.orig/netfs 2004-11-23 16:41:35.000000000 -0600 +++ init.d/netfs 2004-11-23 16:40:55.000000000 -0600 @@ -38,7 +38,7 @@ [ -n "$SMBFSTAB" ] && action $"Mounting SMB filesystems: " mount -a -t smbfs [ -n "$NCPFSTAB" ] && action $"Mounting NCP filesystems: " mount -a -t ncpfs touch /var/lock/subsys/netfs - action $"Mounting other filesystems: " mount -a -t nonfs,smbfs,ncpfs + action $"Mounting other filesystems: " mount -a -t nonfs,smbfs,ncpfs,gfs ;; stop) # Unmount loopback stuff first
Created attachment 107352 [details] disable gfs in init.d/netfs
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-123.html