[Bug 1693948] Re: useless diagnostics in dpkg.log from journalctl due to ellipses
Balint Reczey
balint.reczey at canonical.com
Thu Oct 11 16:47:53 UTC 2018
** Package changed: dpkg (Ubuntu) => init-system-helpers (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1693948
Title:
useless diagnostics in dpkg.log from journalctl due to ellipses
Status in init-system-helpers package in Ubuntu:
Confirmed
Bug description:
Many of the apport hooks try to include some information about why a
service didn't start correctly. One recent report included the
following:
May 26 18:39:19 ux305ua-linux systemd[1]: Starting OpenBSD Secure Shell serv....
May 26 18:39:19 ux305ua-linux sshd[2500]: /etc/ssh/sshd_config line 64: miss....
May 26 18:39:19 ux305ua-linux systemd[1]: [0;1;39mssh.service: Main process exited, ...a[0m
May 26 18:39:19 ux305ua-linux systemd[1]: [0;1;31mFailed to start OpenBSD Secure She....[0m
May 26 18:39:19 ux305ua-linux systemd[1]: [0;1;39mssh.service: Unit entered failed s....[0m
May 26 18:39:19 ux305ua-linux systemd[1]: [0;1;39mssh.service: Failed with result 'e....[0m
Hint: Some lines were ellipsized, use -l to show in full.
The actual error information is this:
/etc/ssh/sshd_config line 64: miss....
and
Failed with result 'e....
This is very nearly useless.
We should include the -l parameter as suggested so that we stand a
chance of seeing an error that doesn't occur in the first twenty
characters of program output.
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1693948/+subscriptions
More information about the foundations-bugs
mailing list