Package: nfs-ganesha
Version: 2.4.4-2
Severity: normal

Dear Maintainer,

The systemd service file for nfs-ganesha containts the following line:

ExecReload=/bin/dbus-send --system   --dest=org.ganesha.nfsd --type=method_call 
/org/ganesha/nfsd/admin org.ganesha.nfsd.admin.reload

Before testing what is described in this bug I have already created a
symbolic link at /bin/dbus-send pointing to /usr/bin/dbus-send, since
this problem of wrong paths to the dbus-send executable is a separate
issue.

Unfortunately systemctl daemon-reload does not reload the configuration
of nfs-ganesha because ganesha seems to no longer provide
org.ganesha.nfsd.admin.reload .

It looks like this problem exists upstream as well, because in commit
5cd4abd6c738bb88ed80793ab2734902e270f25c [1]
this functionality was removed but the documentation (in the wiki at
[2]) and the service file provided by upstream were not modified
accordingly.

However sending a SIGHUP signal to ganesha.nfsd [3] gives the expected
result of nfs-ganesha reloading it's config.

[1] 
https://github.com/nfs-ganesha/nfs-ganesha/commit/5cd4abd6c738bb88ed80793ab2734902e270f25c
[2] https://github.com/nfs-ganesha/nfs-ganesha/wiki/Dbusinterface
[3] 
https://github.com/nfs-ganesha/nfs-ganesha/blob/next/src/MainNFSD/nfs_init.c#L197

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nfs-ganesha depends on:
ii  daemon            0.6.4-1+b2
ii  dbus              1.10.16-1
ii  libblkid1         2.29.1-1
ii  libc6             2.24-9
ii  libcap2           1:2.25-1
ii  libcomerr2        1.43.4-2
ii  libdbus-1-3       1.10.16-1
ii  libgssapi-krb5-2  1.15-1
ii  libk5crypto3      1.15-1
ii  libkrb5-3         1.15-1
ii  libnfsidmap2      0.25-5.1
ii  libntirpc1.4      1.4.3-2
ii  libuuid1          2.29.1-1
ii  libwbclient0      2:4.5.6+dfsg-1
ii  nfs-common        1:1.3.4-2.1
ii  rpcbind           0.2.3-0.5+b1

nfs-ganesha recommends no packages.

nfs-ganesha suggests no packages.

-- no debconf information

Reply via email to