Re: [systemd-devel] Permanently remove services

2024-01-20 Thread Mantas Mikulėnas
On Sat, Jan 20, 2024 at 8:02 AM Andrei Borzenkov wrote: > On 19.01.2024 20:22, Mantas Mikulėnas wrote: > > On Fri, Jan 19, 2024, 19:12 Morten Bo Johansen > wrote: > > > >> On 2024-01-19 Mantas Mikulėnas wrote: > >> > >>> In general I've learned to not quite trust what the firmware shows... > >>

Re: [systemd-devel] Permanently remove services

2024-01-19 Thread Andrei Borzenkov
On 19.01.2024 20:22, Mantas Mikulėnas wrote: On Fri, Jan 19, 2024, 19:12 Morten Bo Johansen wrote: On 2024-01-19 Mantas Mikulėnas wrote: In general I've learned to not quite trust what the firmware shows... we've had a batch of Skylake-or-so desktops that *did* have a CPU-integrated fTPM

Re: [systemd-devel] Permanently remove services

2024-01-19 Thread Andrei Borzenkov
On 19.01.2024 19:47, Morten Bo Johansen wrote: On 2024-01-19 Mantas Mikulėnas wrote: In general I've learned to not quite trust what the firmware shows... we've had a batch of Skylake-or-so desktops that *did* have a CPU-integrated fTPM but it wasn't even mentioned until we did a BIOS update, e

Re: [systemd-devel] Permanently remove services

2024-01-19 Thread Mantas Mikulėnas
On Fri, Jan 19, 2024, 19:12 Morten Bo Johansen wrote: > On 2024-01-19 Mantas Mikulėnas wrote: > > > In general I've learned to not quite trust what the firmware shows... > we've > > had a batch of Skylake-or-so desktops that *did* have a CPU-integrated > fTPM > > but it wasn't even mentioned unti

Re: [systemd-devel] Permanently remove services

2024-01-19 Thread Morten Bo Johansen
On 2024-01-19 Morten Bo Johansen wrote: > I shall try to upgrade the bios to the latest version and see > if something shows up. The bios was already the latest version.

Re: [systemd-devel] Permanently remove services

2024-01-19 Thread Morten Bo Johansen
On 2024-01-19 Mantas Mikulėnas wrote: > In general I've learned to not quite trust what the firmware shows... we've > had a batch of Skylake-or-so desktops that *did* have a CPU-integrated fTPM > but it wasn't even mentioned until we did a BIOS update, even though CPU > spec said it should be pres

Re: [systemd-devel] Permanently remove services

2024-01-19 Thread Mantas Mikulėnas
On Fri, Jan 19, 2024, 17:47 Morten Bo Johansen wrote: > On 2024-01-18 Lennart Poettering wrote: > > > On Do, 18.01.24 22:53, Morten Bo Johansen (morte...@hotmail.com) wrote: > > > >> ~/ % systemd-creds has-tpm2 > >> partial > >> +firmware > >> -driver > >> +system > >> +subsystem > >> +libraries

Re: [systemd-devel] Permanently remove services

2024-01-19 Thread Morten Bo Johansen
On 2024-01-18 Lennart Poettering wrote: > On Do, 18.01.24 22:53, Morten Bo Johansen (morte...@hotmail.com) wrote: > >> ~/ % systemd-creds has-tpm2 >> partial >> +firmware >> -driver >> +system >> +subsystem >> +libraries > > OK, so this indicates that your system has TPM support on all levels > wi

Re: [systemd-devel] Permanently remove services

2024-01-19 Thread Lennart Poettering
On Do, 18.01.24 23:40, Nils Kattenbeck (nilskem...@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. > > >

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Nils Kattenbeck
> > 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

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Lennart Poettering
On Do, 18.01.24 22:53, Morten Bo Johansen (morte...@hotmail.com) wrote: > ~/ % systemd-creds has-tpm2 > partial > +firmware > -driver > +system > +subsystem > +libraries OK, so this indicates that your system has TPM support on all levels with a single exception: you lack an actual linux driver f

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Morten Bo Johansen
On 2024-01-18 Lennart Poettering wrote: > That sounds fairly recent, so I would assume that your machine has a > TPM. > > Which OS is this? Arch GNU/Linux. ~/ % uname -a Linux gatsby 6.7.0-arch3-1 #1 SMP PREEMPT_DYNAMIC Sat, 13 Jan 2024 14:37:14 + x86_64 GNU/Linux > Is it possible that you

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Lennart Poettering
On Do, 18.01.24 22:26, Morten Bo Johansen (morte...@hotmail.com) wrote: > On 2024-01-18 Lennart Poettering wrote: > > > hence, any chance you can provide logs about this? and what kind of > > system is this? i.e. does it really lack a tpm? > > I shall try to accommodate you. How do I get the log?

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Morten Bo Johansen
On 2024-01-18 Lennart Poettering wrote: > hence, any chance you can provide logs about this? and what kind of > system is this? i.e. does it really lack a tpm? I shall try to accommodate you. How do I get the log? The command "systemctl --plain --no-legend list-units --state=failed" does not pr

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Lennart Poettering
On Do, 18.01.24 19:43, Morten Bo Johansen (morte...@hotmail.com) wrote: > On 2024-01-18 Andy Pieters wrote: > > > Not being funny, but why care? They have got a conditional check in them > > and will only run when it makes sense. > > So these units will do nothing and won't delay your boot or take

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Morten Bo Johansen
On 2024-01-18 Andy Pieters wrote: > Not being funny, but why care? They have got a conditional check in them > and will only run when it makes sense. > So these units will do nothing and won't delay your boot or take up > resources They are turning up as failed units, so they are being run, even

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Andy Pieters
Morten Bo Johansen wrote > I have two services that are irrelevant to my system >systemd-tpm2-setup-early.service systemd-tpm2-setup.service Not being funny, but why care? They have got a conditional check in them and will only run when it makes sense. So these units will do nothing

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Morten Bo Johansen
On 2024-01-18 Barry wrote: > Use systemctl mask? Seems like an interesting suggestion. Thank you, Morten

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Barry
> On 18 Jan 2024, at 17:30, Morten Bo Johansen wrote: > > How do I get rid of them once and for all? Use systemctl mask? Barry