Package: sysv-rc
Version: 2.88dsf-53.3
Priority: wishlist
X-Debbugs-Cc: pkg-systemd-maintain...@lists.alioth.debian.org

Hi,

as discussed with Michael Biebl on IRC this morning, please consider
changing how invoke-rc.d forwards commands to systemctl: the status
action should pass --lines=0, i.e. "invoke-rc.d ${x} status" should call
"systemctl --lines=0 status ${x}". Please also implement the same change
in the "service" utility.

This avoids accessing the journal which can be slow if a persistant
journal on rotating disks is used (it's very slow on my netbook). The
status action is used by service monitors[2] and thus should always
return quickly.

Please also consider forwarding the "try-restart", "reload-or-restart"
and "reload-or-try-restart" actions to the respective systemctl
commands.

See also [1] for the corresponding change in systemd's init script hook.

Ansgar

  [1] <https://bugs.debian.org/765175>
  [2] Ideally these should use "systemctl --quiet is-active" on systems
      using systemd as init.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to