Bug#887501: systemctl status should not use --pager
Guido Günther
agx at sigxcpu.org
Wed Jan 17 13:15:53 GMT 2018
Package: init-system-helpers
Version: 1.51
Severity: normal
Tags: patch
Hi,
systemctl status should be invoked with --no-pager, otherwise it might
hang on non-interactive command. This was observed running serverspec's
describe service('systemd-timesyncd') do
it { should be_running }
end
Possible patch attached.
Cheers,
-- Guido
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages init-system-helpers depends on:
ii perl-base 5.26.1-3
init-system-helpers recommends no packages.
init-system-helpers suggests no packages.
Versions of packages init-system-helpers is related to:
ii insserv 1.14.0-5.4+b1
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-service-pass-no-pager-to-systemctl-status.patch
Type: text/x-diff
Size: 1033 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20180117/82d16277/attachment.patch>
More information about the Pkg-systemd-maintainers
mailing list