Re: systemd 238 and sysusers

2018-03-07 Thread Simo Sorce
On Wed, 2018-03-07 at 16:23 +0100, Jakub Hrozek wrote: > > On 7 Mar 2018, at 15:53, Stephen Gallagher wrote: > > > > > > > > On Wed, Mar 7, 2018 at 9:50 AM Simo Sorce wrote: > > On Wed, 2018-03-07 at 14:24 +, Zbigniew Jędrzejewski-Szmek wrote: > > >

Re: systemd 238 and sysusers

2018-03-07 Thread Jakub Hrozek
> On 7 Mar 2018, at 15:53, Stephen Gallagher wrote: > > > > On Wed, Mar 7, 2018 at 9:50 AM Simo Sorce wrote: > On Wed, 2018-03-07 at 14:24 +, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Mar 07, 2018 at 02:00:03PM +0100, Florian Weimer wrote: > >

Re: systemd 238 and sysusers

2018-03-07 Thread Stephen Gallagher
On Wed, Mar 7, 2018 at 9:50 AM Simo Sorce wrote: > On Wed, 2018-03-07 at 14:24 +, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Mar 07, 2018 at 02:00:03PM +0100, Florian Weimer wrote: > > > On 03/07/2018 01:55 PM, Stephen Gallagher wrote: > > > > Yes, SSSD monitors those

Re: systemd 238 and sysusers

2018-03-07 Thread Simo Sorce
On Wed, 2018-03-07 at 14:24 +, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Mar 07, 2018 at 02:00:03PM +0100, Florian Weimer wrote: > > On 03/07/2018 01:55 PM, Stephen Gallagher wrote: > > > Yes, SSSD monitors those files and automatically cleans its cache. > > > > > > However, you're right.

Re: systemd 238 and sysusers

2018-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 07, 2018 at 02:00:03PM +0100, Florian Weimer wrote: > On 03/07/2018 01:55 PM, Stephen Gallagher wrote: > >Yes, SSSD monitors those files and automatically cleans its cache. > > > >However, you're right. On systems not using SSSD (which I suspect is a > >nontrivial number of systems

Re: systemd 238 and sysusers

2018-03-07 Thread Florian Weimer
On 03/07/2018 01:55 PM, Stephen Gallagher wrote: Yes, SSSD monitors those files and automatically cleans its cache. However, you're right. On systems not using SSSD (which I suspect is a nontrivial number of systems running systemd...), people are probably still using nss and we should call

Re: systemd 238 and sysusers

2018-03-07 Thread Stephen Gallagher
On Wed, Mar 7, 2018 at 5:56 AM Tom Hughes wrote: > On 07/03/18 10:46, Zbigniew Jędrzejewski-Szmek wrote: > > On Wed, Mar 07, 2018 at 10:28:58AM +, Tom Hughes wrote: > >> On 07/03/18 10:10, Florian Weimer wrote: > >>> On 03/06/2018 03:24 PM, Zbigniew JÄ™drzejewski-Szmek

Re: systemd 238 and sysusers

2018-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 07, 2018 at 01:07:15PM +0100, Steve Grubb wrote: > On Tue, 6 Mar 2018 16:31:29 + > Zbigniew Jędrzejewski-Szmek wrote: > > > > > > > How does this interact with useradd and groupadd? Does this > > > > > > replace them? And if so, does this send the required

Re: systemd 238 and sysusers

2018-03-07 Thread Steve Grubb
On Tue, 6 Mar 2018 16:31:29 + Zbigniew Jędrzejewski-Szmek wrote: > > > > > How does this interact with useradd and groupadd? Does this > > > > > replace them? And if so, does this send the required audit > > > > > events? > > > > > > > > It's a very simple tool to

Re: systemd 238 and sysusers

2018-03-07 Thread Tom Hughes
On 07/03/18 10:46, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Mar 07, 2018 at 10:28:58AM +, Tom Hughes wrote: On 07/03/18 10:10, Florian Weimer wrote: On 03/06/2018 03:24 PM, Zbigniew JÄ™drzejewski-Szmek wrote: It's a very simple tool to create system users and group in /etc/passwd. It

Re: systemd 238 and sysusers

2018-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 07, 2018 at 10:28:58AM +, Tom Hughes wrote: > On 07/03/18 10:10, Florian Weimer wrote: > >On 03/06/2018 03:24 PM, Zbigniew Jędrzejewski-Szmek wrote: > >>It's a very simple tool to create system users and group in /etc/passwd. > >>It just creates entries

Re: systemd 238 and sysusers

