Bug 69962

Summary: MSG: improve error message when systemd is not INIT/PID 1
Product: systemd Reporter: LoneVVolf <lonewolf>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description LoneVVolf 2013-09-30 12:38:41 UTC
On my system i sometimes boot with systemd as init, but also boot with openrc as init.

If i execute a systemd command while booted with openrc, i get this message :

Failed to issue method call: Launch helper exited with unknown return code 1


While i know this is caused by booting with another init/PID 1 then systemd, i feel this message could be clearer.

Maybe it could be changed to something like :

This command requires the system to be booted with systemd, aborting

?
Comment 1 Lennart Poettering 2017-11-13 21:51:03 UTC
Fixed upstream:

https://github.com/systemd/systemd/pull/7318

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.