]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Import Debian patch 1:1.2.8-9.2 sid debian/1%1.2.8-9.2
authorAndreas Henriksson <andreas@fatal.se>
Thu, 11 Aug 2016 16:50:24 +0000 (18:50 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 12 Dec 2016 19:55:48 +0000 (19:55 +0000)
debian/changelog
debian/control
debian/patches/series
debian/patches/unbreak-blkmapd-rpc_pipefs-run.patch [new file with mode: 0644]
debian/patches/unbreak-gssd-rpc_pipefs-run.patch [new file with mode: 0644]

index 05a2ccea0f9b78e8c156211d51a8a801f9f486b6..51b9adb294874fe316b2dd2ba84906944b731d68 100644 (file)
@@ -1,3 +1,18 @@
+nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Really add keyutils as a dependency of nfs-common. (Closes: #830777)
+    - changelog entry included but actual change missed when partially
+      merging the ubuntu delta in previous NMU.
+  * Add debian/patches/unbreak-blkmapd-rpc_pipefs-run.patch (Closes: #828826)
+    - patch from Christoph Hellwig to unbreak blkmapd after move of
+      rpc_pipefs to /run.
+  * Add debian/patches/unbreak-gssd-rpc_pipefs-run.patch (Closes: #632141)
+    - similarly to blkmapd also unbreak gssd. Thanks to Christoph Hellwig
+      for pointing this out.
+
+ -- Andreas Henriksson <andreas@fatal.se>  Thu, 11 Aug 2016 18:50:24 +0200
+
 nfs-utils (1:1.2.8-9.1) unstable; urgency=medium
 
   Partial sync from ubuntu, included changes:
index f98ea5d2e753524c46f70b614837e8845b8d6bd2..aef1f0debb1f634085f4397e9c56e5862d1d654c 100644 (file)
@@ -32,7 +32,7 @@ Homepage: http://nfs.sourceforge.net/
 
 Package: nfs-common
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, rpcbind, adduser, ucf, lsb-base (>= 1.3-9ubuntu3), libtirpc1 (>= 0.2.4)
+Depends: ${shlibs:Depends}, ${misc:Depends}, rpcbind, adduser, ucf, lsb-base (>= 1.3-9ubuntu3), libtirpc1 (>= 0.2.4), keyutils
 Recommends: python
 Suggests: open-iscsi, watchdog
 Provides: nfs-client
index 2211877a44c676617e363257cd713b7de2c72017..235c8896aafca8b6060b8c5da14f97c0d78f1c23 100644 (file)
@@ -15,3 +15,5 @@
 25-systemd-daemon-paths.patch
 26-systemd-server-before-client.patch
 27-systemd-enable-with-systemctl-statd.patch
+unbreak-blkmapd-rpc_pipefs-run.patch
+unbreak-gssd-rpc_pipefs-run.patch
diff --git a/debian/patches/unbreak-blkmapd-rpc_pipefs-run.patch b/debian/patches/unbreak-blkmapd-rpc_pipefs-run.patch
new file mode 100644 (file)
index 0000000..2e73b81
--- /dev/null
@@ -0,0 +1,28 @@
+From: Christoph Hellwig <hch@lst.de>
+Subject: nfs-common: move of rpc_pipefs mountpoint to /run breaks blkmapd
+
+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).
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828826
+
+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;
+
diff --git a/debian/patches/unbreak-gssd-rpc_pipefs-run.patch b/debian/patches/unbreak-gssd-rpc_pipefs-run.patch
new file mode 100644 (file)
index 0000000..bdf273f
--- /dev/null
@@ -0,0 +1,19 @@
+From: Andreas Henriksson <andreas@fatal.se>
+Subject: move of rpc_pipefs mountpoint to /run breaks gssd
+
+This is a followup patch for gssd also needing to know about the new
+rpc_pipefs location, as mentioned in https://bugs.debian.org/828826
+
+Bug-Debian: https://bugs.debian.org/632141
+
+--- a/utils/gssd/gssd.h
++++ b/utils/gssd/gssd.h
+@@ -38,7 +38,7 @@
+ #define MAX_FILE_NAMELEN      32
+ #define FD_ALLOC_BLOCK                256
+ #ifndef GSSD_PIPEFS_DIR
+-#define GSSD_PIPEFS_DIR               "/var/lib/nfs/rpc_pipefs"
++#define GSSD_PIPEFS_DIR               "/run/rpc_pipefs"
+ #endif
+ #define INFO                  "info"
+ #define KRB5                  "krb5"