Re: systemd service fails to run with "ConditionACPower=true was not met"

2022-08-05 Thread Barry
> On 5 Aug 2022, at 12:27, Richard W.M. Jones wrote: > > On Fri, Aug 05, 2022 at 12:16:46PM +0100, Richard W.M. Jones wrote: >> I think this is a systemd bug. > > It seems like the source/sink check was added recently to fix: > > https://github.com/systemd/systemd/issues/21988 > > but that

Re: systemd service fails to run with "ConditionACPower=true was not met"

2022-08-05 Thread Richard W.M. Jones
On Fri, Aug 05, 2022 at 12:16:46PM +0100, Richard W.M. Jones wrote: > I think this is a systemd bug. It seems like the source/sink check was added recently to fix: https://github.com/systemd/systemd/issues/21988 but that the fix is either wrong or incomplete. Here's another interesting related

Re: systemd service fails to run with "ConditionACPower=true was not met"

2022-08-05 Thread Richard W.M. Jones
On Fri, Aug 05, 2022 at 11:36:13AM +0100, Barry wrote: > > > > On 5 Aug 2022, at 10:48, Richard W.M. Jones wrote: > > > > Fedora 36, plocate-1.1.15-3.fc36.x86_64, systemd-250.8-1.fc36.x86_64 > > > > /usr/lib/systemd/system/plocate-updatedb.service has > > ConditionACPower=true because they do

Re: systemd service fails to run with "ConditionACPower=true was not met"

2022-08-05 Thread Barry
> On 5 Aug 2022, at 10:48, Richard W.M. Jones wrote: > > Fedora 36, plocate-1.1.15-3.fc36.x86_64, systemd-250.8-1.fc36.x86_64 > > /usr/lib/systemd/system/plocate-updatedb.service has > ConditionACPower=true because they don't want updatedb to run > when on a laptop battery. > > Now, my machi

systemd service fails to run with "ConditionACPower=true was not met"

2022-08-05 Thread Richard W.M. Jones
Fedora 36, plocate-1.1.15-3.fc36.x86_64, systemd-250.8-1.fc36.x86_64 /usr/lib/systemd/system/plocate-updatedb.service has ConditionACPower=true because they don't want updatedb to run when on a laptop battery. Now, my machine is an Intel NUC which has an Intel mobile chipset but is very definitel