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

Attachment: patch
Description: Binary data

Reply via email to