Your message dated Thu, 07 Feb 2013 01:47:37 +0000 with message-id <[email protected]> and subject line Bug#699523: fixed in sysvinit 2.88dsf-40 has caused the Debian Bug report #699523, regarding sysvinit: postinst fails if several 'init' process are running (LXC) 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.) -- 699523: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699523 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: sysvinit Version: 2.88dsf-39 Severity: important Hi, I can't upgrade to latest sysinit because the initscript fails: % sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up sysvinit (2.88dsf-39) ... /var/lib/dpkg/info/sysvinit.postinst: 41: kill: Illegal number: 3164 3141 3118 1 dpkg: error processing sysvinit (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: sysvinit The revelant code is : # PID of init; may not always be 1. Use for sending signals # and checking if init is running. PID="$(pidof /sbin/init || echo 1)" (...) if ! ischroot then kill -s USR1 "$PID" fi And the corresponding 'set -x' output is : + pidof /sbin/init + PID=3164 3141 3118 1 (...) + ischroot + kill -s USR1 3164 3141 3118 1 /var/lib/dpkg/info/sysvinit.postinst: 41: kill: Illegal number: 3164 3141 3118 1 $PID contains multiple PIDs because several 'init' process are running on the machine on distinct LXC containers: % ps -C init PID TTY TIME CMD 1 ? 00:00:04 init 3118 ? 00:00:02 init 3141 ? 00:00:02 init 3164 ? 00:00:02 init % pidof init 3164 3141 3118 1 I see several ways to fix this issue: - killall -s USR1 init - for pid in $PID; do kill -s USR1 "$PID"; done - PID="$(pidof -s init)" - a check on the number of process based on 'pgrep -c init' Which way is the best? I hope to see this issue fixed. Regards, -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages sysvinit depends on: ii debianutils 4.3.4 ii initscripts 2.88dsf-38 ii libc6 2.13-38 ii libselinux1 2.1.9-5 ii libsepol1 2.1.4-3 ii sysv-rc 2.88dsf-38 ii sysvinit-utils 2.88dsf-38 sysvinit recommends no packages. sysvinit suggests no packages. -- no debconf information -- ,''`. : :' : Cyril Bouthors `. `' Debian.org `-
--- End Message ---
--- Begin Message ---Source: sysvinit Source-Version: 2.88dsf-40 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. Roger Leigh <[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: SHA512 Format: 1.8 Date: Sun, 03 Feb 2013 14:52:05 +0000 Source: sysvinit Binary: sysvinit sysvinit-utils sysv-rc initscripts bootlogd Architecture: source amd64 all Version: 2.88dsf-40 Distribution: unstable Urgency: low Maintainer: Debian sysvinit maintainers <[email protected]> Changed-By: Roger Leigh <[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 - System-V-like init utilities sysvinit-utils - System-V-like utilities Closes: 663009 699523 699566 Changes: sysvinit (2.88dsf-40) unstable; urgency=low . [ Roger Leigh ]: * Don't restart init on GNU/Hurd (Closes: #663009). * Handle PID detection more robustly, to work better with containers (Closes: #699523). Always use PID1, which avoids the need for fragile pidof usage. * Handle ischroot more gracefully on failure (Closes: #699566). Checksums-Sha1: b022e68787bb57ecf842bfcf63a0df9676039306 2342 sysvinit_2.88dsf-40.dsc d9a6846128181a51b7c0937a45ab93927f7043fc 210433 sysvinit_2.88dsf-40.debian.tar.gz 7f6fb01e0f202077c1c88b5d507305f21a32a936 133064 sysvinit_2.88dsf-40_amd64.deb f0e01c35ffc5a3d47451e66ff3b53934dbc11464 99454 sysvinit-utils_2.88dsf-40_amd64.deb 8cfa152cd1e2d913c530603f78b883d0345da439 81328 sysv-rc_2.88dsf-40_all.deb 8fe9b2d345af9d45028bb8ba41879675eaf1820a 94006 initscripts_2.88dsf-40_amd64.deb c10a4d7eaf82ddcf7f498a20e3c578c4929487d1 54884 bootlogd_2.88dsf-40_amd64.deb Checksums-Sha256: 4468a2ac2182bf7ea32204378d1ce4c877f312765075f3b79f35c38b2da80164 2342 sysvinit_2.88dsf-40.dsc 8018359b7d9a247b78b90da4a573d429964b2e2130a54bde4da9ce817774bfb5 210433 sysvinit_2.88dsf-40.debian.tar.gz 5cfdcd399fd396b29e9ff385bfb44541955a211b31f65607e7d754252fadafdf 133064 sysvinit_2.88dsf-40_amd64.deb 54f6a699f9914276c3197dbe3d3637f45942a49b08751fb9020d9206e13e72ab 99454 sysvinit-utils_2.88dsf-40_amd64.deb 0d0d410f2ce8f1c9e85b8fa80e3b9236a45d5edc65a64593c69c5e6d02c670ce 81328 sysv-rc_2.88dsf-40_all.deb 20d500c855f3d9993a81c438f3ce1593b3475c19c4823491bef67572df385ead 94006 initscripts_2.88dsf-40_amd64.deb b75293ec5da3929786e9c8bb476da7a870d333be89654712c9f4519b6117e59b 54884 bootlogd_2.88dsf-40_amd64.deb Files: bfedfcca79da6ba11dae9a8df3aea189 2342 admin required sysvinit_2.88dsf-40.dsc fdd38f5253c93ad5565cd6bd1b5ebe44 210433 admin required sysvinit_2.88dsf-40.debian.tar.gz 62c9e2497b20c22134bdef390e0299d1 133064 admin required sysvinit_2.88dsf-40_amd64.deb eb201b12805331b1dd8d9483fd1b5e2a 99454 admin required sysvinit-utils_2.88dsf-40_amd64.deb 6104320104dc2cc1b24a7a9db3da9a54 81328 admin required sysv-rc_2.88dsf-40_all.deb aaafe1b4b9b3250c12969dfe463e455d 94006 admin required initscripts_2.88dsf-40_amd64.deb d9061f134bfa0b742c2856d1cd415439 54884 admin optional bootlogd_2.88dsf-40_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJREv2VAAoJEOJSSsUKn1xZ9lQP/iViYeYbrh/Wwwxl7GU4Krgv bCH4wNg6eqReCmfL/K5F1DJF0PyLxQtAplGD8vGTpuzpExOuOCa2FBaux5nuqaUM hGkulKx9cgUW7WZtwGXmjbZW2mryv/ICfGoU72kL8nhlnJPkx0piv2sUaYdzlWCJ TqBtBbp87sZVpNG+w1H6NaOTQUvJ2WTunXbxq3XOq0zC1GVsM0CwrACS8MgXq9lO wwACXEv0Yg/1n0d8JkrqI93dZcCAOi1dCexbnz2voILIk3rkIxOTKPqvSuodqO6F 0/sKV3WVn1c8xC9B6QrXNDTLxO7jpukqkI2YSJlsOsHykB7r7neiWspXQ8fxy+gn YzlVfhWVz3rqyDUK6kLeYbe6qeLGllafQyDIywvDPblp+PJ/8kk9RIT5Ofk/VkyG idDu/6XrnmqDIT6iLhiTzzFSqZ0LH+UYjBcE3cBiWE3T6OwFd2aZ1qbxhmTjgO9B /4r4dMMNcIgBJTbipXUNj6axqQwgHkeTyXzPKtirpJDEEjzcCzbIIWG+y/FCiGZx pSnZrbczDqa6UKRpeXbssaXsRb7qm+DB/2FIKmYpac8151q1bRT84XMZ1Wu8PCNe lVFwtdEX2T4x5+EAGxxBFf+Rkx2YfrRJxOox4cYMOqJUp+VIiwEZDMY7rkW0lt2J 0f5hero6KfLwC32hGuD1 =/u4I -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

