X-Loop: [email protected] Subject: bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options Reply-To: Olaf Meeuwissen <[email protected]>, [email protected] Resent-From: Olaf Meeuwissen <[email protected]> Resent-To: [email protected] Resent-CC: none, [email protected], Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Wed, 08 Mar 2023 12:26:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: report 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: X-Devuan-PR-Source: sysvinit Received: via spool by [email protected] id=B.167827833727810 (code B); Wed, 08 Mar 2023 12:26:01 +0000 Received: (at submit) by bugs.devuan.org; 8 Mar 2023 12:25:37 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 08 Mar 2023 12:25:37 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id 6JWxIWt+CGTnLQAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Wed, 08 Mar 2023 12:24:11 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 77B6796F; Wed, 8 Mar 2023 12:24:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=202.238.237.3; helo=mo-sw.mose-mail.jp; [email protected]; receiver=<UNKNOWN> Received: from mo-sw.mose-mail.jp (mo-sw1801-0.mose-mail.jp [202.238.237.3]) by email.devuan.org (Postfix) with ESMTPS id 45DD5895 for <[email protected]>; Wed, 8 Mar 2023 12:24:03 +0000 (UTC) Received: by mo-sw.mose-mail.jp (mose-mo-sw1801) id 328CNvXR009297; Wed, 8 Mar 2023 21:23:57 +0900 Received: from basecamp (localhost [127.0.0.1]) by mbox.mose-mail.jp (mose-mbox1802) id 328CNrAu007501 for <[email protected]>; Wed, 8 Mar 2023 21:23:54 +0900 Received: from olaf (uid 1000) (envelope-from [email protected]) id 19f426 by basecamp (DragonFly Mail Agent v0.13); Wed, 08 Mar 2023 21:23:53 +0900 User-agent: mu4e 1.8.13; emacs 28.2 From: Olaf Meeuwissen <[email protected]> To: Devuan Bug Tracking System <[email protected]> Date: Wed, 08 Mar 2023 20:44:01 +0900 Message-ID: <874jqv5t46.fsf@basecamp> MIME-Version: 1.0 Content-Type: text/plain Package: initscripts Version: 3.06-2devuan1 Severity: normal X-Debbugs-Cc: none, Olaf Meeuwissen <[email protected]> Dear Maintainer, Every time I `poweroff` my machine, I see error message flash by that complain about `halt` being called with unsupported options. I think I have tracked this down to /etc/init.d/halt making blind assumptions about the options supported by the `halt` command. Said command may be provided by any of a number of packages. A quick `apt-file search sbin/halt` turns up $ apt-file search sbin/halt bfh-container: /sbin/halt finit-sysv: /sbin/halt molly-guard: /sbin/halt progress-linux-container: /sbin/halt runit-init: /sbin/halt systemd-sysv: /sbin/halt sysvinit-core: /sbin/halt Mine happens to be $ ls -l /sbin/halt lrwxrwxrwx 1 root root 19 Feb 10 03:45 /sbin/halt -> /lib/runit/shutdown where the symlink target is from the runit package. According to the manual page, my halt command only supports -f, -w and -n short options. The /etc/init.d/halt script may invokes the halt command with -d and -f options and may add any of -i, -p and -h. BTW, I also have runit-init installed which provides the `poweroff` and `halt` commands that get executed. Seeing that runit-init depends on initscripts one could argue that runit-init should support those options in which case feel free to forward this to that package (in the Debian BTS). From past experience, its maintainer is open to init freedom ;-) If not a runit-init issue, this may still be worthwhile to upstream to the Debian BTS for initscripts. Even the systemd-sysv `halt` does not claim to support -i or -h options in its manual page :-o -- System Information: Architecture: x86_64 Kernel: Linux 6.1.0-3-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) LSM: AppArmor: enabled Versions of packages initscripts depends on: ii sysv-rc 3.06-2devuan1 ii sysvinit-utils 3.06-2devuan1 Versions of packages initscripts recommends: ii e2fsprogs 1.46.6-1 pn psmisc <none> initscripts suggests no packages. -- no debconf information Hope this helps, -- Olaf Meeuwissen
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Olaf Meeuwissen <[email protected]> Subject: bug#749: Acknowledgement (initscripts: /etc/init.d/halt calls halt with unsupported options) Message-ID: <[email protected]> References: <874jqv5t46.fsf@basecamp> X-Devuan-PR-Message: ack 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Source: sysvinit Reply-To: [email protected] Date: Wed, 08 Mar 2023 12:26:02 +0000 Thank you for filing a new bug report with Devuan. You can follow progress on this bug here: 749: https://bugs.devuan.org/cgi/= bugreport.cgi?bug=3D749. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to none, olaf meeuwissen <[email protected]> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 749: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D749 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Wed, 08 Mar 2023 12:44:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <874jqv5t46.fsf@basecamp> <874jqv5t46.fsf@basecamp> X-Devuan-PR-Source: sysvinit Received: via spool by [email protected] id=B749.16782794183874 (code B ref 749); Wed, 08 Mar 2023 12:44:01 +0000 Received: (at 749) by bugs.devuan.org; 8 Mar 2023 12:43:38 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 08 Mar 2023 12:43:38 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id IwugF/qCCGR5LgAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Wed, 08 Mar 2023 12:43:38 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 3189E96F; Wed, 8 Mar 2023 12:43:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id F2952895 for <[email protected]>; Wed, 8 Mar 2023 12:43:32 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pZt8k-0005Uy-Jr; Wed, 08 Mar 2023 12:43:30 +0000 Received: (nullmailer pid 21221 invoked by uid 1000); Wed, 08 Mar 2023 12:43:30 -0000 Date: Wed, 8 Mar 2023 12:43:30 +0000 From: Mark Hindley <[email protected]> To: Olaf Meeuwissen <[email protected]>, [email protected] Cc: Lorenzo Puliti <[email protected]> Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874jqv5t46.fsf@basecamp> Olaf, On Wed, Mar 08, 2023 at 08:44:01PM +0900, Olaf Meeuwissen wrote: > Package: initscripts > Version: 3.06-2devuan1 > Severity: normal > X-Debbugs-Cc: none, Olaf Meeuwissen <[email protected]> > > Dear Maintainer, > > Every time I `poweroff` my machine, I see error message flash by that > complain about `halt` being called with unsupported options. I think > I have tracked this down to /etc/init.d/halt making blind assumptions > about the options supported by the `halt` command. Thanks. We keep bumping into issues similar to this with the different halt implementations. I don't immediately have a really good solution. > Said command may be provided by any of a number of packages. A quick > `apt-file search sbin/halt` turns up > > $ apt-file search sbin/halt > bfh-container: /sbin/halt > finit-sysv: /sbin/halt > molly-guard: /sbin/halt > progress-linux-container: /sbin/halt > runit-init: /sbin/halt > systemd-sysv: /sbin/halt > sysvinit-core: /sbin/halt > > Mine happens to be > > $ ls -l /sbin/halt > lrwxrwxrwx 1 root root 19 Feb 10 03:45 /sbin/halt -> /lib/runit/shutdown > > where the symlink target is from the runit package. According to the > manual page, my halt command only supports -f, -w and -n short options. My gut reaction is that runit's halt should either support the sysvinit options even if noop. Lorenzo, I have no real experience of runit yet. What is the relationship between it an initscripts? When are the initscripts used? Is there something you can do within src:runit to avoid this? Thanks Mark
X-Loop: [email protected] Subject: bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options Reply-To: Lorenzo <[email protected]>, [email protected] Resent-From: Lorenzo <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Sat, 11 Mar 2023 01:16:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <874jqv5t46.fsf@basecamp> <[email protected]> <874jqv5t46.fsf@basecamp> X-Devuan-PR-Source: sysvinit Received: via spool by [email protected] id=B749.167849730520079 (code B ref 749); Sat, 11 Mar 2023 01:16:02 +0000 Received: (at 749) by bugs.devuan.org; 11 Mar 2023 01:15:05 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Sat, 11 Mar 2023 01:15:05 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id fXmOKw/WC2QxGwAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Sat, 11 Mar 2023 01:14:55 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 81959979; Sat, 11 Mar 2023 01:14:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=178.21.23.139; helo=knopi.disroot.org; [email protected]; receiver=<UNKNOWN> Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by email.devuan.org (Postfix) with ESMTPS id 197CB63C for <[email protected]>; Sat, 11 Mar 2023 01:14:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AC6734206B; Sat, 11 Mar 2023 02:14:32 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uaOlfW9OfZXb; Sat, 11 Mar 2023 02:14:31 +0100 (CET) Date: Sat, 11 Mar 2023 02:14:24 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678497271; bh=gOY6WF6X8n454qdK6CEaeDyRq6uZzNP+OcdxTDjDxfA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=iG22Skn5jVtvd+3zciiIeaAfa5G8TeFevdGA/yHidhzm0OdW98+Ry2D/Pohgp43FZ sSn5L0KRQtGVO034Y4zbb+2JL2QAUKdHURbG0dCT/l5irGGRo5j3ISEOQCQmpHxKJO 9+YF9roOqv+ESxWWmfgbHh0D7yvg2+SHprLHUJNSvTx05rwsCMnKhQIxullfwImO9D whJSzjCT+s3kqz2NMyFk7Zz8gRoc2TDzWx38IhMjXnCAYeKCenFwqPeX1/3EWnDlmq axjo+eNsddP3ZBUbkkyBSHK9a6pbJd/Gh4SkKlOpc5B644DcztDPb1Cne/6oqfV9LS ACEEcBs62b5lg== From: Lorenzo <[email protected]> To: Mark Hindley <[email protected]> Cc: Olaf Meeuwissen <[email protected]>, [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, On Wed, 8 Mar 2023 12:43:30 +0000 Mark Hindley <[email protected]> wrote: > > where the symlink target is from the runit package. According to > > the manual page, my halt command only supports -f, -w and -n short > > options. > > My gut reaction is that runit's halt should either support the > sysvinit options even if noop. The current behavior of runit's halt is that options -d -h -p -i are ignored except that a warning is printed (the exit status is zero). They are not really noop, since in the original sysvinit implementation each of -d -h -p -i imply halting/poweroff the system, so that's what runit's halt does after "ignoring" such options. I've tested in the past that if I turn -d -h -p -i into noop the switch sysvinit --> runit-init is broken, so I don't want to do that. What is left on runit's side is that I can silence the warning (but I don't think is a good behavior for a program to silently ignore some options - it can be documented in the man page though) or add a special case in 'run_sysv_script' so that 'reboot' and 'halt' scripts are skipped during runit shutdown sequence. > > Lorenzo, > > I have no real experience of runit yet. What is the relationship > between it an initscripts? When are the initscripts used? Runit is currently borrowing from sysvinit (initscripts package) scripts to initialize and shutdown the system; it runs sequentially scripts from /etc/rcS.d/ to boot the system and scripts from /etc/rc0.d/ or /etc/rc6.d/ for shutdown/reboot. > Is there > something you can do within src:runit to avoid this? I think reassigning this to runit as Debian bug with severity minor is appropriate. Lorenzo > > Thanks > > Mark
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Lorenzo <[email protected]> Subject: bug#749: Info received (bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack-info 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Source: sysvinit Reply-To: [email protected] Date: Sat, 11 Mar 2023 01:16:07 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 749: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D749 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options Reply-To: Lorenzo <[email protected]>, [email protected] Resent-From: Lorenzo <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Tue, 14 Mar 2023 13:44:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <874jqv5t46.fsf@basecamp> X-Devuan-PR-Source: sysvinit Received: via spool by [email protected] id=B749.167880133716971 (code B ref 749); Tue, 14 Mar 2023 13:44:02 +0000 Received: (at 749) by bugs.devuan.org; 14 Mar 2023 13:42:17 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 14 Mar 2023 13:42:16 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id Q+GwBX15EGS7KwAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 14 Mar 2023 13:41:17 +0000 Received: by email.devuan.org (Postfix, from userid 109) id F2A3C66D; Tue, 14 Mar 2023 13:41:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=178.21.23.139; helo=knopi.disroot.org; [email protected]; receiver=<UNKNOWN> Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by email.devuan.org (Postfix) with ESMTPS id 9D03C34 for <[email protected]>; Tue, 14 Mar 2023 13:41:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 93E034179B for <[email protected]>; Tue, 14 Mar 2023 14:40:53 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nZr5G76lRZ_Y for <[email protected]>; Tue, 14 Mar 2023 14:40:52 +0100 (CET) Date: Tue, 14 Mar 2023 14:40:45 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678801252; bh=3KmSeChDPLV9q/j9ENoeDv4Q0hn2LoyiH03sSmNhHvw=; h=Date:From:To:Subject:In-Reply-To; b=UAyAv5lXqVlNUj3FVL+65QeQAVoBgBbvFbLwW2VCgyTJe0gFQAfGP/v4hL5v5J8YC LLwAZHnQ7PKfTyqRYDp6hB/MyItoxwRjkXD5ZDjZXgFR5z0Ls9/LJuclXS+KVKOza0 G36Q+Gh7UA5fQv8l2HSIKc4+95gPfsEqu6Tywwz0JJ9K+2m3+2BCVE/yzrpBcgMIC1 UVPVw+a5fBlxlwPlXlv4HlHj0Tk/cwx2JzsTATc613cwIaJzBFEdKe4XdBmH9Bj0hU NbWduGjQ2qdl63CzgFl32AkVZuBXHnbdLlGidXoXcuHYi3qJqhiHVU/jJ928R3W8PX 2sJwowN5o6xhA== From: Lorenzo <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > On Wed, 8 Mar 2023 12:43:30 +0000 > Mark Hindley <[email protected]> wrote: > > Is there > > something you can do within src:runit to avoid this? > I think reassigning this to runit as Debian bug with severity minor is > appropriate. > I've just opened a bug against runit-init https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032943 I think this bug can be closed Lorenzo
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Lorenzo <[email protected]> Subject: bug#749: Info received (bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack-info 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Source: sysvinit Reply-To: [email protected] Date: Tue, 14 Mar 2023 13:44:04 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 749: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D749 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Tue, 14 Mar 2023 17:06:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <874jqv5t46.fsf@basecamp> <[email protected]> <874jqv5t46.fsf@basecamp> X-Devuan-PR-Source: sysvinit Received: via spool by [email protected] id=B749.167881347210562 (code B ref 749); Tue, 14 Mar 2023 17:06:01 +0000 Received: (at 749) by bugs.devuan.org; 14 Mar 2023 17:04:32 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 14 Mar 2023 17:04:32 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id w7+QAvaoEGTnLwAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 14 Mar 2023 17:03:50 +0000 Received: by email.devuan.org (Postfix, from userid 109) id E4695970; Tue, 14 Mar 2023 17:03:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 900AA66E; Tue, 14 Mar 2023 17:03:33 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pc83Z-0004JZ-NZ; Tue, 14 Mar 2023 17:03:25 +0000 Received: (nullmailer pid 7289 invoked by uid 1000); Tue, 14 Mar 2023 17:03:25 -0000 Date: Tue, 14 Mar 2023 17:03:24 +0000 From: Mark Hindley <[email protected]> To: Lorenzo <[email protected]>, [email protected] Cc: [email protected] Message-ID: <ZBCo3KI/[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> Control: tags -1 debian Control: forwarded -1 https://bugs.debian.org/1032943 On Tue, Mar 14, 2023 at 02:40:45PM +0100, Lorenzo wrote: > > > On Wed, 8 Mar 2023 12:43:30 +0000 > > Mark Hindley <[email protected]> wrote: > > > > Is there > > > something you can do within src:runit to avoid this? > > I think reassigning this to runit as Debian bug with severity minor is > > appropriate. > > > I've just opened a bug against runit-init Lorenzo, Thanks. Setting tags and forwarded. Mark
Received: (at 749) by bugs.devuan.org; 14 Mar 2023 17:04:32 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 14 Mar 2023 17:04:32 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id w7+QAvaoEGTnLwAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 14 Mar 2023 17:03:50 +0000 Received: by email.devuan.org (Postfix, from userid 109) id E4695970; Tue, 14 Mar 2023 17:03:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 900AA66E; Tue, 14 Mar 2023 17:03:33 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pc83Z-0004JZ-NZ; Tue, 14 Mar 2023 17:03:25 +0000 Received: (nullmailer pid 7289 invoked by uid 1000); Tue, 14 Mar 2023 17:03:25 -0000 Date: Tue, 14 Mar 2023 17:03:24 +0000 From: Mark Hindley <[email protected]> To: Lorenzo <[email protected]>, [email protected] Cc: [email protected] Subject: Re: bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options Message-ID: <ZBCo3KI/[email protected]> References: <874jqv5t46.fsf@basecamp> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> X-Debbugs-No-Ack: No Thanks Control: tags -1 debian Control: forwarded -1 https://bugs.debian.org/1032943 On Tue, Mar 14, 2023 at 02:40:45PM +0100, Lorenzo wrote: > > > On Wed, 8 Mar 2023 12:43:30 +0000 > > Mark Hindley <[email protected]> wrote: > > > > Is there > > > something you can do within src:runit to avoid this? > > I think reassigning this to runit as Debian bug with severity minor is > > appropriate. > > > I've just opened a bug against runit-init Lorenzo, Thanks. Setting tags and forwarded. Mark
Received: (at 749) by bugs.devuan.org; 14 Mar 2023 17:04:32 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 14 Mar 2023 17:04:32 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id w7+QAvaoEGTnLwAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 14 Mar 2023 17:03:50 +0000 Received: by email.devuan.org (Postfix, from userid 109) id E4695970; Tue, 14 Mar 2023 17:03:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 900AA66E; Tue, 14 Mar 2023 17:03:33 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pc83Z-0004JZ-NZ; Tue, 14 Mar 2023 17:03:25 +0000 Received: (nullmailer pid 7289 invoked by uid 1000); Tue, 14 Mar 2023 17:03:25 -0000 Date: Tue, 14 Mar 2023 17:03:24 +0000 From: Mark Hindley <[email protected]> To: Lorenzo <[email protected]>, [email protected] Cc: [email protected] Subject: Re: bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options Message-ID: <ZBCo3KI/[email protected]> References: <874jqv5t46.fsf@basecamp> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> X-Debbugs-No-Ack: No Thanks Control: tags -1 debian Control: forwarded -1 https://bugs.debian.org/1032943 On Tue, Mar 14, 2023 at 02:40:45PM +0100, Lorenzo wrote: > > > On Wed, 8 Mar 2023 12:43:30 +0000 > > Mark Hindley <[email protected]> wrote: > > > > Is there > > > something you can do within src:runit to avoid this? > > I think reassigning this to runit as Debian bug with severity minor is > > appropriate. > > > I've just opened a bug against runit-init Lorenzo, Thanks. Setting tags and forwarded. Mark
X-Loop: [email protected] Subject: bug#749: initscripts: /etc/init.d/halt calls halt with unsupported options Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-To: Olaf Meeuwissen <[email protected]> X-Loop: [email protected] Resent-Date: Tue, 14 Mar 2023 17:06:09 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: report 749 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: debian References: <874jqv5t46.fsf@basecamp> <[email protected]> <874jqv5t46.fsf@basecamp> X-Devuan-PR-Source: sysvinit Received: via spool by [email protected] id=U749.167881347210564 (code U ref 749); Tue, 14 Mar 2023 17:06:09 +0000 Received: (at 749-submitter) by bugs.devuan.org; 14 Mar 2023 17:04:32 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 14 Mar 2023 17:04:32 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id w7+QAvaoEGTnLwAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 14 Mar 2023 17:03:50 +0000 Received: by email.devuan.org (Postfix, from userid 109) id E4695970; Tue, 14 Mar 2023 17:03:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 900AA66E; Tue, 14 Mar 2023 17:03:33 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pc83Z-0004JZ-NZ; Tue, 14 Mar 2023 17:03:25 +0000 Received: (nullmailer pid 7289 invoked by uid 1000); Tue, 14 Mar 2023 17:03:25 -0000 Date: Tue, 14 Mar 2023 17:03:24 +0000 From: Mark Hindley <[email protected]> To: Lorenzo <[email protected]>, [email protected] Cc: [email protected] Message-ID: <ZBCo3KI/[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> Control: tags -1 debian Control: forwarded -1 https://bugs.debian.org/1032943 On Tue, Mar 14, 2023 at 02:40:45PM +0100, Lorenzo wrote: > > > On Wed, 8 Mar 2023 12:43:30 +0000 > > Mark Hindley <[email protected]> wrote: > > > > Is there > > > something you can do within src:runit to avoid this? > > I think reassigning this to runit as Debian bug with severity minor is > > appropriate. > > > I've just opened a bug against runit-init Lorenzo, Thanks. Setting tags and forwarded. Mark
Received: (at control) by bugs.devuan.org; 14 Mar 2023 17:18:07 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 14 Mar 2023 17:18:07 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id QbofMfyrEGSjMAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 14 Mar 2023 17:16:44 +0000 Received: by email.devuan.org (Postfix, from userid 109) id A373966F; Tue, 14 Mar 2023 17:16:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 88B3EACD for <[email protected]>; Tue, 14 Mar 2023 17:16:16 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pc8Ft-0004Pb-SI for [email protected]; Tue, 14 Mar 2023 17:16:10 +0000 Received: (nullmailer pid 10584 invoked by uid 1000); Tue, 14 Mar 2023 17:16:09 -0000 From: Mark Hindley <[email protected]> To: [email protected] Subject: reassign 749 to runit-init Date: Tue, 14 Mar 2023 17:16:09 +0000 User-Agent: devscripts bts/2.23.2 Message-ID: <[email protected]> reassign 749 runit-init thanks
Received: (at control) by bugs.devuan.org; 14 Mar 2023 17:18:07 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 14 Mar 2023 17:18:07 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id QbofMfyrEGSjMAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 14 Mar 2023 17:16:44 +0000 Received: by email.devuan.org (Postfix, from userid 109) id A373966F; Tue, 14 Mar 2023 17:16:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 88B3EACD for <[email protected]>; Tue, 14 Mar 2023 17:16:16 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pc8Ft-0004Pb-SI for [email protected]; Tue, 14 Mar 2023 17:16:10 +0000 Received: (nullmailer pid 10584 invoked by uid 1000); Tue, 14 Mar 2023 17:16:09 -0000 From: Mark Hindley <[email protected]> To: [email protected] Subject: reassign 749 to runit-init Date: Tue, 14 Mar 2023 17:16:09 +0000 User-Agent: devscripts bts/2.23.2 Message-ID: <[email protected]> reassign 749 runit-init thanks
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Mark Hindley <[email protected]> Subject: bug#749: marked as done (initscripts: /etc/init.d/halt calls halt with unsupported options) Message-ID: <[email protected]> References: <ZJFHjz3rmHNATEx/@hindley.org.uk> <874jqv5t46.fsf@basecamp> X-Devuan-PR-Message: closed 749 X-Devuan-PR-Package: runit-init X-Devuan-PR-Keywords: debian Reply-To: [email protected] Date: Tue, 20 Jun 2023 06:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1687242722-7710-0" This is a multi-part message in MIME format... ------------=_1687242722-7710-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Tue, 20 Jun 2023 07:30:39 +0100 with message-id <ZJFHjz3rmHNATEx/@hindley.org.uk> and subject line Fixed in Debian #1032943 has caused the Devuan bug report #749, regarding initscripts: /etc/init.d/halt calls halt with unsupported options 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.) --=20 749: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D749 Devuan Bug Tracking System Contact [email protected] with problems ------------=_1687242722-7710-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 8 Mar 2023 12:25:37 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 08 Mar 2023 12:25:37 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id 6JWxIWt+CGTnLQAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Wed, 08 Mar 2023 12:24:11 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 77B6796F; Wed, 8 Mar 2023 12:24:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=202.238.237.3; helo=mo-sw.mose-mail.jp; [email protected]; receiver=<UNKNOWN> Received: from mo-sw.mose-mail.jp (mo-sw1801-0.mose-mail.jp [202.238.237.3]) by email.devuan.org (Postfix) with ESMTPS id 45DD5895 for <[email protected]>; Wed, 8 Mar 2023 12:24:03 +0000 (UTC) Received: by mo-sw.mose-mail.jp (mose-mo-sw1801) id 328CNvXR009297; Wed, 8 Mar 2023 21:23:57 +0900 Received: from basecamp (localhost [127.0.0.1]) by mbox.mose-mail.jp (mose-mbox1802) id 328CNrAu007501 for <[email protected]>; Wed, 8 Mar 2023 21:23:54 +0900 Received: from olaf (uid 1000) (envelope-from [email protected]) id 19f426 by basecamp (DragonFly Mail Agent v0.13); Wed, 08 Mar 2023 21:23:53 +0900 User-agent: mu4e 1.8.13; emacs 28.2 From: Olaf Meeuwissen <[email protected]> To: Devuan Bug Tracking System <[email protected]> Subject: initscripts: /etc/init.d/halt calls halt with unsupported options Date: Wed, 08 Mar 2023 20:44:01 +0900 Message-ID: <874jqv5t46.fsf@basecamp> MIME-Version: 1.0 Content-Type: text/plain Package: initscripts Version: 3.06-2devuan1 Severity: normal X-Debbugs-Cc: none, Olaf Meeuwissen <[email protected]> Dear Maintainer, Every time I `poweroff` my machine, I see error message flash by that complain about `halt` being called with unsupported options. I think I have tracked this down to /etc/init.d/halt making blind assumptions about the options supported by the `halt` command. Said command may be provided by any of a number of packages. A quick `apt-file search sbin/halt` turns up $ apt-file search sbin/halt bfh-container: /sbin/halt finit-sysv: /sbin/halt molly-guard: /sbin/halt progress-linux-container: /sbin/halt runit-init: /sbin/halt systemd-sysv: /sbin/halt sysvinit-core: /sbin/halt Mine happens to be $ ls -l /sbin/halt lrwxrwxrwx 1 root root 19 Feb 10 03:45 /sbin/halt -> /lib/runit/shutdown where the symlink target is from the runit package. According to the manual page, my halt command only supports -f, -w and -n short options. The /etc/init.d/halt script may invokes the halt command with -d and -f options and may add any of -i, -p and -h. BTW, I also have runit-init installed which provides the `poweroff` and `halt` commands that get executed. Seeing that runit-init depends on initscripts one could argue that runit-init should support those options in which case feel free to forward this to that package (in the Debian BTS). From past experience, its maintainer is open to init freedom ;-) If not a runit-init issue, this may still be worthwhile to upstream to the Debian BTS for initscripts. Even the systemd-sysv `halt` does not claim to support -i or -h options in its manual page :-o -- System Information: Architecture: x86_64 Kernel: Linux 6.1.0-3-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) LSM: AppArmor: enabled Versions of packages initscripts depends on: ii sysv-rc 3.06-2devuan1 ii sysvinit-utils 3.06-2devuan1 Versions of packages initscripts recommends: ii e2fsprogs 1.46.6-1 pn psmisc <none> initscripts suggests no packages. -- no debconf information Hope this helps, -- Olaf Meeuwissen ------------=_1687242722-7710-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 749-done) by bugs.devuan.org; 20 Jun 2023 06:31:34 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 20 Jun 2023 06:31:34 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id IvS4KJVHkWT6RAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 20 Jun 2023 06:30:45 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 9A0A5615; Tue, 20 Jun 2023 06:30:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 4132D29 for <[email protected]>; Tue, 20 Jun 2023 06:30:40 +0000 (UTC) Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3]) by mx.hindley.org.uk (Postfix) with SMTP id 1D927923 for <[email protected]>; Tue, 20 Jun 2023 07:30:39 +0100 (BST) Received: (nullmailer pid 8847 invoked by uid 1000); Tue, 20 Jun 2023 06:30:39 -0000 Date: Tue, 20 Jun 2023 07:30:39 +0100 From: Mark Hindley <[email protected]> To: [email protected] Subject: Fixed in Debian #1032943 Message-ID: <ZJFHjz3rmHNATEx/@hindley.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debbugs-No-Ack: No Thanks Version: 2.1.2-55 ------------=_1687242722-7710-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Olaf Meeuwissen <[email protected]> Subject: bug#749 closed by Mark Hindley <[email protected]> (Fixed in Debian #1032943) Message-ID: <[email protected]> References: <ZJFHjz3rmHNATEx/@hindley.org.uk> <874jqv5t46.fsf@basecamp> X-Devuan-PR-Message: they-closed 749 X-Devuan-PR-Package: runit-init X-Devuan-PR-Keywords: debian Reply-To: [email protected] Date: Tue, 20 Jun 2023 06:32:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1687242724-7710-1" This is a multi-part message in MIME format... ------------=_1687242724-7710-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the runit-init package: #749: initscripts: /etc/init.d/halt calls halt with unsupported options It has been closed by Mark Hindley <[email protected]>. Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Mark Hindley <mark@hin= dley.org.uk> by replying to this email. --=20 749: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D749 Devuan Bug Tracking System Contact [email protected] with problems ------------=_1687242724-7710-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 749-done) by bugs.devuan.org; 20 Jun 2023 06:31:34 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Tue, 20 Jun 2023 06:31:34 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id IvS4KJVHkWT6RAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Tue, 20 Jun 2023 06:30:45 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 9A0A5615; Tue, 20 Jun 2023 06:30:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 4132D29 for <[email protected]>; Tue, 20 Jun 2023 06:30:40 +0000 (UTC) Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3]) by mx.hindley.org.uk (Postfix) with SMTP id 1D927923 for <[email protected]>; Tue, 20 Jun 2023 07:30:39 +0100 (BST) Received: (nullmailer pid 8847 invoked by uid 1000); Tue, 20 Jun 2023 06:30:39 -0000 Date: Tue, 20 Jun 2023 07:30:39 +0100 From: Mark Hindley <[email protected]> To: [email protected] Subject: Fixed in Debian #1032943 Message-ID: <ZJFHjz3rmHNATEx/@hindley.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debbugs-No-Ack: No Thanks Version: 2.1.2-55 ------------=_1687242724-7710-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 8 Mar 2023 12:25:37 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 08 Mar 2023 12:25:37 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id 6JWxIWt+CGTnLQAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Wed, 08 Mar 2023 12:24:11 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 77B6796F; Wed, 8 Mar 2023 12:24:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=202.238.237.3; helo=mo-sw.mose-mail.jp; [email protected]; receiver=<UNKNOWN> Received: from mo-sw.mose-mail.jp (mo-sw1801-0.mose-mail.jp [202.238.237.3]) by email.devuan.org (Postfix) with ESMTPS id 45DD5895 for <[email protected]>; Wed, 8 Mar 2023 12:24:03 +0000 (UTC) Received: by mo-sw.mose-mail.jp (mose-mo-sw1801) id 328CNvXR009297; Wed, 8 Mar 2023 21:23:57 +0900 Received: from basecamp (localhost [127.0.0.1]) by mbox.mose-mail.jp (mose-mbox1802) id 328CNrAu007501 for <[email protected]>; Wed, 8 Mar 2023 21:23:54 +0900 Received: from olaf (uid 1000) (envelope-from [email protected]) id 19f426 by basecamp (DragonFly Mail Agent v0.13); Wed, 08 Mar 2023 21:23:53 +0900 User-agent: mu4e 1.8.13; emacs 28.2 From: Olaf Meeuwissen <[email protected]> To: Devuan Bug Tracking System <[email protected]> Subject: initscripts: /etc/init.d/halt calls halt with unsupported options Date: Wed, 08 Mar 2023 20:44:01 +0900 Message-ID: <874jqv5t46.fsf@basecamp> MIME-Version: 1.0 Content-Type: text/plain Package: initscripts Version: 3.06-2devuan1 Severity: normal X-Debbugs-Cc: none, Olaf Meeuwissen <[email protected]> Dear Maintainer, Every time I `poweroff` my machine, I see error message flash by that complain about `halt` being called with unsupported options. I think I have tracked this down to /etc/init.d/halt making blind assumptions about the options supported by the `halt` command. Said command may be provided by any of a number of packages. A quick `apt-file search sbin/halt` turns up $ apt-file search sbin/halt bfh-container: /sbin/halt finit-sysv: /sbin/halt molly-guard: /sbin/halt progress-linux-container: /sbin/halt runit-init: /sbin/halt systemd-sysv: /sbin/halt sysvinit-core: /sbin/halt Mine happens to be $ ls -l /sbin/halt lrwxrwxrwx 1 root root 19 Feb 10 03:45 /sbin/halt -> /lib/runit/shutdown where the symlink target is from the runit package. According to the manual page, my halt command only supports -f, -w and -n short options. The /etc/init.d/halt script may invokes the halt command with -d and -f options and may add any of -i, -p and -h. BTW, I also have runit-init installed which provides the `poweroff` and `halt` commands that get executed. Seeing that runit-init depends on initscripts one could argue that runit-init should support those options in which case feel free to forward this to that package (in the Debian BTS). From past experience, its maintainer is open to init freedom ;-) If not a runit-init issue, this may still be worthwhile to upstream to the Debian BTS for initscripts. Even the systemd-sysv `halt` does not claim to support -i or -h options in its manual page :-o -- System Information: Architecture: x86_64 Kernel: Linux 6.1.0-3-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) LSM: AppArmor: enabled Versions of packages initscripts depends on: ii sysv-rc 3.06-2devuan1 ii sysvinit-utils 3.06-2devuan1 Versions of packages initscripts recommends: ii e2fsprogs 1.46.6-1 pn psmisc <none> initscripts suggests no packages. -- no debconf information Hope this helps, -- Olaf Meeuwissen ------------=_1687242724-7710-1--
Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.
Devuan Bugs Owner <[email protected]>.
Last modified:
Sat, 18 Jan 2025 08:39:01 UTC