Bug#828826: nfs-common: move of rpc_pipefs mountpoint to /run breaks blkmapd
Package: nfs-common
Version: 1:1.2.8-9
Severity: important
Tags: patch
Dear Maintainer,
commit ba649fa4 ("Migrate the rpc_pipefs mount out of /var/lib to /run, to
better support /var on NFS.") in the Debian packaging repo completely
broke blkmapd, which still looks for rpc_pipefs in the old place.
>From looking in the BTS gssd also seems to have the same problem (#632141).
diff --git a/utils/blkmapd/device-discovery.c b/utils/blkmapd/device-discovery.c
index 69f00fa..7b00c90 100644
--- a/utils/blkmapd/device-discovery.c
+++ b/utils/blkmapd/device-discovery.c
@@ -55,9 +55,9 @@
#define EVENT_SIZE (sizeof(struct inotify_event))
#define EVENT_BUFSIZE (1024 * EVENT_SIZE)
-#define BL_PIPE_FILE "/var/lib/nfs/rpc_pipefs/nfs/blocklayout"
-#define NFSPIPE_DIR "/var/lib/nfs/rpc_pipefs/nfs"
-#define RPCPIPE_DIR "/var/lib/nfs/rpc_pipefs"
+#define BL_PIPE_FILE "/run/rpc_pipefs/nfs/blocklayout"
+#define NFSPIPE_DIR "/run/rpc_pipefs/nfs"
+#define RPCPIPE_DIR "/run/rpc_pipefs"
#define PID_FILE "/run/blkmapd.pid"
struct bl_disk *visible_disk_list;
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 46956 status
100024 1 tcp 40643 status
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /run/rpc_pipefs
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
-- System Information:
Debian Release: 8.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages nfs-common depends on:
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-59
ii libc6 2.19-18+deb8u4
ii libcap2 1:2.24-8
ii libcomerr2 1.42.12-1.1
ii libdevmapper1.02.1 2:1.02.90-2.2+deb8u1
ii libevent-2.0-5 2.0.21-stable-2
ii libgssapi-krb5-2 1.12.1+dfsg-19+deb8u2
ii libk5crypto3 1.12.1+dfsg-19+deb8u2
ii libkeyutils1 1.5.9-5+b1
ii libkrb5-3 1.12.1+dfsg-19+deb8u2
ii libmount1 2.25.2-6
ii libnfsidmap2 0.25-5
ii libtirpc1 0.2.5-1
ii libwrap0 7.6.q-25
ii lsb-base 4.1+Debian13+nmu1
ii rpcbind 0.2.1-6+deb8u1
ii ucf 3.0030
Versions of packages nfs-common recommends:
ii python 2.7.9-1
Versions of packages nfs-common suggests:
pn open-iscsi <none>
pn watchdog <none>
-- debconf-show failed
Reply to: