You are not logged in.

#1 2011-09-30 01:16:19

maximax
Member
Registered: 2011-09-29
Posts: 7

nfs-utils and systemd

/etc/rc.d/nfs-common
script, which is part of nfs-utils package doesn't work well with systemd.

Specifically, the line

  ck_daemon rpcbind && { echo -n "Start rpcbind first." >&2; stat_die; }

breaks functionality of nfs-common.service unit since systemd does not start rpcbind through /etc/rc.d/rpcbind and thus does not put the file ck_daemon checks for into /var/run/daemons.

As a consequence NFS services won't start when enabled through systemd units.

I don't know if the community/packager cares about systemd in this context but I thought I'd report this behaviour.
It is easily fixed by commenting out the line but maybe there is a more "integrated" solution.
Maybe changing the unit file of rpcbind is easiest, i dunno.

Offline

#2 2011-09-30 01:50:14

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: nfs-utils and systemd

I've been sitting on a pull request that I'm too lazy to test and merge. Feel free to give it a run.

https://github.com/falconindy/systemd-a … ts/pull/63

Offline

Board footer

Powered by FluxBB