Bug#904913: systemd: systemctl cat 'foo*' (using shellglob patterns) only lists active units

Michael Biebl biebl at debian.org
Sun Aug 5 09:02:44 BST 2018


Am 29.07.2018 um 15:32 schrieb Michael Prokop:

> 1) "systemctl cat ssh.service" NOT list its unit if it's not running, or
> 2) "systemctl cat 'ssh*'" *list* its unit file even if it's not running,
> but known to the sysstem (since `systemctl cat ssh.service` lists it too)?
> 
> (JFTR, I wanted to report it to Debian's BTS before going towards
> upstream, though I'm more than happy to take care of this, though
> I'd appreciate your feedback before doing so.)

I don't see an immediate reason, why systemctl cat 'ssh*' should require
ssh.service to be active (the whole point of cat is, that it shows the
backing file on disk, which doesn't necessarily reflect the state in
memory).
So yes, this sounds like a bug to me and it would be great if you can
raise this upstream.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180805/66b63ed8/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list