[Pkg-sysvinit-devel] Bug#846915: Fixing OpenRC halt/reboot behavior by updating initscripts

lumin cdluminate at gmail.com
Sun Dec 4 09:46:04 UTC 2016


Package: initscripts
Version: 2.88dsf-59.8
Severity: important
Tags: patch
X-Debbugs-CC: 844685 at bugs.debian.org, pkg-sysvinit-devel at lists.alioth.debian.org, openrc-devel at lists.alioth.debian.org, debian-devel at lists.debian.org

Hello guys,

I find a simple way to fix an OpenRC bug [1] by updating initscripts
package. So both sysvinit list and openrc list are rolled in the CC list.

The OpenRC bug [1] is introduced by this commit:

https://anonscm.debian.org/cgit/openrc/openrc.git/commit/?id=f1ec5852df7db55e7bb170b26997c75676430c5b

It removed the "transit" script and the "reboot" and "halt"
behavior gets broken in my kfreebsd-amd64 virtual machine.
>From the openrc maintainer's comments and logs, it seems that
keeping "transit" script is a pain to them.

However, I fixed this problem in my kfreebsd virtual machine
adding merely two lines of code in initscripts. Maybe this
is better than bringing the "pain" back to openrc maintainers?

I'm not quite familiar with openrc and initscripts so I'm not
sure if my solution is correct.

P.S. It is really annoying when I cannot poweroff my kfreebsd
virtual machine with any of them: "poweroff" "halt" "shutdown"
except for "/etc/init.d/halt stop".

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844685
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-openrc-halt-and-reboot-behavior-from-initscripts.patch
Type: text/x-patch
Size: 1780 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20161204/37d70801/attachment.bin>


More information about the Pkg-sysvinit-devel mailing list