https://bugzilla.novell.com/show_bug.cgi?id=833099 https://bugzilla.novell.com/show_bug.cgi?id=833099#c8 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fcrozat@suse.com | --- Comment #8 from Frederic Crozat <fcrozat@suse.com> 2013-09-05 08:10:26 UTC --- (In reply to comment #6)
I don't think the files from fedora make any useful difference.
rpcbind.service MUST trigger rpcbind.target, otherwise systemd won't be able to properly map Requires-Start dependency on $portmap.
The problem seems to be that "Required-Start" in /etc/init.d/nfs is interpreted by systemd to mean "Before" which is independent from "Requires".
This is true, but if rpcbind.service isn't pulled by a dependency on rpcbind.target, it won't work either. This is one part of the problem.
i.e. I can see no way to specify in /etc/init.d/nfs that rpcbind *must* be started first, only that if it is being started, that must happen before NFS is started.
So I cannot see any way to get "systemctl start nfs.service" to first start rpcbind, except by creating a real systemd nfs.service file.
I agree with you. And it was exactly the same in the sysvinit age : running manually one initscript was never pulling its dependencies. Therefore, nfs initscript should be ported to systemd service.
Mind you, "chkconfig -a nfs" doesn't automatically add "rpcbind", so maybe this is correct behaviour.
I'm not 100% sure chkconfig will enable all initscripts when used under systemd. -- 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.