[systemd-devel] Permanently remove services
Lennart Poettering
lennart at poettering.net
Fri Jan 19 08:14:26 UTC 2024
On Do, 18.01.24 23:40, Nils Kattenbeck (nilskemail at gmail.com) wrote:
> > > They are turning up as failed units, so they are being run,
> > > even if I don't have any TPM module. Also, I have a notifier in
> > > my waybar telling me of failed services and I don't want to see
> > > them there.
> >
> > Can you provide logs about this? The goal is definitely to make these
> > NOPs on TPM-less systems. I am a bit puzzled that the conditioning
> > they come with is not sufficient. We might need to tweak something
> > there then.
> >
> > The idea is that the system does TPM setup on systems that have a tpm
> > and on systems lacking that silently just skips all these so that
> > everything always works fully automatically and robustly without any
> > ugly error output.
> >
> > hence, any chance you can provide logs about this? and what kind of
> > system is this? i.e. does it really lack a tpm?
>
> In the past I have seen errors on systems which do not have
> libtss2/tpm2-tss installed though I am not sure if those should be
> silenced. After all, the unit being enabled means that one wants to
> use it if possible - and if the libraries are missing that should be
> noticeable to the user instead of a silent fail.
No, the libs are installed, that's what the "systemd-creds has-tpm2"
output shows.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list