Your message dated Thu, 08 Nov 2018 01:51:28 +0000
with message-id <[email protected]>
and subject line Bug#912937: fixed in runit 2.1.2-18
has caused the Debian Bug report #912937,
regarding runit: Can't shutdown or reboot when using single user mode
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.)


-- 
912937: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912937
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: runit
Version: 2.1.2-17
Severity: normal

Dear Maintainer,

When using the "single" kernel parameter, sulogin is started in stage 1.
Signals only work in stage 2, and so reboot and shutdown commands don't work.
In order to rectify this problem, I implemented Void Linux's solution, where
custom runsvdirs can be created in stage 2. This way, if "single" is used,
stage 2 will start services in /etc/runit/runsvdir/single. An sulogin service,
which is also provided by Void, is needed in the single folder. A relative
symlink from /etc/runit/runsvdir/default to /etc/runit/runsvdir/current is
also needed for the runsvchdir command to switch runsvdirs. Currently, this
problem effects all debian releases.

-- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: runit-init (via /sbin/init)

Versions of packages runit depends on:
ii libc6 2.27-8
ii runit-helper 2.7.3

Versions of packages runit recommends:
ii runit-init 2.1.2-17

runit suggests no packages.

-- Configuration Files:
/etc/runit/1 changed:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
run_sysv_scripts () {
 initdir="${1}"
 for script in "$initdir/S"* ; do
 path=$(realpath "$script")
 name=$(basename "$path")
 # Special case for wicd. Runscript is called "wicd-daemon",
 # to match binary package name.
 [ -d "/etc/sv/$name" ] && continue
 [ -d "/etc/sv/$name-daemon" ] && continue
 "$script" start
 done
 unset path name initdir
}
run_sysv_scripts '/etc/rcS.d'
touch /run/runit.stopit
chmod 0 /run/runit.stopit
run_sysv_scripts '/etc/rc2.d'

/etc/runit/2 changed:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
runlevel=default
for arg in $(cat /proc/cmdline); do
 if [ -d /etc/runit/runsvdir/"$arg" ]; then
 echo "Runlevel detected: '$arg' (via kernel cmdline)"
 runlevel="$arg"
 fi
done
runsvchdir "${runlevel}"
exec env - PATH=$PATH 
runsvdir -P /etc/service 'log: 
...........................................................................................................................................................................................................................................................................................................................................................................................................'
-- no debconf information

--- End Message ---
--- Begin Message ---
Source: runit
Source-Version: 2.1.2-18

