Package: nfs-ganesha
Version: 2.5.4-1
Severity: normal
Dear Maintainer,
* What led up to the situation?
When trying to add share using dbus-send:
dbus-send --print-reply --system --dest=org.ganesha.nfsd
/org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport
string:/dir string:"EXPORT(Path=/dir)"
ganesha fails with message in log:
05/02/2018 11:07:24 : epoch 5a783806 : ocata-ceph-node1 :
ganesha.nfsd-31119[dbus_heartbeat] unregister_fsal :FSAL :CRIT
:Unregister FSAL VFS with non-zero refcount=2
strace output when dbus-send command executed:
root@ocata-ceph-node1:~# strace -p 31661
strace: Process 31661 attached
futex(0x7f7c5aefd9d0, FUTEX_WAIT, 31933, NULL) = ?
+++ exited with 2 +++
Please note that i'm running debian stretch with ganesha packages
from sid:
ii nfs-ganesha 2.5.4-1
ii nfs-ganesha-ceph:amd64 2.5.4-1
ii nfs-ganesha-vfs:amd64 2.5.4-1
-- System Information:
Debian Release: 9.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=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.22-0+deb9u1
ii libblkid1 2.29.2-1
ii libc6 2.24-11+deb9u1
ii libcap2 1:2.25-1
ii libcomerr2 1.43.4-2
ii libdbus-1-3 1.10.22-0+deb9u1
ii libgssapi-krb5-2 1.15-1+deb9u1
ii libk5crypto3 1.15-1+deb9u1
ii libkrb5-3 1.15-1+deb9u1
ii libnfsidmap2 0.25-5.1
ii libntirpc1.5 1.5.3-1
ii libuuid1 2.29.2-1
ii libwbclient0 2:4.7.0+dfsg-2
ii nfs-common 1:1.3.4-2.1
ii rpcbind 0.2.3-0.6
nfs-ganesha recommends no packages.
nfs-ganesha suggests no packages.
-- Configuration Files:
/etc/ganesha/ganesha.conf changed:
EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 77;
# Exported path (mandatory)
Path = /srv/share;
# Pseudo Path (required for NFS v4)
Pseudo = /srv/share;
# Required for access (default is None)
# Could use CLIENT blocks instead
Access_Type = RW;
# Exporting FSAL
FSAL {
Name = VFS;
}
}
EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 79;
# Exported path (mandatory)
Path = /dir2;
# Pseudo Path (required for NFS v4)
Pseudo = /dir2;
# Required for access (default is None)
# Could use CLIENT blocks instead
Access_Type = RW;
# Exporting FSAL
FSAL {
Name = VFS;
}
}
-- no debconf information