Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 329738 Details for
Bug 407167
sys-apps/openrc: localmount unmounts all local filesystems when switching or booting to runlevel 1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-rc-going-to-single-user-mode-is-not-shutting-down.patch
0001-rc-going-to-single-user-mode-is-not-shutting-down.patch (text/plain), 1.01 KB, created by
William Hubbs
on 2012-11-17 18:04:08 UTC
(
hide
)
Description:
0001-rc-going-to-single-user-mode-is-not-shutting-down.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2012-11-17 18:04:08 UTC
Size:
1.01 KB
patch
obsolete
>From bc86260bef878f21c1f959ed0ea1af07dbcc9973 Mon Sep 17 00:00:00 2001 >From: William Hubbs <w.d.hubbs@gmail.com> >Date: Sat, 17 Nov 2012 11:46:01 -0600 >Subject: [PATCH] rc: going to single user mode is not shutting down > >In the past, RC_GOINGDOWN was set to yes when we were going to single >user mode. This is not correct since we are not shutting down. > >Reported-by: alexpro@homelan.lg.ua >X-Gentoo-Bug: 407167 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=407167#C5 >--- > src/rc/rc.c | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > >diff --git a/src/rc/rc.c b/src/rc/rc.c >index 2590048..3f7af72 100644 >--- a/src/rc/rc.c >+++ b/src/rc/rc.c >@@ -885,9 +885,7 @@ main(int argc, char **argv) > /* Now we start handling our children */ > signal_setup(SIGCHLD, handle_signal); > >- if (newlevel && >- (strcmp(newlevel, RC_LEVEL_SHUTDOWN) == 0 || >- strcmp(newlevel, RC_LEVEL_SINGLE) == 0)) >+ if (newlevel && strcmp(newlevel, RC_LEVEL_SHUTDOWN) == 0) > { > going_down = true; > if (!exists(RC_KRUNLEVEL)) >-- >1.7.8.6 >
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 407167
: 329738