[Bug 1702063] Re: systemctl -n option ignores values greater than 10

2017-07-03 Thread Dimitri John Ledkov
** Changed in: systemd (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1702063 Title: systemctl -n option ignores values greater than 10 To manage notifi

Re: [Bug 1702063] Re: systemctl -n option ignores values greater than 10

2017-07-03 Thread Jon Forsberg
yep that seems to be the reason. if the service is started it only shows lines relevant to the current instance, if its not started it will show the requested number of lines. maybe the manpage should include something about this. it confused me. feel free to mark this as a feature request or close

[Bug 1702063] Re: systemctl -n option ignores values greater than 10

2017-07-03 Thread Dimitri John Ledkov
are there more than 10 lines of logs for the current /instance/ of the unit? E.g. has it produced more than 10 lines of output since it was started? For example, I launch a lxd container of xenial, and $ systemctl status -n 20 cloud-init -> displays 20 lines of logs. How long is the journal for t