Summary: | sys-apps/sysvinit should re-execute itself at shutdown | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Gilbert <floppym> |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, openrc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=499662 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 642784 | ||
Attachments: |
init script
init script v2 call telinit u from inittab |
Description
Mike Gilbert
2017-12-31 16:54:34 UTC
Created attachment 512870 [details]
init script
Here's an init script that should get the job done. This should be added to the "boot" runlevel in pkg_postinst.
Created attachment 512872 [details]
init script v2
Alternate init script, should be added to the 'shutdown' runlevel.
Created attachment 553548 [details, diff]
call telinit u from inittab
Here's another alternative that calls telinit u from inittab for the relevant runlevels.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91617e997cdde5eb4c1fba797fdcb221dcbbd8a commit d91617e997cdde5eb4c1fba797fdcb221dcbbd8a Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2018-10-28 19:12:43 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2018-10-31 14:10:03 +0000 sys-apps/sysvinit: call telinit u when halting or rebooting Closes: https://bugs.gentoo.org/642858 Package-Manager: Portage-2.3.51_p2, Repoman-2.3.11_p27 Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: William Hubbs <williamh@gentoo.org> sys-apps/sysvinit/files/inittab-2.91 | 61 ++++++++++++++++ sys-apps/sysvinit/sysvinit-2.91-r1.ebuild | 117 ++++++++++++++++++++++++++++++ 2 files changed, 178 insertions(+) |