Your message dated Sat, 07 Jun 2014 11:19:20 +0000
with message-id <e1wteee-0002s3...@franck.debian.org>
and subject line Bug#746587: fixed in sysvinit 2.88dsf-53.1
has caused the Debian Bug report #746587,
regarding Use systemd built-in mechanisms for mounting remote file systems like
NFS during early boot
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
746587: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746587
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: initscripts
Version: 2.88dsf-53
Severity: important
File: /etc/network/if-up.d/mountnfs
Tags: patch
The /etc/init.d/networking SysV init script provides the $network LSB facility
which is mapped to network.target in systemd.
This SysV init script is run during early boot (rcS) and calls the mountnfs
if-up.d hook which in turn calls /etc/init.d/rpcbind start.
The rpcbind SysV init script though depends on $network itself. This leads
to a dependency loop.
Under systemd, where those dependencies are evaluated during runtime this
results in a dead lock.
Since systemd has builtin support for mounting remote files systems, we
simply skip this hook during early.
Eventually, we should make rpcbind socket activate to break this
dependency loop, but for now this workaround will do.
As this currently breaks setups where systemd is used in combination
with NFS, we would appreciate if you can apply the attached patch in
your next upload as soon as possible.
Cheers,
Michael
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initscripts depends on:
ii coreutils 8.21-1.2
ii debianutils 4.4
ii libc6 2.18-5
ii lsb-base 4.1+Debian12
ii mount 2.20.1-5.7
ii sysv-rc 2.88dsf-53
ii sysvinit-utils 2.88dsf-53
Versions of packages initscripts recommends:
ii e2fsprogs 1.42.9-3
ii psmisc 22.21-2
initscripts suggests no packages.
-- Configuration Files:
/etc/default/tmpfs changed [not included]
/etc/network/if-up.d/mountnfs changed [not included]
-- no debconf information
>From e62993a7c2ba302cbd8322a6633e3ebc9fb9b09e Mon Sep 17 00:00:00 2001
From: Michael Biebl <bi...@debian.org>
Date: Thu, 1 May 2014 19:23:05 +0200
Subject: [PATCH] Use systemd built-in mechanisms for mounting remote file
systems like NFS during early boot
The /etc/init.d/networking SysV init script provides the $network LSB
facility which is mapped to network.target in systemd.
This SysV init script is run during early boot (rcS) and calls the
mountnfs if-up.d hook which in turn calls /etc/init.d/rpcbind start.
The rpcbind SysV init script though depends on $network itself. This
leads to a dependency loop.
Under systemd, where those dependencies are evaluated during runtime
this results in a dead lock.
Since systemd has builtin support for mounting remote files systems, we
simply skip this hook during early.
---
debian/src/initscripts/etc/network/if-up.d/mountnfs | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/src/initscripts/etc/network/if-up.d/mountnfs b/debian/src/initscripts/etc/network/if-up.d/mountnfs
index ebefee9..fd4bcde 100644
--- a/debian/src/initscripts/etc/network/if-up.d/mountnfs
+++ b/debian/src/initscripts/etc/network/if-up.d/mountnfs
@@ -7,6 +7,13 @@
# Also mounts SMB filesystems now, so the name of
# this script is getting increasingly inaccurate.
+
+# If systemd is active, rely on the systemd built-in mechanisms to
+# mount remote file systems during early boot
+if [ -d /run/systemd/system ] ; then
+ systemctl --quiet is-active network.target || exit 0
+fi
+
PATH=/sbin:/bin
. /lib/init/vars.sh
--
2.0.0.rc0
--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 2.88dsf-53.1
We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 746...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <bi...@debian.org> (supplier of updated sysvinit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 06 Jun 2014 12:56:54 +0200
Source: sysvinit
Binary: sysvinit sysvinit-core sysvinit-utils sysv-rc initscripts bootlogd
Architecture: source amd64 all
Version: 2.88dsf-53.1
Distribution: unstable
Urgency: medium
Maintainer: Debian sysvinit maintainers
<pkg-sysvinit-de...@lists.alioth.debian.org>
Changed-By: Michael Biebl <bi...@debian.org>
Description:
bootlogd - daemon to log boot messages
initscripts - scripts for initializing and shutting down the system
sysv-rc - System-V-like runlevel change mechanism
sysvinit - System-V-like init utilities - metapackage
sysvinit-core - System-V-like init utilities
sysvinit-utils - System-V-like utilities
Closes: 746587
Changes:
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)
Checksums-Sha1:
ef00e2e4af6e84f327769de09e691e2d434efec9 2470 sysvinit_2.88dsf-53.1.dsc
bc2314c4c2745f3a5977240ab282d6fd519116e6 148928
sysvinit_2.88dsf-53.1.debian.tar.xz
01b726b14bc7b7a97e17a3cb78268bc727f85ec7 82348 sysvinit_2.88dsf-53.1_amd64.deb
6ba8ba63d21a795fe8ce63cdc568af9157b061d4 129588
sysvinit-core_2.88dsf-53.1_amd64.deb
42634e5cc8a51bdbd33a421e46e88926552ecb22 82358
sysvinit-utils_2.88dsf-53.1_amd64.deb
7679b5e177a9a5a83c381653d8ee0d5aedfb9ec0 81290 sysv-rc_2.88dsf-53.1_all.deb
b31d2e3cae7b915d823273503c8f8a37509bd5f4 85586
initscripts_2.88dsf-53.1_amd64.deb
4e922b7eee78f98482e45622a936a978060b0479 57506 bootlogd_2.88dsf-53.1_amd64.deb
Checksums-Sha256:
4a8bf44aec7f3f8d795ff0df14710135d3149d64c877dfe8edeea634de008bbf 2470
sysvinit_2.88dsf-53.1.dsc
23811956429d426b0d6e104255d3a99cab377ba329670bdc0f4e17288fa3d292 148928
sysvinit_2.88dsf-53.1.debian.tar.xz
ef19b1fa911198df19bf596546936f9d09491589ea638444ea1c0cf722ba61c7 82348
sysvinit_2.88dsf-53.1_amd64.deb
2a0c32c719f4f5cb735e4a920c3974f40e038ebe9f8ba2f4962de52bb3ad9269 129588
sysvinit-core_2.88dsf-53.1_amd64.deb
965e080441e3ad83a59b5988b3677d38d6d68ae3a80f16eb4cfce80a717bf579 82358
sysvinit-utils_2.88dsf-53.1_amd64.deb
a6c26080014c3cf2ce341ccce8d5dd21e348fb6f4e514d7e2d766cfa2bacd4bf 81290
sysv-rc_2.88dsf-53.1_all.deb
6b97f8c645b2f067a30dc253adce3444f416d7686d17773cb4603452ecc0f177 85586
initscripts_2.88dsf-53.1_amd64.deb
81cf4baaaa239c0ea1472c2ffa6569eb38c2877dae6babc0e4ba4e1e0ad1fb84 57506
bootlogd_2.88dsf-53.1_amd64.deb
Files:
662dea64a3ee0d6ee4c9923ec3d4e855 82348 admin required
sysvinit_2.88dsf-53.1_amd64.deb
ef0de74c88b53e897a62a6e4979bca79 129588 admin required
sysvinit-core_2.88dsf-53.1_amd64.deb
22f7bf139121e00e02f514b555b74c4b 82358 admin required
sysvinit-utils_2.88dsf-53.1_amd64.deb
f4f60c6c5cfd4a6ab7fcf62de147fa33 81290 admin required
sysv-rc_2.88dsf-53.1_all.deb
faa82c252249be6d3da9a8db0c1f7412 85586 admin required
initscripts_2.88dsf-53.1_amd64.deb
961696024c83f6ead88ef00cd740ea6b 57506 admin optional
bootlogd_2.88dsf-53.1_amd64.deb
533f2c4744f5cee02b991e8430628db4 2470 admin required sysvinit_2.88dsf-53.1.dsc
24aa1148fd01cab063af70425d52b05c 148928 admin required
sysvinit_2.88dsf-53.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTkZ81AAoJEGrh3w1gjyLcqaAP/jhg4IqsiOpEty5CS+vWs8XF
dO8ylCuBKeUbks0g0Ekk7w7hu4aLFW9ix+hza4dpeCdwQvGn/Z08W9vDGGIY7x+i
XoKy75qce5LXREBctHuq0aPPStmEafj4LArf+Mz2NiStCRpq+nFrmCGoe980MW0V
l6lG+RRXg6rrEibtQIr2ddycNQwbU37G7KqP5VyJdFbbO36YBzUgKeyCP17jm053
uI4oNa6AN5DlC13smFMZJhmJAUcXDdirhxTsXyzaMrp+8KLxoO/og7lTJl9QLG1b
SDKaC8lFdEryfvN8zqj1LgVXFlkaxbK6s5l5JtAOcYd+xHWOzRw3Io7z0uGy1PiZ
aHHpUXG4Gbws3hDtb+gcFfEXbZ14YeWKrujHIj3St0i+kVvxFxHJ87rCOs5wrkOK
3Nkv7qtHSpZvavX6uJSMjU/qgm7QhYq3XjUR36hnePGalN6nT0VAcuB+pfMssmTx
LO0qm9JZlXH/qO0Fd4+vZqDOfzjoLzKfv4QbVTa+eIGDsHZyW878PaOsleq7B2+F
jwh4LckBQuwUK1DP3VV4Ym4a7UVYPO4lPI5x/rHLp+UP1F2/QsdzWyZNkOYqyuHE
/JI3gU+4vJl1eJy6j2BQfnXPn+WyQH541/Lko/blpKPV3F8R2tTJphIONoYulnY4
yGMS3jgtTBSoiKv1WrUC
=pHMs
-----END PGP SIGNATURE-----
--- End Message ---