Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 868089 Details for
Bug 911257
sys-apps/sysvinit-3.07: /sbin/halt always acts as if option -p was given
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sys-apps/sysvinit: Add postinst message about halt bugfix
0001-sys-apps-sysvinit-Add-postinst-message-about-halt-bu.patch (text/plain), 1.18 KB, created by
Ulrich Müller
on 2023-08-17 17:44:33 UTC
(
hide
)
Description:
sys-apps/sysvinit: Add postinst message about halt bugfix
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2023-08-17 17:44:33 UTC
Size:
1.18 KB
patch
obsolete
>From e377e096a90930970d64b6c4b064608e7383a60a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org> >Date: Thu, 17 Aug 2023 19:41:35 +0200 >Subject: [PATCH] sys-apps/sysvinit: Add postinst message about halt bugfix >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Bug: https://bugs.gentoo.org/911257#c7 >Signed-off-by: Ulrich Müller <ulm@gentoo.org> >--- > sys-apps/sysvinit/sysvinit-3.07-r1.ebuild | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild b/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild >index 349a3b1db05e..ca8d69b8a11c 100644 >--- a/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild >+++ b/sys-apps/sysvinit/sysvinit-3.07-r1.ebuild >@@ -187,4 +187,13 @@ pkg_postinst() { > if [[ ! -e "${EROOT}/var/log/boot" ]] ; then > touch "${EROOT}/var/log/boot" > fi >+ >+ local ver >+ for ver in ${REPLACING_VERSIONS}; do >+ ver_test ${ver} -gt 3.07-r1 && continue >+ elog "Previously, the 'halt' command caused the system to power off" >+ elog "even if option -p was not given. This long-standing bug has" >+ elog "been fixed, and the command now behaves as documented." >+ break >+ done > } >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 911257
: 868089