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
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
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,
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,