Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 303679 Details for
Bug 444001
Annoying startup and rc1, rcS, rcS-sulogin message glitches, man page typos.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for this issue
diff (text/plain), 2.03 KB, created by
Bill Nottingham
on 2008-04-24 19:43:39 UTC
(
hide
)
Description:
patch for this issue
Filename:
MIME Type:
Creator:
Bill Nottingham
Created:
2008-04-24 19:43:39 UTC
Size:
2.03 KB
patch
obsolete
>diff -ru event-compat-sysv-0.3.9/rc1 event-compat-sysv-0.3.9.foo/rc1 >--- event-compat-sysv-0.3.9/rc1 2008-04-24 15:42:35.000000000 -0400 >+++ event-compat-sysv-0.3.9.foo/rc1 2008-04-24 15:42:15.000000000 -0400 >@@ -1,6 +1,9 @@ > # rc1 - runlevel 1 compatibility > # > # This task runs the old sysv-rc runlevel 1 ("single-user") scripts. >+# /etc/rc.d/rc 1 will run the /etc/rc.d/rc1.d scripts. >+# telinit S will run whichever task has "start on runlevel S", >+# normally /etc/event.d/rcS-sulogin > > start on runlevel 1 > >@@ -17,3 +20,8 @@ > > exec /etc/rc.d/rc 1 > end script >+post-stop script >+ clear >+ echo "Telling INIT to go to single user mode." >+ exec telinit S >+end script >diff -ru event-compat-sysv-0.3.9/rcS event-compat-sysv-0.3.9.foo/rcS >--- event-compat-sysv-0.3.9/rcS 2008-04-24 15:42:35.000000000 -0400 >+++ event-compat-sysv-0.3.9.foo/rcS 2008-04-24 15:42:15.000000000 -0400 >@@ -15,7 +15,8 @@ > > /etc/rc.d/rc.sysinit > runlevel --reboot || true >- >+end script >+post-stop script > runlevel=$(/bin/awk -F ':' '$3 == "initdefault" { print $2 }' /etc/inittab) > [ -z "$runlevel" ] && runlevel="3" > for t in $(cat /proc/cmdline); do >@@ -24,5 +25,5 @@ > [1-9]) runlevel="$t" ;; > esac > done >- telinit $runlevel >+ exec telinit $runlevel > end script >diff -ru event-compat-sysv-0.3.9/rcS-sulogin event-compat-sysv-0.3.9.foo/rcS-sulogin >--- event-compat-sysv-0.3.9/rcS-sulogin 2008-04-24 15:42:35.000000000 -0400 >+++ event-compat-sysv-0.3.9.foo/rcS-sulogin 2008-04-24 15:42:15.000000000 -0400 >@@ -1,18 +1,19 @@ > # rcS-sulogin - "single-user" runlevel compatibility > # >-# This task runs the sulogin binary during "single-user" mode. >+# This task runs /bin/bash during "single-user" mode, >+# then continues to the default runlevel. > > start on runlevel S > > stop on runlevel > > console owner >- > script > runlevel --set S >/dev/null || true >- /bin/bash >- >+ /bin/bash || true >+end script >+post-stop script > runlevel=$(/bin/awk -F ':' '$3 == "initdefault" { print $2 }' /etc/inittab) > [ -z "$runlevel" ] && runlevel="3" >- telinit $runlevel >+ exec telinit $runlevel > end script
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 444001
:
303642
|
303655
| 303679