Bug#764481: systemd: Verbosity in journalctl is lacking

Michael Biebl biebl at debian.org
Wed Oct 8 15:37:11 BST 2014


Am 08.10.2014 um 16:04 schrieb Brian Potkin:
> Package: systemd
> Version: 215-5+b1
> Severity: normal
> 
> 
> 
> 
> This machine began with a minimal install from d-i's beta 2 image and
> exim4, cups, dnsmasq, openssh-server and gpm were installed before
> upgrading to the present unstable.
> 
> Under systemd 208-6 (provided by d-i) the following command was issued:
> 
>   systemctl stop cron.service cups.socket dnsmasq.service ssh.service exim4.service gpm.service
> 
> Journalctl recorded
> 
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopping Regular background program processing daemon...
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopped Regular background program processing daemon.
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopping CUPS Printing Service Sockets.
>   Oct 08 14:29:52 jessie-208 systemd[1]: Closed CUPS Printing Service Sockets.
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopping Host and Network Name Lookups.
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopped target Host and Network Name Lookups.
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopping A lightweight DHCP and caching DNS server...
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopping OpenBSD Secure Shell server...
>   Oct 08 14:29:52 jessie-208 sshd[715]: Received signal 15; terminating.
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopped OpenBSD Secure Shell server.
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopping LSB: exim Mail Transport Agent...
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopping LSB: gpm sysv init script...
>   Oct 08 14:29:52 jessie-208 dnsmasq[1208]: exiting on receipt of SIGTERM
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopped A lightweight DHCP and caching DNS server.
>   Oct 08 14:29:52 jessie-208 exim4[1286]: Stopping MTA: exim4_listener.
>   Oct 08 14:29:52 jessie-208 systemd[1]: Stopped LSB: exim Mail Transport Agent.
>   Oct 08 14:29:52 jessie-208 gpm[1287]: Stopping mouse interface server: gpm.
> 
> The same command under systemd 215-5 produced:
> 
>   Oct 08 14:51:01 jessie-b2 sshd[375]: Received signal 15; terminating.
>   Oct 08 14:51:01 jessie-b2 dnsmasq[392]: reading /etc/resolv.conf
>   Oct 08 14:51:01 jessie-b2 dnsmasq[392]: using nameserver 192.168.7.1#53
>   Oct 08 14:51:01 jessie-b2 dnsmasq[392]: exiting on receipt of SIGTERM
>   Oct 08 14:51:01 jessie-b2 exim4[735]: Stopping MTA: exim4_listener.
>   Oct 08 14:51:01 jessie-b2 gpm[749]: Stopping mouse interface server: gpm.
> 
> Apart from no "Stopping....." for the non-LSB services there is no record
> at all cron or cups. Stopping, starting or restarting any of cups.service
> cups.socket and cups.path leaves no trace in journalctl. There appears to
> be nothing in the /etc configuration files to account for this.
> 

If you always want the status message in the logs, you can use
systemd.show_status=true
This behaviour changed slightly with v215 [1]

Michael

[1]
http://www.freedesktop.org/software/systemd/man/systemd.html#systemd.show_status=
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141008/ab294a09/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list