<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 2, 2021 at 9:38 AM Christoph Anton Mitterer <<a href="mailto:calestyo@scientia.net">calestyo@scientia.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey there.<br>
<br>
Perhaps someone can help me with this, cause I couldn't find any real<br>
good solution.<br>
<br>
<br>
I've noticed that e.g. after upgrading some of the university’s nodes<br>
from buster to bullseye, there were some units which were not in the<br>
default vendor state,</blockquote><div><br></div><div>Not quite what you want, but you can do this:</div><div><br></div><div>systemctl show -p Id,UnitFileState,UnitFilePreset '*.service'</div><div><br></div><div>To get the state and preset for each service. Some shell/$scriptlang-fu should be able to transform that into what you need.</div><div><br></div><div>Saludos</div></div>-- <br><div dir="ltr" class="gmail_signature"><br>Saludos,<br>Felipe Sateler</div></div>