https://bugzilla.novell.com/show_bug.cgi?id=626516 https://bugzilla.novell.com/show_bug.cgi?id=626516#c8 --- Comment #8 from Leonardo Chiquitto <lchiquitto@novell.com> 2011-02-22 14:08:09 UTC ---
No it is not. You may use rc_active provided by /etc/rc.status
Ah, thanks for the suggestion. What about: --- /etc/init.d/nfs.orig 2011-02-22 09:43:37.321631459 -0300 +++ /etc/init.d/nfs 2011-02-22 11:01:25.546466428 -0300 @@ -38,9 +38,16 @@ state=0 usr="" opt="" mnt="" -nfs=$NFS_START_SERVICES -if [ "x$nfs" != "xyes" ] -then nfs=no +nfs=no + +if rc_active autofs; then + AUTOFS_ACTIVE=yes +fi + +if test "x$NFS_START_SERVICES" = "xyes" -o "x$AUTOFS_ACTIVE" = "xyes"; then + NEED_IDMAPD=yes + NEED_GSSD=yes + nfs=yes fi while read what where type options rest ; do
... beside this /etc/init.d/autofs uses gssd in Should-Start but there is no service with this name.
Thanks. Fixed in OBS' filesystems/autofs project. -- 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.