is there an easy way to find any units not in their default (vendor) state?

Felipe Sateler fsateler at debian.org
Fri Jul 2 15:50:19 BST 2021


On Fri, Jul 2, 2021 at 9:38 AM Christoph Anton Mitterer <
calestyo at scientia.net> wrote:

> Hey there.
>
> Perhaps someone can help me with this, cause I couldn't find any real
> good solution.
>
>
> I've noticed that e.g. after upgrading some of the university’s nodes
> from buster to bullseye, there were some units which were not in the
> default vendor state,


Not quite what you want, but you can do this:

systemctl show -p Id,UnitFileState,UnitFilePreset '*.service'

To get the state and preset for each service. Some shell/$scriptlang-fu
should be able to transform that into what you need.

Saludos
-- 

Saludos,
Felipe Sateler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210702/70977f2d/attachment.htm>


More information about the Pkg-systemd-maintainers mailing list