[systemd-devel] Running system services required for certain filesystems

Lennart Poettering lennart at poettering.net
Wed Jan 28 16:48:39 PST 2015


On Mon, 12.01.15 10:37, Colin Guthrie (gmane at colin.guthr.ie) wrote:

> Hi,
> 
> On a related note to my previous message (subject "systemctl status not
> showing still running processes in inactive .mount unit cgroups (NFS
> specifically)"), when mount.nfs runs to mount NFS filesystems, it shells
> out to /usr/sbin/start-statd which in turn calls sytemctl to start
> rpc.statd service. This feels ugly.

I think the right answer for all this complexity is to add proper
socket activation to the various daemons NFS needs. Then the ordering
problems go away, and the services are automatically started when they
are needed, but not before. 

inetd back in the day had socket activation for RPC services, maybe we
should reintroduce that concept back to systemd?

(I didn't follow the details of this thread, my NFS-fu is a bit too
limited. If there's anything unresolved I am supposed to say something
about, please let me know.)

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list