[systemd-devel] watchdog and sd_notify between host and container systemd etc inits

2019-09-26 Thread Mikko.Rapeli
Hi, I'd like to run systemd as init on host but run various containers and some of them with their own container side systemd init. Then I'd like to have sd_notify and watchdog available to check the health of the systemd init in the container. I trust the init in the container to check the

Re: [systemd-devel] Make systemd-localed modify the kernel commandline for the initrd keymap?

2019-09-26 Thread Michael Chapman
On Thu, 26 Sep 2019, Hans de Goede wrote: [...] > I believe that the best alternative is to have localed append / update > a rd.vconsole.keymap=foo argument to the kernel commandline, to override > the vconsole.conf KEYMAP setting, but only in the initrd (so that later > runtime changes when

Re: [systemd-devel] Make systemd-localed modify the kernel commandline for the initrd keymap?

2019-09-26 Thread Michael Chapman
On Thu, 26 Sep 2019, Hans de Goede wrote: > Hi, > > On 26-09-2019 11:10, Michael Chapman wrote: > > On Thu, 26 Sep 2019, Hans de Goede wrote: > > [...] > >> I believe that the best alternative is to have localed append / update > >> a rd.vconsole.keymap=foo argument to the kernel commandline, to

Re: [systemd-devel] networkd - how to (partially) manage OpenVPN interfaces?

2019-09-26 Thread Susant Sahani
Hi Mark, On 26/09/19, 11:49 AM, "Marc Haber" wrote: > > Did you tried with KeepConfiguration=? That is not yet in the Man Page on my system. Is it alreay there in systemd 242? This is in 243. Susant --

Re: [systemd-devel] networkd - how to (partially) manage OpenVPN interfaces?

2019-09-26 Thread Marc Haber
Hi Susant, On Wed, Sep 25, 2019 at 05:56:23PM +, Susant Sahani wrote: > On 22/09/19, 5:35 PM, "systemd-devel on behalf of Marc Haber" > mh+systemd-de...@zugschlus.de> wrote: > On Mon, Sep 16, 2019 at 12:54:23PM +0200, Marc Haber wrote: > > when I run an OpenVPN interface, OpenVPN

Re: [systemd-devel] networkd - how to (partially) manage OpenVPN interfaces?

2019-09-26 Thread Mantas Mikulėnas
On Mon, Sep 16, 2019 at 2:14 PM Marc Haber wrote: > Hi, > > when I run an OpenVPN interface, OpenVPN manages the interface itself: > It handles creation, destruction and assignment of the IP address. The > IP address can be controlled by the remote site, so the OpenVPN daemon > is kind of the

Re: [systemd-devel] Make systemd-localed modify the kernel commandline for the initrd keymap?

2019-09-26 Thread Hans de Goede
Hi, On 26-09-2019 11:10, Michael Chapman wrote: On Thu, 26 Sep 2019, Hans de Goede wrote: [...] I believe that the best alternative is to have localed append / update a rd.vconsole.keymap=foo argument to the kernel commandline, to override the vconsole.conf KEYMAP setting, but only in the

Re: [systemd-devel] networkd - how to (partially) manage OpenVPN interfaces?

2019-09-26 Thread Marc Haber
On Thu, Sep 26, 2019 at 09:16:53AM +, Susant Sahani wrote: > On 26/09/19, 11:49 AM, "Marc Haber" wrote: > > > > Did you tried with KeepConfiguration=? > > That is not yet in the Man Page on my system. Is it alreay there in > systemd 242? > > This is in 243. I'll

[systemd-devel] org.freedesktop.systemd1.manage-units - which unit?

2019-09-26 Thread Ian Pilcher
I am writing a PolicyKit rule to allow a non-root user to restart a service (via D-bus). It looks like this will be the org.freedesktop.systemd1.manage-units "action", but I can't see a way to determine *which* unit is being managed (or what the action is - start/ stop/restart/reload). Are

Re: [systemd-devel] Empty /sys/fs/cgroup/cpu directory post reboot

2019-09-26 Thread Michal Koutný
Hello Tarana. On Wed, Sep 11, 2019 at 12:17:51PM +, " TARANA, YASHASHVI " wrote: > I noticed that, once, after reboot, the directory /sys/fs/cgroup/cpu > was empty. The directories for indvidual cgroups are only created based on demand (the directory path suggests you use the legacy or

Re: [systemd-devel] org.freedesktop.systemd1.manage-units - which unit?

2019-09-26 Thread Mantas Mikulėnas
In JS-based polkit rules, the action usually comes with 'unit' and 'verb' polkit variables -- according to src/core/dbus-unit.c: if (action.id == "org.freedesktop.systemd1.manage-unit" && action.lookup("unit") == "foo.service") { return polkit.Result.YES; } In older polkit versions which use

Re: [systemd-devel] Make systemd-localed modify the kernel commandline for the initrd keymap?

2019-09-26 Thread Alberto Ruiz
Hello Hans, Thanks for starting this discussion. Looking at this from a Fedora/Dracut POV, I think we should look at this as the start of implementing a configuration-only initramfs, (something Matthew Garret has been advocating for a while) rather than making this a vconsole.conf/plymouth

Re: [systemd-devel] Make systemd-localed modify the kernel commandline for the initrd keymap?

2019-09-26 Thread Hans de Goede
Hi, On 26-09-2019 11:53, Michael Chapman wrote: On Thu, 26 Sep 2019, Hans de Goede wrote: Hi, On 26-09-2019 11:10, Michael Chapman wrote: On Thu, 26 Sep 2019, Hans de Goede wrote: [...] I believe that the best alternative is to have localed append / update a rd.vconsole.keymap=foo argument

Re: [systemd-devel] How does the mount process of systemd-homed work?

2019-09-26 Thread Daniele Nicolodi
Hello Jörg, On 24/09/2019 11:16, Jörg Kastning wrote: > Hello to Lennart and this list, > > I watched the recording of Lennarts talk at the All Systems Go > (https://cfp.all-systems-go.io/ASG2019/talk/VSQRXA/) and would like to > ask some questions about the new way to process user home