Your message dated Sun, 14 Oct 2018 15:02:51 +0000 with message-id <[email protected]> and subject line Bug#826214: fixed in sysvinit 2.88dsf-59.11 has caused the Debian Bug report #826214, regarding SysV init scripts using init-d-script are not properly redirected to systemctl 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.) -- 826214: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826214 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: sysvinit-utils Version: 2.88dsf-59.4 Severity: important File: /lib/init/init-d-script Hi, a SysV init script based on the new skeleton using /lib/init/init-d-script is not properly redirected to systemctl when being run under systemd as PID 1. /etc/init.d/apache-htcacheclean from apache2 is an example useing init-d-script: # systemctl status apache-htcacheclean.service ● apache-htcacheclean.service - LSB: Cache cleaner process for Apache2 web server Loaded: loaded (/etc/init.d/apache-htcacheclean; generated; vendor preset: enabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8) # /etc/init.d/apache-htcacheclean start [ ok ] Starting Apache htcacheclean: apache-htcacheclean. # systemctl status apache-htcacheclean.service ● apache-htcacheclean.service - LSB: Cache cleaner process for Apache2 web server Loaded: loaded (/etc/init.d/apache-htcacheclean; generated; vendor preset: enabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8) As you can see, the start request is not redirected to systemctl, so the systemd integration is broken. I suspect this happens because init-functions is sourced before $1 is shifted, so the systemd lsb init hook get's the wrong parameters. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages sysvinit-utils depends on: ii init-system-helpers 1.34 ii libc6 2.22-10 ii startpar 0.59-3 ii util-linux 2.28-5 sysvinit-utils recommends no packages. Versions of packages sysvinit-utils suggests: pn bootlogd <none> pn sash <none> -- no debconf information -- debsums errors found: debsums: changed file /lib/init/init-d-script (from sysvinit-utils package)
--- End Message ---
--- Begin Message ---Source: sysvinit Source-Version: 2.88dsf-59.11 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Biebl <[email protected]> (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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 07 Oct 2018 16:04:09 +0200 Source: sysvinit Binary: sysvinit-core sysvinit-utils sysv-rc initscripts bootlogd Architecture: source Version: 2.88dsf-59.11 Distribution: unstable Urgency: medium Maintainer: Debian sysvinit maintainers <[email protected]> Changed-By: Michael Biebl <[email protected]> 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-core - System-V-like init utilities sysvinit-utils - System-V-like utilities Closes: 826214 Changes: sysvinit (2.88dsf-59.11) unstable; urgency=medium . * Non-maintainer upload. . [ Mert Dirik ] * Make sure that services using init-d-script can be properly redirected to systemctl. (Closes: #826214) * Avoid naming collisions when storing the script name in init-d-script by using a custom prefix. Checksums-Sha1: c2cae7329c83f037467ab0a847a45e8dfa8475a7 2378 sysvinit_2.88dsf-59.11.dsc b73aaf7647ba5d9efaaab69d190941550be45f39 132624 sysvinit_2.88dsf-59.11.debian.tar.xz 5acf3ba29d8377bd7a86b6a26f7aaa73421f5880 5654 sysvinit_2.88dsf-59.11_source.buildinfo Checksums-Sha256: c984df9a0a527eff06cfad1ebf36fdc0a4446fe6f2bd45b97b8536f9a6fee71c 2378 sysvinit_2.88dsf-59.11.dsc 6a0663a761b48569decbb32cfd699d31dab2058422db61d9198d70d9f06d07bd 132624 sysvinit_2.88dsf-59.11.debian.tar.xz 11614d49feb9cb9de311de16d4e4c75e392e83fed908660670bf0bdff5b2b6cb 5654 sysvinit_2.88dsf-59.11_source.buildinfo Files: 537b6f465ad3e7935047aeb91ce378a9 2378 admin optional sysvinit_2.88dsf-59.11.dsc 31793922c6e41c4dbc13daac8fda08ae 132624 admin optional sysvinit_2.88dsf-59.11.debian.tar.xz ba3aff319049bf111ada5652bb9e3651 5654 admin optional sysvinit_2.88dsf-59.11_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEECbOsLssWnJBDRcxUauHfDWCPItwFAlu6E3IRHGJpZWJsQGRl Ymlhbi5vcmcACgkQauHfDWCPItwJRA//Sj1NHyYZYxPSSoVe9GtMRYvmF1CkHs76 t/etG6UXUGrNtrh4ICQbhmUmsN4cQQuSWj33Dbm7p33FYbqhM1YzoXT9qmJsVF68 QTgo0eiD/RSkydX8v/1DG2aWc5GAxricZRoSufnm6zNlkd38tB22l2y9dAP5M1vp TQaTr3hzf69jReomffW30ZZkuz9dIKoV0nKAcsvq760SIjo0etnH8krIGUna53+9 Ske2u+kxuMjeBSNk8DBK2vPiY0ecXVHp371O2gaOO5/1TiJSMeYesMX6Q7LVnQIw QN+CI+F4mhnpdNlOQtyiAaUw+mvhb1u0kcZQ5SxRTMlfd6Tk4H8lw1UQ0Yp+24mi ZZPtF6W8H7UjUQuPh8EHRFYGxnTnFI16wp2E3m+xw0+abhf4nj9hp4yoYqql8VJV /uNKV8oAO2dutB2RjSEV0DK3EScQIyJLtLVXkMk+SEZSjGCDtHPo78BZCpocRbjw kscxf5dgFTxT6TaKVYqm6t8mfF80ITT5MgA94rDjQ8z6o50fxYcMlyo59FWwyS34 HgVUEDKR0LD3KOcQ0W/9+go60fJHDQtKCIy77MUI6gAJscuV+PsCPh9ZCF65AniY OlyYgIM3FWPvC6zzekE5JBSTaGf3ou3I1qJzOwuBM2xKghffFsgpp5SS0VuaGjF4 L+mrtOrkEsM= =bsfG -----END PGP SIGNATURE-----
--- End Message ---

