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

2024-03-29 Thread Luca Boccassi
No, that's about publishing a new service, not calling into others. It's probably due to dbus-broker supporting SO_PEERSEC to acquire credentials. On Fri, 29 Mar 2024 at 21:14, Mantas Mikulėnas wrote: > > I don't know, but it might be related to this note: > https://github.com/systemd/systemd/com

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

2024-03-29 Thread Mantas Mikulėnas
I don't know, but it might be related to this note: https://github.com/systemd/systemd/commit/0a207d8f234ff7ea0d7988445e38685090fc930e On Fri, Mar 29, 2024, 19:53 Nils Kattenbeck wrote: > On Fri, Mar 29, 2024 at 7:04 AM Mantas Mikulėnas > wrote: > > > > It's probably a difference between dbus-d

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

2024-03-29 Thread Nils Kattenbeck
On Fri, Mar 29, 2024 at 7:04 AM Mantas Mikulėnas wrote: > > It's probably a difference between dbus-daemon and dbus-broker, I suspect. Hi, that was indeed the problem. Installing dbus-broker on one of the machines did in fact fix this. Any idea why that might be? I do not know the differences bet

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

2024-03-28 Thread Mantas Mikulėnas
It's probably a difference between dbus-daemon and dbus-broker, I suspect. On Thu, Mar 28, 2024 at 8:55 PM Nils Kattenbeck wrote: > 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 out

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 Press

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

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

2024-03-19 Thread Nils Kattenbeck
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, the service is unable to access unit status information and errors wi