Bug#765175: systemd init script integration: status action should use --lines=0

2016-04-28 Thread Michael Biebl
Am 28.04.2016 um 23:43 schrieb Martin Pitt: > Michael Biebl [2016-04-28 23:14 +0200]: >> I was under the impression that the systemctl command detects if you are >> running it from a terminal or not and disables the pager in the latter case. > > It does, but if the calling command runs in a termin

Bug#765175: systemd init script integration: status action should use --lines=0

2016-04-28 Thread Martin Pitt
Michael Biebl [2016-04-28 23:14 +0200]: > I was under the impression that the systemctl command detects if you are > running it from a terminal or not and disables the pager in the latter case. It does, but if the calling command runs in a terminal itself (like "vagrant up") that doesn't help. Ma

Bug#765175: systemd init script integration: status action should use --lines=0

2016-04-28 Thread Gerben Meijer
On 28/04/16 23:14, Michael Biebl wrote: Do we? If I run /etc/init.d/foo status on a terminal having a pager might be useful. I was under the impression that the systemctl command detects if you are running it from a terminal or not and disables the pager in the latter case. It may be useful, bu

Bug#765175: systemd init script integration: status action should use --lines=0

2016-04-28 Thread Michael Biebl
Am 28.04.2016 um 22:56 schrieb Martin Pitt: > It's also the wrong fix -- it might be argued that we don't want/need > journal output for this case for some corner-case performance reasons, > but for the most part this is pretty useful. What we really want (for > this bug report anyway) is to disabl

Bug#765175: systemd init script integration: status action should use --lines=0

2016-04-28 Thread Martin Pitt
Control: retitle -1 systemd init script integration: status action should disable pager Control: severity -1 important Control: tag -1 pending Hello Gerben, Gerben Meijer [2016-04-28 21:12 +0200]: > For example, on a 'vagrant up' with a Vagrantfile using an nfs > synced_folder, vagrant will invo

Bug#765175: systemd init script integration: status action should use --lines=0

2016-04-28 Thread Gerben Meijer
I'd like to escalate this to a higher priority. There are existing applications that expect init scripts to return a string or RC value. The current code in /lib/lsb/init-functions.d/40-systemd looks like this: [ "$command" = status ] || log_daemon_msg "$s" "$service" /bin/systemctl $sctl_arg

Bug#765175: systemd init script integration: status action should use --lines=0

2014-10-13 Thread Ansgar Burchardt
Package: systemd Version: 215-5+b1 Priority: wishlist Hi, as discussed with Michael Biebl on IRC this morning, please consider changing the init script integration: the status action should pass --lines=0 to systemctl, i.e. "/etc/init.d/${x} status" should call "systemctl --lines=0 status ${x}".