Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 270823 Details for
Bug 364159
sys-apps/openrc: runscript should disallow starting services when not running OpenRC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
warn-not-boot.patch
warn-not-boot.patch (text/plain), 612 bytes, created by
William Hubbs
on 2011-04-22 00:50:06 UTC
(
hide
)
Description:
warn-not-boot.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2011-04-22 00:50:06 UTC
Size:
612 bytes
patch
obsolete
>diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in >index 229d1ee..2459091 100644 >--- a/sh/runscript.sh.in >+++ b/sh/runscript.sh.in >@@ -16,6 +16,16 @@ sourcex() > fi > } > >+if [ ! -e ${RC_SVCDIR}/softlevel ]; then >+ ewarn >+ ewarn "You are attempting to run an openrc service on a" >+ ewarn "system which openrc did not boot." >+ ewarn "You may be inside a chroot or you may have used" >+ ewarn "another initialization system to boot this system." >+ ewarn "In this situation, you will get unpredictable results!" >+ ewarn >+fi >+ > sourcex "@SYSCONFDIR@/init.d/functions.sh" > sourcex "@LIBEXECDIR@/sh/rc-functions.sh" >
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 Raw
Actions:
View
Attachments on
bug 364159
:
270657
| 270823 |
272575