Your message dated Sat, 07 Jun 2014 11:19:32 +0000
with message-id <e1wteeq-00034t...@franck.debian.org>
and subject line Bug#746587: fixed in sysvinit 2.88dsf-55.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-55.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:59:06 +0200
Source: sysvinit
Binary: sysvinit sysvinit-core sysvinit-utils sysv-rc initscripts bootlogd
Architecture: source amd64 all
Version: 2.88dsf-55.1
Distribution: experimental
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-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)
Checksums-Sha1:
 4f35ec834ab972e2fce313f6b651c24a6aec2b63 2470 sysvinit_2.88dsf-55.1.dsc
 3541993526748902f3f7ad2357341524db044f98 149800 
sysvinit_2.88dsf-55.1.debian.tar.xz
 d23ae480e93844a2d14e5dda63053d176583c03a 82976 sysvinit_2.88dsf-55.1_amd64.deb
 9cd9f22cacaae364c450a8739c237fe9bd313370 130358 
sysvinit-core_2.88dsf-55.1_amd64.deb
 406789d2503b29be0e16260aa521f7f3ed5ef3be 83238 
sysvinit-utils_2.88dsf-55.1_amd64.deb
 f6989c94593de6b1a5433a8e54fc9c2d09f00104 81998 sysv-rc_2.88dsf-55.1_all.deb
 f0f99c34a761c898ed260a08070f12150b024d02 86260 
initscripts_2.88dsf-55.1_amd64.deb
 9bf9f5d7bdd2eb3711b9c58c35a3b8aec499585b 58100 bootlogd_2.88dsf-55.1_amd64.deb
Checksums-Sha256:
 0c20215eb3657924e9c83e784ee95965d7c971cab9324e48532038762944f893 2470 
sysvinit_2.88dsf-55.1.dsc
 ef875cf017a4acc89d9b7effdb585e474b1309244fdf59475b6b5f3a2aab1fd7 149800 
sysvinit_2.88dsf-55.1.debian.tar.xz
 d3047e39f676bb555fb244fb8d1851163871bd81ce4117a8a82d40f78c54de5f 82976 
sysvinit_2.88dsf-55.1_amd64.deb
 8fd7bceb35808aaa025637733c2a14e8c724a1a1048b8fa81beb55b6e1e7ce64 130358 
sysvinit-core_2.88dsf-55.1_amd64.deb
 1c7a3e04e9154de58ecbd45c2c3da9a0a01cefc83e9f0b186d3ec97f77868a27 83238 
sysvinit-utils_2.88dsf-55.1_amd64.deb
 20c01a1e458c301460097527973d186663a2a0fdc369de5876d1849e1a71bf24 81998 
sysv-rc_2.88dsf-55.1_all.deb
 ac756206af0661e60d4b0e91f074f92fa404c6e7d8fb87672f3a1cd20fdffd62 86260 
initscripts_2.88dsf-55.1_amd64.deb
 2dcf59be6ba64735a7210ff9421ae2fa79718286bec0dee746426e27049d9a40 58100 
bootlogd_2.88dsf-55.1_amd64.deb
Files:
 96046c77908ba2617c82914b95b980a4 82976 admin required 
sysvinit_2.88dsf-55.1_amd64.deb
 8b34626f434f5a7e2ac58a57c8cc7b0f 130358 admin required 
sysvinit-core_2.88dsf-55.1_amd64.deb
 3668b2f6c9080ae30cd7ea7db693ce32 83238 admin required 
sysvinit-utils_2.88dsf-55.1_amd64.deb
 fef2211548cce7ee5d5ee9f5a0c3a1ba 81998 admin required 
sysv-rc_2.88dsf-55.1_all.deb
 6da71129c324d99aa741458241759a09 86260 admin required 
initscripts_2.88dsf-55.1_amd64.deb
 49c62d2671d9c68af5140d4f72ef74a3 58100 admin optional 
bootlogd_2.88dsf-55.1_amd64.deb
 53c4c276a3e44c7f066a08fc6305d283 2470 admin required sysvinit_2.88dsf-55.1.dsc
 e684eeaf849295621fc6ec0c85041e8d 149800 admin required 
sysvinit_2.88dsf-55.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTkZ9JAAoJEGrh3w1gjyLcWi4P+gKqYdCq1DqBX5tlx48C/wIQ
yHtdEJUML4//4vYnqvxxzheZBJRjB4eEEgHXqEdDXf4oHPapExTyjFB7Dk4sb9LB
3hgXFY10NTvnxBysyO7j3tNmFKZDG8vNapMiGMwGvbrh8HjSbI8dU/84lV04oi8g
cpVPhDV+BhDbqbUTI0hw+nG6RXv95EaUs2WSRIdfZ3nQMEbbPdEhJ3btzNcMp/P8
TTNn0BI+Hp63zsAf2MGJKkVrOEa+BR/VggKh1KeTe0657RuZOeyX5iiLIhemTzt5
lTTam6X9bH+vo/r6vBB81QgH01/kW9d6fR5MzZ77Ffyy7iyabcW5rSMP3MZ5LE3+
aw0z1vAh6KIDvwbqPZWEiqOyHlOVHPhKl25qQWR1X0GZGD0lYToiakNS7Q4M2M9g
6H/b/4ElGAux1ddDIxXesbgYoQTRMpbeEXC/u1kyMj5qcyguqc7NpEAKbJWbJ7XQ
G3r2FLiB4w8azUJ9mljHUlpQDdvUqqwzOiA2uIsJepKrSjv9Tx+D8apdB5h7UCUe
x6VNBhePPID8D78wLd+z0tG4v2xYa+hp9KzJFCFInuRIlEPlCOxXLMUG3kFbZTyj
ofaJLeYzomi7kgXHFgYA1OF+boBTC9W8JacitJcsKlcyJQUWxlWKG6Ko/zbB7FLa
J0IMfAvELfVkSzoUQM+v
=/YHp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to