Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292841 - sys-apps/sysvinit-2.86-r12+ runs rc single twice
Summary: sys-apps/sysvinit-2.86-r12+ runs rc single twice
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 20:41 UTC by Roy Marples
Modified: 2009-11-11 21:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Avoid running single mode twice on shutdown (inittab.diff,339 bytes, patch)
2009-11-11 20:42 UTC, Roy Marples
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Marples 2009-11-11 20:41:22 UTC
This is due to inittab having S for runlevel 1 as well.
Comment 1 Roy Marples 2009-11-11 20:42:51 UTC
Created attachment 209942 [details, diff]
Avoid running single mode twice on shutdown
Comment 2 SpanKY gentoo-dev 2009-11-11 21:13:34 UTC
looks to me like that'll break `telinit S`, or am i missing something ?
Comment 3 Roy Marples 2009-11-11 21:35:36 UTC
You missed the new section in inittab installed with -r12

# new-style single-user
su0:S:wait:/sbin/rc single
su1:S:wait:/sbin/sulogin

`telinit S` still works
Comment 4 SpanKY gentoo-dev 2009-11-11 21:51:23 UTC
sounds good to me then, thanks.  added to 2.87-r1.

http://sources.gentoo.org/sys-apps/sysvinit/files/inittab-2.86-r12?r1=1.2&r2=1.3