[Pkg-sysvinit-devel] Bug#416223: NFS V4 GSS/KRB5 Volumes not
mounted during boot because gssd won't start
Joachim Keltsch
joachim at keltsch.net
Mon Mar 26 01:11:31 CET 2007
Package: initscripts
Version: 2.86.ds1-38
Problem:
========
On boot, NFS V4 mount points with KRB5 security won't be mounted,
because rpc.gssd won't be started. A typo
in /etc/network/if-up.d/mountnfs prevents the start of gssd.
There is a check whether krb5, krb5i, or krb5p options are present
in
the mount options string. krb5 will be detectet if the only
option, if placed at the very beginning of the string, or if
placed at the end of the string. It will not be detected if it is
in the middle of the
options string.
This is clearly a typo, since the check whether krb5i is in the
middle
of the line takes place twice. Workaround below, patch attached.
Regards
Joachim
Workaround:
===========
put the krb5 mount option at the beginning or the end of the
mount
options in /etc/fstab, but not in the middle.
Examples:
this will work fine:
/etc/fstab: calvin:/ /mnt/calvin nfs4 sec=krb5,rw,bg,auto
this won't work:
/etc/fstab: calvin:/ /mnt/calvin nfs4 rw,sec=krb5,bg,auto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 535 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20070325/903555b0/patch.obj
More information about the Pkg-sysvinit-devel
mailing list