https://bugzilla.novell.com/show_bug.cgi?id=626516 https://bugzilla.novell.com/show_bug.cgi?id=626516#c6 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |nfbrown@novell.com Summary|idmapd/sm-notify is |idmapd/sm-notify/gssd is |disabled in automounter |disabled in automounter |environment if fstab does |environment if fstab does |not have any nfs entries |not have any nfs entries --- Comment #6 from Leonardo Chiquitto <lchiquitto@novell.com> 2011-02-22 13:30:51 UTC --- I've been thinking about this issue and, so far, the only option I could think of is something like this: --- /etc/init.d/nfs.orig 2011-02-22 09:43:37.321631459 -0300 +++ /etc/init.d/nfs 2011-02-22 10:22:01.900799992 -0300 @@ -38,9 +38,14 @@ state=0 usr="" opt="" mnt="" -nfs=$NFS_START_SERVICES -if [ "x$nfs" != "xyes" ] -then nfs=no +nfs=no + +AUTOFS_STATUS=`chkconfig autofs | awk '{print $2}'` + +if [ "x$NFS_START_SERVICES" = "xyes" -o "x$AUTOFS_STATUS" = "xon" ]; then + NEED_IDMAPD=yes + NEED_GSSD=yes + nfs=yes fi while read what where type options rest ; do It works, but is a bit ugly. Neil, would that be acceptable? Werner, is it reasonable for an init script to call chkconfig? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.