Your message dated Fri, 20 Apr 2018 12:55:19 +0000 with message-id <[email protected]> and subject line Bug#895914: fixed in runit 2.1.2-12 has caused the Debian Bug report #895914, regarding runit-init: stage 1: missing support for emergency shell (grub 'recovery 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.) -- 895914: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895914 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: runit-init Version: 2.1.2-11 Severity: normal -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.15.12-van (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages runit-init depends on: ii getty-run 2.1.2-11 ii initscripts 2.88dsf-59.10 ii libc6 2.27-3 ii runit 2.1.2-11 ii runit-helper 2.7.2 ii sysv-rc 2.88dsf-59.10 runit-init recommends no packages. runit-init suggests no packages. -- no debconf information Dear Maintainer, I've found two issues with the stage 1 file you are shipping with 2.1.11 first: touch/chmod on /run/runit.stopit is done too early in the boot process, /run is not yet mounted (not in the title, just don't want to open another bug as i'm attaching a stage1 example that fixes both) second: GRUB menu has two line for each kernel, and the second one is supposed to boot you into an emergency sell, but runit has no support for that so it turns out into a regular boot. I think that a working emergency shell is a "must-have" feature, expecially untill runit suport within Debian is still in development. the following example of stage 1 file works for me ------------------------------- $ cat /etc/runit/1 #!/bin/sh # system one time tasks PATH=/sbin:/usr/sbin:/bin:/usr/bin # starting initscripts for initdir in /etc/rcS.d ; do for script in "$initdir/S"* ; do path=$(realpath "$script") name=$(basename "$path") "$script" start done done unset path name # now /run is mounted touch /run/runit.stopit chmod 0 /run/runit.stopit # single mode emergency shell, if requested in GRUB menu if grep -q -w -i "single" /proc/cmdline then echo "Give root password for maintenance or press CONTROL-D to continue" sulogin fi # starting sevices not yet-migrated to runit for servicedir in /etc/rc2.d ; do for script in "$servicedir/S"* ; do path=$(realpath "$script") name=$(basename "$path") [ -d "/etc/sv/$name" ] || "$script" start done done unset path name -------------------------------------------------------------------------- I'm aware that a proper support for emergency shell is more complex than this ( a single runlevel with a sulogin service and some code that select the runlevel to boot into ) but in the meantime could you evaluate the example and eventually (if it looks ok to you) add it to runit? Anyway, thank you for maintaining runit! Lorenzo
--- End Message ---
--- Begin Message ---Source: runit Source-Version: 2.1.2-12 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: Fri, 20 Apr 2018 14:46:17 +0300 Source: runit Binary: runit runit-systemd runit-sysv getty-run runit-init Architecture: source Version: 2.1.2-12 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: 895904 895914 Changes: runit (2.1.2-12) unstable; urgency=medium . * Improve 'contrib/1' to support boot in single mode. (Closes: #895914) + Thanks: Lorenzo Puliti <[email protected]> * Simplify code (in particular, debian/rules), generating getty runscripts. * Improve getty runscripts to not waste CPU when tty is already busy. (Closes: #895904) + Thanks: Lorenzo Puliti <[email protected]> Checksums-Sha1: 932b93287b2487e09af19aa939cef9103a94de8d 2091 runit_2.1.2-12.dsc d0c04fed2ff4cbc8616e2d7018fb84963bd5ef90 23740 runit_2.1.2-12.debian.tar.xz 855716d336dc0605b416093de402ba6ec5e76e89 5281 runit_2.1.2-12_source.buildinfo Checksums-Sha256: 99e8e7f588f1552a753ca8e2a322791de9eb4e945d66b84e0436f53bec62db37 2091 runit_2.1.2-12.dsc f61e46b7e7568b731b0d10c69a7252c6b1f73fb6db47ad1e96fc0beb0f6281dd 23740 runit_2.1.2-12.debian.tar.xz d364cab6033e34aea17e9501eedd9d7d201655396c622d70614479591f788fc6 5281 runit_2.1.2-12_source.buildinfo Files: fa5057a9ebaf979f9282b0238ea394b1 2091 admin optional runit_2.1.2-12.dsc 1b2d624698eed00069844f24a0451bc0 23740 admin optional runit_2.1.2-12.debian.tar.xz 2212214ea78c5d6cdf93120f950b9151 5281 admin optional runit_2.1.2-12_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEbEPcK+5mZmLK5jNU1v5xA2P4XdMFAlrZ3V8ACgkQ1v5xA2P4 XdNZUw//fq2bYKgmQiBcu49woeHV8jnnfhD+IvMLkpI/nmW43igSOkCqea0hUwST wSyN+aMgnkCWv/aGWDtQImDa9AW035bkhl6lv2tIDuUMHF9Cie55SgVYvMURU+9p D4rp+2n708KJiQbq81NRl28VzBMNK1Q/bMlRn+pwVtLoeB9ki14MashuhZ6ZoOjc MZipInCRH0jI4EaQmWITEzql8QVO+64gsbS8dLDBiPebONr+ddK3mKKT9BFOr6T9 MHHj/UxhOYlADiV+TbS2C0Q57KIqYJGc4Qo6Z89IeWPTgbs1ze0Hw8Rdqup09cOk LTVyPwrhNWeAX+ntbgdsdAhY3FEHkPpgeY471CLtpIk9h2EGxHbb2Eg8bXygEDke 7o0QF5S1dL/ybcfe2URwiiin3A+tfuYfnPyapiw1uyWXOgN3Ja5wVn2tJOYL6ysl qVOtJD7L1QVG49VoqqokOF2b/LgNQ9rvDzSN421qEnddaP9oHiSvpD8FKMYIPZvl L4Ahdf+HhNtWyPMme2Deh6qcks96fMoGJL8UaoZT7nxuf8/5x3dtXwe9AYYiZVrQ 70G7ojq0gJKTrj1rR+1souI83LLVG44SaO0iCXoOn3Kgz6fOyzjBVbm/VmByA96G LKouxkRTxjfMCk4f8Q7Y/2DqGZeJTVF31RqEJzUIRRkpj0ae7Jo= =qdAa -----END PGP SIGNATURE-----
--- End Message ---

