Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 10, 2014 at 10:39:29PM +0200, Lennart Poettering wrote: > Makes sense, commit! Done. > (Also needs man page update I figure...) That was more work than the code change ;) Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-11 Thread Colin Guthrie
'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 10/07/14 17:58 did gyre and gimble: > On Thu, Jul 10, 2014 at 04:18:15PM +0100, Colin Guthrie wrote: >>> I don't use RPM, but having your system's user policy consist of >>> running useradd in a pre-installation script seems... sub-optimal. >> >> I

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Lennart Poettering
On Thu, 10.07.14 14:51, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > An administrator might want to block a certain sysusers config file from > being executed, e.g. to block the creation of a certain user. > --- > src/sysusers/sysusers.c | 2 ++ > 1 file changed, 2 insertions(+) > >

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Jóhann B. Guðmundsson
On 07/10/2014 07:10 PM, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jul 10, 2014 at 06:43:26PM +, "Jóhann B. Guðmundsson" wrote: On 07/10/2014 04:47 PM, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jul 10, 2014 at 02:59:10PM +, "Jóhann B. Guðmundsson" wrote: On 07/10/2014 12:51 PM, Zbign

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 10, 2014 at 06:43:26PM +, "Jóhann B. Guðmundsson" wrote: > > On 07/10/2014 04:47 PM, Zbigniew Jędrzejewski-Szmek wrote: > >On Thu, Jul 10, 2014 at 02:59:10PM +, "Jóhann B. Guðmundsson" wrote: > >>On 07/10/2014 12:51 PM, Zbigniew Jędrzejewski-Szmek wrote: > >>>An administrator m

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Jóhann B. Guðmundsson
On 07/10/2014 04:47 PM, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jul 10, 2014 at 02:59:10PM +, "Jóhann B. Guðmundsson" wrote: On 07/10/2014 12:51 PM, Zbigniew Jędrzejewski-Szmek wrote: An administrator might want to block a certain sysusers config file from being executed, e.g. to block

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 10, 2014 at 04:18:15PM +0100, Colin Guthrie wrote: > > I don't use RPM, but having your system's user policy consist of > > running useradd in a pre-installation script seems... sub-optimal. > > It is :) > > But sadly that's the way it's been done for a while, but now that there > is

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 10, 2014 at 02:41:14PM +0100, Colin Guthrie wrote: > I guess this is probably OK, but isn't it a bit counter intuitive? I > mean one of the reasons for sysuser is due to /etc/ being bootstrapped. > In this case I'd have thought that looking in /etc/ is a bit weird. This probably wouldn'

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Jóhann B. Guðmundsson
On 07/10/2014 03:10 PM, Reindl Harald wrote: Am 10.07.2014 16:59, schrieb Jóhann B. Guðmundsson: >On 07/10/2014 12:51 PM, Zbigniew Je;drzejewski-Szmek wrote: >>An administrator might want to block a certain sysusers config file from >>being executed, e.g. to block the creation of a certain use

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 10, 2014 at 02:59:10PM +, "Jóhann B. Guðmundsson" wrote: > > On 07/10/2014 12:51 PM, Zbigniew Jędrzejewski-Szmek wrote: > >An administrator might want to block a certain sysusers config file from > >being executed, e.g. to block the creation of a certain user. > >--- > > src/sysus

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Reindl Harald
Am 10.07.2014 16:59, schrieb Jóhann B. Guðmundsson: > On 07/10/2014 12:51 PM, Zbigniew Jędrzejewski-Szmek wrote: >> An administrator might want to block a certain sysusers config file from >> being executed, e.g. to block the creation of a certain user. >> --- >> src/sysusers/sysusers.c | 2 ++ >

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Colin Guthrie
'Twas brillig, and Tobias Geerinckx-Rice at 10/07/14 15:53 did gyre and gimble: > On 10 July 2014 13:41, Colin Guthrie wrote: >> >> 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 10/07/14 13:51 did >> gyre and gimble: >>> An administrator might want to block a certain sysusers config file from

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Jóhann B. Guðmundsson
On 07/10/2014 12:51 PM, Zbigniew Jędrzejewski-Szmek wrote: An administrator might want to block a certain sysusers config file from being executed, e.g. to block the creation of a certain user. --- src/sysusers/sysusers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysusers/sysu

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Tobias Geerinckx-Rice
On 10 July 2014 13:41, Colin Guthrie wrote: > > 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 10/07/14 13:51 did > gyre and gimble: > > An administrator might want to block a certain sysusers config file from > > being executed, e.g. to block the creation of a certain user. > I guess this is p

Re: [systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Colin Guthrie
'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 10/07/14 13:51 did gyre and gimble: > An administrator might want to block a certain sysusers config file from > being executed, e.g. to block the creation of a certain user. > --- > src/sysusers/sysusers.c | 2 ++ > 1 file changed, 2 insertions(+)

[systemd-devel] [PATCH] sysusers: allow overrides in /etc and /run

2014-07-10 Thread Zbigniew Jędrzejewski-Szmek
An administrator might want to block a certain sysusers config file from being executed, e.g. to block the creation of a certain user. --- src/sysusers/sysusers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index 129493a1e7..68c552d24a 10