Your message dated Mon, 29 Feb 2016 13:34:53 +0000 with message-id <[email protected]> and subject line Bug#546532: fixed in init-system-helpers 1.29 has caused the Debian Bug report #546532, regarding invoke-rc.d: does not default to a sensitive behaviour when no start o stop symlink is found 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.) -- 546532: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546532 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: sysv-rc Version: 2.86.ds1-65 Severity: minor Tags: patch Hi, invoke-rc.d(8) states: > invoke-rc.d itself only pays attention to the current runlevel; it > will block any attempts to start a service *in a runlevel in which the > service is disabled*. Other policies are implemented with the use of the > policy-rc.d helper, and are only available if /usr/sbin/policy-rc.d is > installed in the system. And although update-rc.d(8) says that it is a common administration error to delete a start symlink instead of renaming it to make it a stop symlink, the default behaviour of invoke-rc.d in that case is not sensitive, and leads to the init script being executed. Example: Package foo ships an init script called foo and starts on the default runlevels; but the administrator wants to manually start it, never automatically, so she rm /etc/rc*.d/S*foo (because she is not aware of the warning of update-rc.d). The foo package also ships a logrotate rule, which correctly calls "invoke-rc.d foo restart" after the logs have been rotated. Given that there are no start or stop symlinks, the RC variable of invoke-rc.d is left empty which later leads to invoke-rc.d executing the init script. I believe the sensitive action to do in these situations is simply refuse to call the init script. The patch below does exactly that. --- unpacked/usr/sbin/invoke-rc.d 2009-09-05 15:28:52.000000000 -0500 +++ /usr/sbin/invoke-rc.d 2009-09-13 15:43:56.000000000 -0500 @@ -367,6 +367,8 @@ RC=101 elif testexec ${SSLINK} ; then RC=104 + else + RC=101 fi ;; esac Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net
--- End Message ---
--- Begin Message ---Source: init-system-helpers Source-Version: 1.29 We believe that the bug you reported is fixed in the latest version of init-system-helpers, 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. Martin Pitt <[email protected]> (supplier of updated init-system-helpers 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: SHA256 Format: 1.8 Date: Mon, 29 Feb 2016 13:24:34 +0100 Source: init-system-helpers Binary: init-system-helpers dh-systemd init Architecture: source all amd64 Version: 1.29 Distribution: unstable Urgency: medium Maintainer: Debian systemd Maintainers <[email protected]> Changed-By: Martin Pitt <[email protected]> Description: dh-systemd - debhelper add-on to handle systemd unit files init - System-V-like init utilities - metapackage init-system-helpers - helper tools for all init systems Closes: 546532 806438 Changes: init-system-helpers (1.29) unstable; urgency=medium . [ Michael Biebl ] * Bump debhelper compatibility level to 9. . [ Raphael Geissert ] * invoke-rc.d: Fix behaviour when no start or stop symlink is found. Although update-rc.d(8) says that it is a common administration error to delete a start symlink instead of renaming it to make it a stop symlink, the default behaviour of invoke-rc.d in that case is not sensible, and leads to the init script being executed. (Closes: #546532) . [ Martin Pitt ] * invoke-rc.d: Fix package installation failure when installing a package with an upstart script and systemd unit, but no SysV script in a chroot. (LP: #1543051) . [ Felipe Sateler ] * update-rc.d: Ensure insserv doesn't fail if initscripts is not installed (Closes: #806438) . [ Benda Xu ] * script/invoke-rc.d: Add OpenRC support. * script/update-rc.d: Add OpenRC support. Checksums-Sha1: ce08ab2adbe63789291488a60efcaeec4b2bb56a 1875 init-system-helpers_1.29.dsc 33a8c393df765416e9c0a4b010789c18cfca36fb 55620 init-system-helpers_1.29.tar.xz 54bdff044bb4cbc525903abfd9e6c9b5a6d105aa 20082 dh-systemd_1.29_all.deb ca6af4423edf07c62365690a4074f724c21b7245 33774 init-system-helpers_1.29_all.deb 59c3fba3812afe8c1ceec5f7165ba4af562008f0 6742 init_1.29_amd64.deb Checksums-Sha256: 7499cbaf29bf08678b7dc353e0700b6ce40a7326da2ca383264d31bc89450f57 1875 init-system-helpers_1.29.dsc 2827afde59cec06074df43153ac408b40cb2aa95ad4c5672fc51fdf9f79e2cb7 55620 init-system-helpers_1.29.tar.xz d29541ddce38205ea37a3790b9ff2994d5af65605a73d4abc51f678361299bc7 20082 dh-systemd_1.29_all.deb 45ad7073449bbbfc6ed7ceec18a42a1be372e55d28853ff494f4e1a568996659 33774 init-system-helpers_1.29_all.deb abdbbfed292d17686bbe78c1dbcd1c57c3e37f7200b28450ec8f61d2d7237b6a 6742 init_1.29_amd64.deb Files: a43dfaf1e7cdfcc3907b11833fa237d6 1875 admin extra init-system-helpers_1.29.dsc 206e0de7b3b853686ff242d1d32e9662 55620 admin extra init-system-helpers_1.29.tar.xz 475a0c0e02aaf2a272d0a905d6f73fd2 20082 admin extra dh-systemd_1.29_all.deb 9e4643759f5cc43dd17d328d9dcd3afe 33774 admin required init-system-helpers_1.29_all.deb 26d1c937cc253cad82779c2e46f2d03d 6742 metapackages required init_1.29_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJW1Ec6AAoJENFO8V2v4RNHwYEQALVuPkQSDThzeej1WQzkTJlw 9SyAh4uVabQ77gQcs3QdMJQqlIgp0qjHgAy+eyjrAuIY3So+S7Wxi40HW6Iedya+ peYTiOCBDOnlXQqwe4hUrIXOYMmGsVnCkHybmVu3ZJRWKuFYSo/WccS6pEE4/fjs 0b2qzvfzQYmBGyTBT1utsvFwPjc2aMpsBmMssC4a3h7lOdwLl0ZAQ3T9uQioisnu nQroY1dPiDQbdE98KI/0CADCcWwLp/ojfnWyqDR10IlxaUzxixuLh9oodOGHtCJX LeUfHAdxGtLqRyLu3z85XxqjLPRjnrRZLZ7tQQp7lfkO+yjfruCGrAXDxMV01dpW 9jVffb9Lq1L5A7UlCMfyS6rhD8jhy1mzLd1LKZnJ+RT0QD0Q9Gm5UDqNR2zn5TaB XyDXrVAcjTW9mTbhI4SjSREN99PPz/6FSwSke1qKquAZUg9d0imbtZjLAX/4w5Y9 bhtPT42b1r36DpJLJfNTDdvlOqxjlacCZGiM2zhKGCFLF7FCJTflxVF6nUo1LNkc JJ/F3nOfhNU2RoUB3RuFxwhJUxNXnANE13KofvgClmsdn7sOqU+vDJ/+sFoyYyf1 sTxiTzr23fx5HcSNDNCZVHkq84OWKymnEnEVrOSzA3sO88988c7TyoZ4Bp8hZdXe zlS6nF+leRyCtSE4meTV =fMzy -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
