Re: [systemd-devel] hostnamectl set-hostname non-admin user

2021-04-06 Thread Silvio Knizek
Am Dienstag, dem 06.04.2021 um 16:21 +0300 schrieb Damien LEFEVRE: > Hi, > > I have an embedded device and I do not install sudo. I need to have a > non-root running the main service capable of changing the hostname. > > After spending a long afternoon on this I still have not managed. > > Here

Re: [systemd-devel] sd_bus_get_unique_name returns -EBADMSG or -EBUSY

2021-04-06 Thread Lennart Poettering
On Do, 01.04.21 13:32, Carlo Wood (ca...@alinoe.com) wrote: > I am getting all kinds of unlisted errors from > sd_bus_get_unique_name. > > EBADMSG and EBUSY are not listed on the manual page of > sd_bus_get_unique_name. We only document prominent errors directly, but the list is by no means

Re: [systemd-devel] Running containers under freezer

2021-04-06 Thread Lennart Poettering
On Fr, 02.04.21 20:22, Bhasker C V (bhas...@unixindia.com) wrote: > Hi, > Please could someone help ? > > I want my containers to run inside a freezer cgroup so that I can freeze > and thaw the container as and when needed. I this on cgroupsv1? We simply don't support the freezer on

Re: [systemd-devel] Environment variables are not sanitized when a graphical session dies

2021-04-06 Thread Arseny Maslennikov
On Fri, Apr 02, 2021 at 07:29:23PM +0300, Mantas Mikulėnas wrote: > one answer. (Note that stuff like $DISPLAY gets imported into systemd > --user's environment, to make it available to the services' > environment, and you can't make $DISPLAY have two values at once.) Oh. There's a design problem

Re: [systemd-devel] Session-specific user services

2021-04-06 Thread Arseny Maslennikov
On Tue, Apr 06, 2021 at 12:51:56PM +0100, Simon McVittie wrote: > On Fri, 02 Apr 2021 at 20:54:05 +0300, Arseny Maslennikov wrote: > > There's at least a use case to know if an active session owned by the > > UID is present on seat X: > > https://gitlab.gnome.org/GNOME/gvfs/-/issues/557 > > In

[systemd-devel] hostnamectl set-hostname non-admin user

2021-04-06 Thread Damien LEFEVRE
Hi, I have an embedded device and I do not install sudo. I need to have a non-root running the main service capable of changing the hostname. After spending a long afternoon on this I still have not managed. Here i've tried adding my new user but only read-only requests go through

Re: [systemd-devel] Session-specific user services

2021-04-06 Thread Simon McVittie
On Fri, 02 Apr 2021 at 20:54:05 +0300, Arseny Maslennikov wrote: > There's at least a use case to know if an active session owned by the > UID is present on seat X: > https://gitlab.gnome.org/GNOME/gvfs/-/issues/557 > In short, if a USB storage drive is connected to a particular seat, > we'd like