2018-03-07 Thread Tom Hughes
On 07/03/18 10:10, Florian Weimer wrote: On 03/06/2018 03:24 PM, Zbigniew Jędrzejewski-Szmek wrote: It's a very simple tool to create system users and group in /etc/passwd. It just creates entries in/etc/{passwd,group,shadow}, and does not interact with audit in any way afaik. Does it perform

Re: systemd 238 and sysusers

2018-03-07 Thread Florian Weimer
On 03/06/2018 03:24 PM, Zbigniew Jędrzejewski-Szmek wrote: It's a very simple tool to create system users and group in /etc/passwd. It just creates entries in/etc/{passwd,group,shadow}, and does not interact with audit in any way afaik. Does it perform any locking or cache invalidation?

Re: systemd 238 and sysusers

2018-03-06 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 06, 2018 at 05:15:45PM +0100, Steve Grubb wrote: > On Tue, 06 Mar 2018 14:34:58 + > Stephen Gallagher wrote: > > > On Tue, Mar 6, 2018 at 9:24 AM Zbigniew Jędrzejewski-Szmek < > > zbys...@in.waw.pl> wrote: > > > > > On Tue, Mar 06, 2018 at 01:03:30PM

Re: systemd 238 and sysusers

2018-03-06 Thread Steve Grubb
On Tue, 6 Mar 2018 14:24:27 + Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Mar 06, 2018 at 01:03:30PM +0100, Steve Grubb wrote: > > On Mon, 5 Mar 2018 23:11:12 + > > Zbigniew Jędrzejewski-Szmek wrote: > > > > > - somewhat independently,

Re: systemd 238 and sysusers

2018-03-06 Thread Steve Grubb
On Tue, 06 Mar 2018 14:34:58 + Stephen Gallagher wrote: > On Tue, Mar 6, 2018 at 9:24 AM Zbigniew Jędrzejewski-Szmek < > zbys...@in.waw.pl> wrote: > > > On Tue, Mar 06, 2018 at 01:03:30PM +0100, Steve Grubb wrote: > > > On Mon, 5 Mar 2018 23:11:12 + > > >

Re: systemd 238 and sysusers

2018-03-06 Thread Stephen Gallagher
On Tue, Mar 6, 2018 at 9:24 AM Zbigniew Jędrzejewski-Szmek < zbys...@in.waw.pl> wrote: > On Tue, Mar 06, 2018 at 01:03:30PM +0100, Steve Grubb wrote: > > On Mon, 5 Mar 2018 23:11:12 + > > Zbigniew Jędrzejewski-Szmek wrote: > > > > > - somewhat independently,

Re: systemd 238 and sysusers

2018-03-06 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 06, 2018 at 01:03:30PM +0100, Steve Grubb wrote: > On Mon, 5 Mar 2018 23:11:12 + > Zbigniew Jędrzejewski-Szmek wrote: > > > - somewhat independently, systemd-sysusers has been beefed up so it is > > possible to use it to create system users before any files

Re: systemd 238 and sysusers

2018-03-06 Thread Steve Grubb
On Mon, 5 Mar 2018 23:11:12 + Zbigniew Jędrzejewski-Szmek wrote: > - somewhat independently, systemd-sysusers has been beefed up so it is > possible to use it to create system users before any files are > installed on disk, but honouring admin overrides. In short, we

Re: systemd 238 and sysusers

2018-03-05 Thread Stephen Gallagher
On Mon, Mar 5, 2018 at 6:28 PM Zbigniew Jędrzejewski-Szmek < zbys...@in.waw.pl> wrote: > On Mon, Mar 05, 2018 at 05:16:36PM -0600, Jason L Tibbitts III wrote: > > > "ZJ" == Zbigniew Jędrzejewski-Szmek writes: > > > > ZJ> - various transfiletriggers have been ported from

Re: systemd 238 and sysusers

2018-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 05, 2018 at 05:16:36PM -0600, Jason L Tibbitts III wrote: > > "ZJ" == Zbigniew Jędrzejewski-Szmek writes: > > ZJ> - various transfiletriggers have been ported from Mageia, for the > ZJ> udev hwdb and rules, the journal catalog, sysctl.d, binfmt.d, > ZJ>

Re: systemd 238 and sysusers

2018-03-05 Thread Jason L Tibbitts III
> "ZJ" == Zbigniew Jędrzejewski-Szmek writes: ZJ> - various transfiletriggers have been ported from Mageia, for the ZJ> udev hwdb and rules, the journal catalog, sysctl.d, binfmt.d, ZJ> sysusers.d, and tmpfiles.d. This means that for many packages, ZJ> which do not