[Bug 1693948] Re: useless diagnostics from journalctl due to ellipses
Brian Murray
brian at ubuntu.com
Tue Oct 17 20:10:57 UTC 2017
The manual for journalctl for artful indicates that the default should
be the full line.
--no-full, --full, -l
Ellipsize fields when they do not fit in available columns. The default is to show full fields, allowing them to wrap or be truncated by the pager, if one is used.
The old options -l/--full are not useful anymore, except to
undo --no-full.
Do you happen to know from which release the crash report you saw had
ellipsized lines?
** Tags added: rls-bb-incoming
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1693948
Title:
useless diagnostics in DpkgTerminalLog from journalctl due to ellipses
Status in apport package in Ubuntu:
Incomplete
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/apport/+bug/1693948/+subscriptions
More information about the foundations-bugs
mailing list