[Bug 681127] New: systemd is lacking proper error reporting
https://bugzilla.novell.com/show_bug.cgi?id=681127 https://bugzilla.novell.com/show_bug.cgi?id=681127#c0 Summary: systemd is lacking proper error reporting Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: Beta-Customer Blocker: --- # rcdhcpd start # ps xaf | grep dhcp 13430 pts/3 S+ 0:00 \_ grep --color=auto dhcp So /etc/init.d/dhcpd did not start anything. Let's see: # systemctl status dhcpd.service dhcpd.service - LSB: ISC DHCP 4.x Server Loaded: loaded (/etc/init.d/dhcpd) Active: active (exited) since Sun, 20 Mar 2011 23:41:20 +0100; 3min 7s ago Process: 13116 ExecStart=/etc/init.d/dhcpd start (code=exited, status=6/NOTCONFIGURED) CGroup: name=systemd:/system/dhcpd.service But there is no mention in /var/log/messages or otherwise as to what actually went wrong. I changed /etc/rc.status temporarily: -if /bin/mountpoint -q /sys/fs/cgroup/systemd > /dev/null 2>&1 ; then +if false && /bin/mountpoint -q /sys/fs/cgroup/systemd > /dev/null 2>&1 ; then And then retried rcdhcpd, and it finally gave me the proper message: # rcdhcpd start Starting ISC DHCPv4 4.x Server ... set DHCPD_INTERFACE in /etc/sysconfig/dhcpd skipped A totally normal issue of humans missing out on config options, but it is real unfortunate nobody is going to see this much needed message with systemctl ATM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c1
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c2
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c3
Kay Sievers
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c
Kay Sievers
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c4
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c5
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c6
--- Comment #6 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c7
--- Comment #7 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c8
--- Comment #8 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c9
Cristian Rodríguez
The only addition which will happen in the future is the relevant log for each service, when using systemctl status, thanks to systemd journal.
Which is now implemented . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c10
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c11
--- Comment #11 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=681127
https://bugzilla.novell.com/show_bug.cgi?id=681127#c
Jan Engelhardt
participants (1)
-
bugzilla_noreply@novell.com