Re: [systemd-devel] Q: What is the correct way to use `xdg-desktop-autostart.target` with window managers?

2024-07-19 Thread Andrei Borzenkov
On 19.07.2024 16:52, WieeRd wrote: I'm trying to use systemd as a XDG Autostart manager for WMs that does not provide builtin support for autostart entries. At first, I simply tried to `systemctl --user start` the target inside the window manager. However, it quickly turned out that the target ca

Re: [systemd-devel] namespace problem

2024-07-19 Thread Demi Marie Obenour
On Fri, Jul 19, 2024 at 12:08:58AM +0300, Mantas Mikulėnas wrote: > On Thu, Jul 18, 2024, 15:43 Thomas Köller wrote: > > > Am 18.07.24 um 14:04 schrieb Mantas Mikulėnas: > > > Yes, but namespace persistence actually relies on filesystem access – > > > it's implemented as a bind-mount of the names

[systemd-devel] Q: What is the correct way to use `xdg-desktop-autostart.target` with window managers?

2024-07-19 Thread WieeRd
I'm trying to use systemd as a XDG Autostart manager for WMs that does not provide builtin support for autostart entries. At first, I simply tried to `systemctl --user start` the target inside the window manager. However, it quickly turned out that the target cannot and not meant to be manually sta

[systemd-devel] Is /run/systemd/journal/stdout setup protocol stable?

2024-07-19 Thread Carl Lei
Hi all, Short version of my question is, my program connects to /run/systemd/journal/stdout and dup2 to stderr; this socket needs that 7-line preamble to actually work. But this seems a hidden internal thing, so I wonder will this be kept stable? And, does stdout and stderr have to be different

Re: [systemd-devel] DynamicUser and udev uaccess

2024-07-19 Thread Renjaya Raga Zenta
Is there another way to allow DynamicUser to access the USB scanner instead of setting MODE="666"? Or can the DynamicUser be marked as a logged-in user? Thanks. On Fri, Jul 19, 2024 at 11:03 AM Andrei Borzenkov wrote: > On 19.07.2024 05:01, Renjaya Raga Zenta wrote: > > Hi there, > > > > We hav

Re: [systemd-devel] DynamicUser and udev uaccess

2024-07-19 Thread Luca Boccassi
Set up a system group named appropriately, use it for group ownership of those device nodes, and then use SupplementaryGroups=foo in your unit On Fri, 19 Jul 2024 at 08:25, Renjaya Raga Zenta wrote: > > Is there another way to allow DynamicUser to access the USB scanner instead > of setting MODE