Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Ivan Shapovalov
On 2015-04-23 at 14:11 +0200, Lennart Poettering wrote: On Thu, 26.02.15 02:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: This is useful, for example, to create system accounts on an initramfs using the host's configuration. Hmm, but you can already do this, by specifiying the

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Ivan Shapovalov
On 2015-04-23 at 16:48 +0200, Lennart Poettering wrote: On Thu, 23.04.15 17:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: On 2015-04-23 at 14:11 +0200, Lennart Poettering wrote: On Thu, 26.02.15 02:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: This is useful, for

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 18:09, Ivan Shapovalov (intelfx...@gmail.com) wrote: On 2015-04-23 at 16:48 +0200, Lennart Poettering wrote: On Thu, 23.04.15 17:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: On 2015-04-23 at 14:11 +0200, Lennart Poettering wrote: On Thu, 26.02.15 02:46, Ivan

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Lennart Poettering
On Thu, 23.04.15 17:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: On 2015-04-23 at 14:11 +0200, Lennart Poettering wrote: On Thu, 26.02.15 02:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: This is useful, for example, to create system accounts on an initramfs using the

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Ivan Shapovalov
On 2015-04-23 at 17:15 +0200, Lennart Poettering wrote: On Thu, 23.04.15 18:09, Ivan Shapovalov (intelfx...@gmail.com) wrote: On 2015-04-23 at 16:48 +0200, Lennart Poettering wrote: On Thu, 23.04.15 17:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: On 2015-04-23 at 14:11

Re: [systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-04-23 Thread Lennart Poettering
On Thu, 26.02.15 02:46, Ivan Shapovalov (intelfx...@gmail.com) wrote: This is useful, for example, to create system accounts on an initramfs using the host's configuration. Hmm, but you can already do this, by specifiying the config files on the command line, no? Lennart -- Lennart

[systemd-devel] [PATCH 1/3] sysusers: allow separate alternate roots for configs and modifications

2015-02-25 Thread Ivan Shapovalov
This is useful, for example, to create system accounts on an initramfs using the host's configuration. --- src/sysusers/sysusers.c | 97 + 1 file changed, 66 insertions(+), 31 deletions(-) diff --git a/src/sysusers/sysusers.c