Bug 43753 - Allow verbose output when using systemctl for services start/stop/etc options
Summary: Allow verbose output when using systemctl for services start/stop/etc options
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 08:20 UTC by Paulo Castro
Modified: 2012-02-01 21:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.