Your message dated Tue, 19 Aug 2014 11:33:50 +0000 with message-id <[email protected]> and subject line Bug#757767: fixed in debian-edu-config 1.719 has caused the Debian Bug report #757767, regarding debian-edu-config: systemd + fetch-ldap-cert causes boot to hang 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 [email protected] immediately.) -- 757767: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757767 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: debian-edu-config Version: 1.718 Severity: important Tags: patch When booting Debian Edu in Jessie, systemd is enabled. This causes the boot to hang. I've so far tested using a Minimal profile, and this hang when init.d/networking try to bring up the DHCP network because our fetch-ldap-cert dhclient hook try to call the init.dfetch-ldap-cert script, which depend on $network (aka init.d/networking) and thus end up with a dependency loop. With systemd, this causes a deadlock and the boot hangs. The issue is also reported as bug #754218 against systemd. CC to that bug to make the systemd maintainers aware of this instance of the problem, as the only example so far in that bug report are scripts outside packages from Debian. A workaround or fix (depending on your view) is to change the fetch-ldap-cert exit hook to detect systemd and not try to call the init.d/fetch-ldap-cert script when called from init.d/networking. The init.d/fetch-ldap-cert script will be called later in the boot anyway when the network is available, so this should be safe to do. The following tested patch solve the hanging boot problem for the Minimal profile installation. Index: debian-edu-config/etc/dhcp/dhclient-exit-hooks.d/fetch-ldap-cert =================================================================== --- fetch-ldap-cert (revision 83364) +++ fetch-ldap-cert (working copy) @@ -10,6 +10,12 @@ exit 0 fi +# Avoid dependency loop by not calling init.d script when dhclient is +# called by init.d/networking. Workaround for BTS issue #754218. +if [ -d /run/systemd/system ]; then + systemctl list-jobs | grep -q network.target && exit 0 +fi + case $reason in BOUND|RENEW|REBIND|REBOOT) /etc/init.d/fetch-ldap-cert start I do expect other packages to have similar problems, so we will probably discover more of these when testing the Main-Server profile. -- Happy hacking Petter Reinholdtsen
--- End Message ---
--- Begin Message ---Source: debian-edu-config Source-Version: 1.719 We believe that the bug you reported is fixed in the latest version of debian-edu-config, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Petter Reinholdtsen <[email protected]> (supplier of updated debian-edu-config 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Tue, 19 Aug 2014 13:22:15 +0200 Source: debian-edu-config Binary: debian-edu-config debian-edu-config-gosa-netgroups Architecture: source all Version: 1.719 Distribution: unstable Urgency: high Maintainer: Debian Edu Developers <[email protected]> Changed-By: Petter Reinholdtsen <[email protected]> Description: debian-edu-config - Configuration files for Skolelinux systems debian-edu-config-gosa-netgroups - netgroups plugin for GOsa² Closes: 737297 742131 757767 758190 758568 Changes: debian-edu-config (1.719) unstable; urgency=high . * Upload with urgency high to get rid of boot hang in testing. . * Adjust network testsuite check to use new path to rpcinfo (Closes: #758190). * Change dhcp exit hook fetch-ldap-cert to not try to call init.d/fetch-ldap-cert start before the network is up during boot, to avoid dependency loop when using systemd (Closes: #757767). * Update debian-edu-fsautoresize to handle ext4 the same way it handle ext3, thus supporting the current file system (Closes: 742131). * Adjust debian-edu-pxeinstall to use new pxelinux/syslinux-common package structure (Closes: #758568). * Introduce new program debian-edu-current-codename used everywhere to get the current Debian codename, to avoid hardcoding the fallback codename in several scripts. Update all scripts with hardcoded codenames to use debian-edu-current-codename. . * Translation updates: - Updated German translation for debconf questions (Closes: #737297). Translated by Chris Leick. Checksums-Sha1: db80c18c3000c1983f6e81e3d62bca1910ca9027 1297 debian-edu-config_1.719.dsc a94a93e34bf8904454f7ce7bd0209db239a0a472 533601 debian-edu-config_1.719.tar.gz 549fbd6d4edf7a7cc5147c3e36ff30d6db7ecca4 418010 debian-edu-config_1.719_all.deb c4ebfc419c48326bcc5a6d3b49292cd6bb699a40 124520 debian-edu-config-gosa-netgroups_1.719_all.deb Checksums-Sha256: 195eb9e1aea2358a4e805d4633b71974f72174b5f687944003f2b43bf9d5a4e2 1297 debian-edu-config_1.719.dsc db62825430b36e39f5355e9c47cb373d7ebdeb5adeeb67698e1eab61746bd551 533601 debian-edu-config_1.719.tar.gz e4ac9745348453b28cbeae724fab466c311e3abb2002774e324c3d759cabe8ab 418010 debian-edu-config_1.719_all.deb 410cffa32adc0247f87d36723cd2cb7358fcc61c92b223a68b79d637d827a7dc 124520 debian-edu-config-gosa-netgroups_1.719_all.deb Files: 4a053b5e9c4876d0709437d25ed3cc49 1297 misc extra debian-edu-config_1.719.dsc 48e7723de0f1b15b7a1f1969f992625c 533601 misc extra debian-edu-config_1.719.tar.gz b3888b0ded5b202b45af29b6f275ca3a 418010 misc extra debian-edu-config_1.719_all.deb f2345ad40c9f0f56057d8eb0841ff626 124520 misc extra debian-edu-config-gosa-netgroups_1.719_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFT8zO620zMSyow1ykRAmzaAKCCyJ7gVi4CB/bxvmGMSW/qyDZ9cgCfZwp7 sJHR8cRyusbyLgOcStPSvGg= =slaA -----END PGP SIGNATURE-----
--- End Message ---

