Re: [systemd-devel] systemctl inaccessible when enabling DynamicUser=true

2024-03-28 Thread Nils Kattenbeck
On Thu, Mar 28, 2024 at 3:08 PM Luca Boccassi wrote: > > Works just fine here in Debian with 252: Hm, weird. With logging enabled I get the following output: $ sudo systemd-run -t --collect -p DynamicUser=true -E SYSTEMD_LOG_LEVEL=debug systemctl --failed Running as unit: run-u1497.service

Re: [systemd-devel] How to automatically decrypt a disk on connection

2024-03-28 Thread Orion Poplawski
On 3/28/24 01:30, Andrei Borzenkov wrote: On Wed, Mar 27, 2024 at 9:49 PM Orion Poplawski wrote: Use $kernel in rule and /dev/%I in service. Thank you, that works. udev monitor -p doesn't show the value of KERNEL so I didn't see that as an option. udev documentation lists $kernel when

Re: [systemd-devel] systemctl inaccessible when enabling DynamicUser=true

2024-03-28 Thread Luca Boccassi
On Wed, 20 Mar 2024 at 02:00, Nils Kattenbeck wrote: > > Hello, > > I am writing a simple oneshot service which should read access from > the journal and systemctl status. To restrict the service I was trying > to enable DynamicUser (and added ' > SupplementaryGroups=systemd-journal'). However,

Re: [systemd-devel] How to automatically decrypt a disk on connection

2024-03-28 Thread Andrei Borzenkov
On Wed, Mar 27, 2024 at 9:49 PM Orion Poplawski wrote: > > > > Use $kernel in rule and /dev/%I in service. > > Thank you, that works. udev monitor -p doesn't show the value of KERNEL so I > didn't see that as an option. > udev documentation lists $kernel when describing substitutions. But yes,