Bug 43753

Summary: Allow verbose output when using systemctl for services start/stop/etc options
Product: systemd Reporter: Paulo Castro <pauloedgarcastro>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Paulo Castro 2011-12-12 08:20:48 UTC
I don't think this exists or at least I couldn't find it in the systemctl man page.

I just had an issue with starting a service whereas all the output the init script was throwing was being hidden by systemctl.

In despair I had to comment the loading of /etc/rc.d/init.d/functions so that I could run the service via bash -x and have a glimpse of the problem.

I'm not sure if this happened so because of the particular service I was trying to start.

This was the output of the service via systemctl :

[root@host ~]# systemctl start cman.service
Job failed. See system logs and 'systemctl status' for details.

And cman wasn't really outputting nothing useful in any of the logs in full debug mode.

Regards,


   PECastro
Comment 1 Lennart Poettering 2012-02-01 21:30:30 UTC
systemd 38 and newer writes all service output of sysv services into the logs. And we also shows this now in "systemctl status". Getting the right output should be obvious now, hence.

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.