Red Hat Bugzilla – Bug 607103
NFSv4 & rpcgssd fails when run as service; works properly when run in foreground
Last modified: 2010-10-15 10:58:08 EDT
Created attachment 426201 [details]
Failure as service
Description of problem:
Note that this only occurs on my i686 machines, not my x86_64 machines.
The rpcgssd service starts normally and is visibly running (ps ax|grep rpc shows (rpc.gssd -vvv"). However, on the i686 machines, the user is not able to access nfs4 mounts with sec=krb5p as the the server's nfs/<host> service ticket is not propagated to the user's credential cache.
This occurs with "regular" nfs4 mounts from the command line, from fstab at boot or from autofs.
I've attached a success and failure log.
Created attachment 426202 [details]
Success in the foreground
I found this link:
which suggested doing "semanage boolean -1 allow_gssd_read_tmp".
That seems to work. Sorry about the report --my x86_64 machines were running in permissive mode at the time while the i686 ones were enforcing.
However, It still doesn't make sense that rpc.gssd worked in the foreground in enforcing mode with that boolean set to false??
> However, It still doesn't make sense that rpc.gssd worked in the foreground in
> enforcing mode with that boolean set to false??
Well alot of the SElinux-izms don't make sense, IMHO... ;-)
I'm going got ahead a close this, please feel free to reopen