We believe that the bug you reported is fixed in the latest version of
runit, 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.
Dmitry Bogatov <[email protected]> (supplier of updated runit 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: Thu, 08 Nov 2018 01:21:32 +0000
Source: runit
Binary: runit runit-systemd runit-sysv getty-run runit-init
Architecture: source all amd64
Version: 2.1.2-18
Distribution: unstable
Urgency: medium
Maintainer: Dmitry Bogatov <[email protected]>
Changed-By: Dmitry Bogatov <[email protected]>
Description:
 getty-run  - runscripts to supervise getty processes
 runit      - system-wide service supervision
 runit-init - system-wide service supervision (as init system)
 runit-systemd - system-wide service supervision (systemd integration)
 runit-sysv - system-wide service supervision (sysv integration)
Closes: 912937
Changes:
 runit (2.1.2-18) unstable; urgency=medium
 .
   * Improve `update-service' script (Thanks: Lorenzo Puliti)
     + Add --auto/--noauto option to update-service
     + Handle relative symlinks
   * Ensure, that halt(8) and reboot(8) commands work properly
     in single mode (Closes: #912937)
     + Thanks: [email protected]
Checksums-Sha1:
 cf35aa8f34cec20810c01ad4dabdad9afac995c3 2123 runit_2.1.2-18.dsc
 3384803684703eeac75046bece5ebb728798367f 25744 runit_2.1.2-18.debian.tar.xz
 809d7fcbda2e75af097ba83a42815b5078a959f3 17732 getty-run_2.1.2-18_all.deb
 ffda7e828057d1b215092300252f15370f3f2343 164688 runit-dbgsym_2.1.2-18_amd64.deb
 ac7389a97e0ef852939c0cbc516d2f0e62afe98b 28736 
runit-init-dbgsym_2.1.2-18_amd64.deb
 65554e0edc33c8103655d6067d6ad1a9484d74a3 38712 runit-init_2.1.2-18_amd64.deb
 a1936985eb84f3f896032d6c54f654ab4709137c 16744 runit-systemd_2.1.2-18_all.deb
 3f5beb68096c9748d89344d230f2161ded7d2ea5 16336 runit-sysv_2.1.2-18_all.deb
 89c3c726e56b46b37229adf375a4b41f634863f9 7441 runit_2.1.2-18_amd64.buildinfo
 33ca4407220fd2709d938c909fcfb900e0699254 110044 runit_2.1.2-18_amd64.deb
Checksums-Sha256:
 05425a2f3530ce03b1121b0736e3500056d620b737a4b062e20ee6d05072e2dc 2123 
runit_2.1.2-18.dsc
 800abbb45b7e5317cfc271e6925e210cd93c69268e4d5b5be71f7c06b59e9a1b 25744 
runit_2.1.2-18.debian.tar.xz
 dd2a904edee735330f403e5604860763d98e8bcfff859d31f68d523344375b7d 17732 
getty-run_2.1.2-18_all.deb
 47b2009383585ff3c946316116ecfb046b2281d412f1e47ded3f9f1824a01d37 164688 
runit-dbgsym_2.1.2-18_amd64.deb
 0a6c3a68d3dd98512ad863542419f3a11eeb08929e5ff00d41afc74e0be25a8a 28736 
runit-init-dbgsym_2.1.2-18_amd64.deb
 2ca80db65af7c910ceed363d33177aa402f2d02af0559f03131679eac06466df 38712 
runit-init_2.1.2-18_amd64.deb
 5ea90327d91209391069d18688a7ea1f6e4b38e1672ad933978b53bab5e1f41d 16744 
runit-systemd_2.1.2-18_all.deb
 6380ae2c41f0d37b618cfca92ade2e0cd17c12f3d4d22bdac5ef60d0b77dd8b5 16336 
runit-sysv_2.1.2-18_all.deb
 8a8e6481e184add98281f2a7e768c832111a3c407f58b4869eceaa1217806db5 7441 
runit_2.1.2-18_amd64.buildinfo
 487357477f259edc8ab278219f8b4209679587f1e4d9e1f1efea97a138d270e6 110044 
runit_2.1.2-18_amd64.deb
Files:
 3d3c99cbe61e9cdee14f03339d45fc7c 2123 admin optional runit_2.1.2-18.dsc
 a2ce8b501d700f7c60c10cd16e3ad895 25744 admin optional 
runit_2.1.2-18.debian.tar.xz
 cab32a2e59c779e0a474d22cb1f6b9e7 17732 admin optional 
getty-run_2.1.2-18_all.deb
 fc1f2136c307a9167a62c525bbd1b214 164688 debug optional 
runit-dbgsym_2.1.2-18_amd64.deb
 2a714d2dc34b1a2f0370aea4ca587986 28736 debug optional 
runit-init-dbgsym_2.1.2-18_amd64.deb
 f7b9f17c97bf9e0abff8264f7d14857d 38712 admin optional 
runit-init_2.1.2-18_amd64.deb
 48703b302d976ea13c9cffb68f3e519d 16744 admin optional 
runit-systemd_2.1.2-18_all.deb
 1b2d1014d2b39ef50d4df54951200ba6 16336 admin optional 
runit-sysv_2.1.2-18_all.deb
 5814be8c9d304099fa6fd1f5a4fba224 7441 admin optional 
runit_2.1.2-18_amd64.buildinfo
 bb6957f3f2574c42e57a66b9d5145ba1 110044 admin optional runit_2.1.2-18_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEhnHVzDbtdH7ktKj4SBLY3qgmEeYFAlvjkA8THGthY3Rpb25A
ZGViaWFuLm9yZwAKCRBIEtjeqCYR5huvD/44KgRCR7TQoZWRCGMQQlS1RkqkCqpc
W0HLlHvjjIsfDGg0A1LwSHZxbUKhZvvqXfjMdGW6HF8WVBP2Tm1Muv4Sb3xbGSBG
N5Ui4ogBKnB855tVp8HSo57M++ddkZxtMWRvJHtUF+8XIIOcxmt6JvoY6eycH8Bm
tFIu5e4PJrD43bGiT46YWTHkwTkYBmC9R+NzQpqB2l67IRzzu/4p/53zeFzVN2FD
pskt7BEISeuT6pn/gGzfn1KwfJZ33OlGQgA6mnnniecdt97E9zCvjgyzAvEburfD
Nv0Azmb1ABZmPoECQs6LVEjxCk18U0+OltXeMsXIIuVrVR8GuaLBurqDwQsukY6E
Ua3XFSLCwcdvUOnpep+FrtCA2gY+7Sz3CZjBC+sQgRRm4yMPgbUoaCTbi+Wi0cle
LBZQVEDHV7Rp+lkleQ3jhgkm0M59QNuOkpka4NRg8ejh5ywZSYlg591krHKr2IrJ
4t7z6GS7HVGfAIbdb6LicjL81kj+1bY2VyJC4o1sMw+pRDr8srVfrFznm2kVYc0Z
z2ukVK75NdnsK5KwmuhbHNSRXl9B6PHKefxov9xiZ3vfenyEEofrbzdk/vakE4tN
16a5LweRcAZm57y6H2yj9uD5Z5DqbIigUiUIACeFwNvVOgP2PmvHH43pxEXL6zyx
a6KgK/DByGsNUg==
=8ldn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to