Message ID | 542189F6.1050406@RedHat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 09/23/2014 10:55 AM, Steve Dickson wrote: > So I guess at the end of the day... I want to break the 'Unknown' Wants rule... ;-) > By adding a dependency to gssproxy and by having nfs-server 'want' the gssproxy > service... Its the cleanest way... IMHO... As Simo just pointed out... nfs-utils does not need to require gssproxy to be installed... When its not installed, rpc.svcgssd will be started when it is, gssproxy will be started. steved. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -up f21/systemd/nfs-server.service.orig f21/systemd/nfs-server.service --- f21/systemd/nfs-server.service.orig 2014-09-23 10:38:39.572726403 -0400 +++ f21/systemd/nfs-server.service 2014-09-23 10:39:17.604412641 -0400 @@ -2,12 +2,13 @@ Description=NFS server and services Requires= network.target proc-fs-nfsd.mount rpcbind.target Requires= nfs-mountd.service -Wants=rpc-statd.service nfs-idmapd.service rpc-gssd.service rpc-svcgssd.service +Wants=rpc-statd.service nfs-idmapd.service +Wants=rpc-gssd.service gssproxy.service rpc-svcgssd.service Wants=rpc-statd-notify.service After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service After= nfs-idmapd.service rpc-statd.service -After= rpc-gssd.service rpc-svcgssd.service +After= rpc-gssd.service gssproxy.service rpc-svcgssd.service Before= rpc-statd-notify.service Wants=nfs-config.service