Bug#706676: bug 706676 remains in the newest sysvinit-core sid
Thorsten Glaser
t.glaser at tarent.de
Fri Feb 26 08:01:22 GMT 2021
reassign 706676 lxc
# don't set these; they are used by the release team, and the PTS
# uses version tracking, for which it also doesn't need the tags
tags 706676 - bullseye sid
# the submitted patch is not acceptable, it would break other
# packages, see below
tags 706676 - patch
thanks
On Fri, 26 Feb 2021, Ryutaroh Matsumoto wrote:
> A correct patch is as follows:
>
> --- usr/share/sysvinit/inittab 2021-02-21 22:53:09.000000000 +0900
> +++ /tmp/inittab.lxc 2021-02-26 15:47:39.711010978 +0900
> @@ -36,9 +36,9 @@
> #kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
>
> # What to do when the power fails/returns.
> -pf::powerwait:/etc/init.d/powerfail start
> -pn::powerfailnow:/etc/init.d/powerfail now
> -po::powerokwait:/etc/init.d/powerfail stop
> +pf::powerwait:/sbin/shutdown -P +1
> +pn::powerfailnow:/sbin/shutdown -P now
> +po::powerokwait:/sbin/shutdown -c "Power supply recovered."
I don’t think so. Just create a file /etc/init.d/powerfail
that does the correct actions. You can have lxc automate
that, even.
There’s a package powstatd that ships /etc/init.d/powerfail
and this would remove support for it.
bye,
//mirabilos
--
Infrastrukturexperte • tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
*************************************************
Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter
*************************************************
More information about the Debian-init-diversity
mailing list