[Pkg-sysvinit-devel] Bug#746587: Acknowledgement (Use systemd built-in mechanisms for mounting remote file systems like NFS during early boot)

Michael Biebl biebl at debian.org
Fri Jun 6 11:05:09 UTC 2014


tags 746587 + pending
thanks

I've uploaded a fix for unstable and experimental to DELAYED/1.
Debdiffs are attached.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
diff -Nru sysvinit-2.88dsf/debian/changelog sysvinit-2.88dsf/debian/changelog
--- sysvinit-2.88dsf/debian/changelog	2014-04-07 11:26:50.000000000 +0200
+++ sysvinit-2.88dsf/debian/changelog	2014-06-06 12:56:55.000000000 +0200
@@ -1,3 +1,15 @@
+sysvinit (2.88dsf-53.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Skip the mountnfs hook when being triggered by the networking SysV init
+    script and instead use the systemd built-in mechanisms to mount remote
+    file systems.
+    This avoids a deadlock caused by the rpcbind SysV init script depending
+    on $network and the $network LSB facility being provided by the networking
+    SysV init script. (Closes: #746587)
+
+ -- Michael Biebl <biebl at debian.org>  Fri, 06 Jun 2014 12:56:54 +0200
+
 sysvinit (2.88dsf-53) unstable; urgency=medium
 
   [ Gabriele Giacone ]
diff -Nru sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs
--- sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs	2014-01-27 22:21:13.000000000 +0100
+++ sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs	2014-06-06 12:56:45.000000000 +0200
@@ -7,6 +7,16 @@
 #                    Also mounts SMB filesystems now, so the name of
 #                    this script is getting increasingly inaccurate.
 
+# Skip the mountnfs hook when being triggered by the networking SysV init
+# script and instead use the systemd built-in mechanisms to mount remote
+# file systems.
+# This avoids a deadlock caused by the rpcbind SysV init script depending
+# on $network and the $network LSB facility being provided by the networking
+# SysV init script.
+if [ -d /run/systemd/system ]; then
+↦      systemctl list-jobs | grep -q network.target && exit 0
+fi
+
 PATH=/sbin:/bin
 . /lib/init/vars.sh
 
-------------- next part --------------
diff -Nru sysvinit-2.88dsf/debian/changelog sysvinit-2.88dsf/debian/changelog
--- sysvinit-2.88dsf/debian/changelog	2014-04-21 10:12:05.000000000 +0200
+++ sysvinit-2.88dsf/debian/changelog	2014-06-06 12:59:10.000000000 +0200
@@ -1,3 +1,15 @@
+sysvinit (2.88dsf-55.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Skip the mountnfs hook when being triggered by the networking SysV init
+    script and instead use the systemd built-in mechanisms to mount remote
+    file systems.
+    This avoids a deadlock caused by the rpcbind SysV init script depending
+    on $network and the $network LSB facility being provided by the networking
+    SysV init script. (Closes: #746587)
+
+ -- Michael Biebl <biebl at debian.org>  Fri, 06 Jun 2014 12:59:06 +0200
+
 sysvinit (2.88dsf-55) experimental; urgency=medium
 
   [ Gabriele Giacone ]
diff -Nru sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs
--- sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs	2014-01-27 22:21:13.000000000 +0100
+++ sysvinit-2.88dsf/debian/src/initscripts/etc/network/if-up.d/mountnfs	2014-06-06 12:58:42.000000000 +0200
@@ -7,6 +7,16 @@
 #                    Also mounts SMB filesystems now, so the name of
 #                    this script is getting increasingly inaccurate.
 
+# Skip the mountnfs hook when being triggered by the networking SysV init
+# script and instead use the systemd built-in mechanisms to mount remote
+# file systems.
+# This avoids a deadlock caused by the rpcbind SysV init script depending
+# on $network and the $network LSB facility being provided by the networking
+# SysV init script.
+if [ -d /run/systemd/system ]; then
+↦      systemctl list-jobs | grep -q network.target && exit 0
+fi
+
 PATH=/sbin:/bin
 . /lib/init/vars.sh
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20140606/f4b646af/attachment.sig>


More information about the Pkg-sysvinit-devel mailing list