On Fri, Jul 2, 2021 at 9:38 AM Christoph Anton Mitterer < [email protected]> 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
