Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-22 Thread Andrey Utkin
On Thu, Jun 20, 2019 at 09:53:46AM -0400, Brian Evans wrote: > What significance will such numbers have when a daemon uses a new > UID/GID and really doesn't care what it is? Why do we have to go > through the effort of assigning fixed IDs at random? One reason not mentioned by mjo: this paves

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-21 Thread Michał Górny
On Fri, 2019-06-21 at 15:02 +0300, Andrew Savchenko wrote: > On Fri, 21 Jun 2019 09:18:23 +0200 David Seifert wrote: > > On Fri, 2019-06-21 at 08:59 +0300, Andrew Savchenko wrote: > > > On Thu, 20 Jun 2019 16:32:56 +0200 Michał Górny wrote: > > > > On Thu, 2019-06-20 at 09:53 -0400, Brian Evans

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-21 Thread David Seifert
On Fri, 2019-06-21 at 15:02 +0300, Andrew Savchenko wrote: > On Fri, 21 Jun 2019 09:18:23 +0200 David Seifert wrote: > > On Fri, 2019-06-21 at 08:59 +0300, Andrew Savchenko wrote: > > > On Thu, 20 Jun 2019 16:32:56 +0200 Michał Górny wrote: > > > > On Thu, 2019-06-20 at 09:53 -0400, Brian Evans

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-21 Thread Andrew Savchenko
On Fri, 21 Jun 2019 09:18:23 +0200 David Seifert wrote: > On Fri, 2019-06-21 at 08:59 +0300, Andrew Savchenko wrote: > > On Thu, 20 Jun 2019 16:32:56 +0200 Michał Górny wrote: > > > On Thu, 2019-06-20 at 09:53 -0400, Brian Evans wrote: > > > > On 6/9/2019 7:39 AM, Michał Górny wrote: > > > > >

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-21 Thread Jaco Kroon
Hi, On 2019/06/21 07:59, Andrew Savchenko wrote: On Thu, 20 Jun 2019 16:32:56 +0200 Michał Górny wrote: On Thu, 2019-06-20 at 09:53 -0400, Brian Evans wrote: On 6/9/2019 7:39 AM, Michał Górny wrote: +Tracking of user/group usage is done through dependencies. As long +as any installed

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-21 Thread David Seifert
On Fri, 2019-06-21 at 08:59 +0300, Andrew Savchenko wrote: > On Thu, 20 Jun 2019 16:32:56 +0200 Michał Górny wrote: > > On Thu, 2019-06-20 at 09:53 -0400, Brian Evans wrote: > > > On 6/9/2019 7:39 AM, Michał Górny wrote: > > > > +Tracking of user/group usage is done through dependencies. As > > >

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-21 Thread Andrew Savchenko
Hi! On Thu, 20 Jun 2019 09:53:46 -0400 Brian Evans wrote: > > + > > +Before adding a new user and/or group, the developer must send a RFC > > +to the ``gentoo-dev`` mailing list. > > This paragraph should go away. It is a complete waste of time. > > +Requiring mailing list RFC > >

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-21 Thread Andrew Savchenko
On Thu, 20 Jun 2019 16:32:56 +0200 Michał Górny wrote: > On Thu, 2019-06-20 at 09:53 -0400, Brian Evans wrote: > > On 6/9/2019 7:39 AM, Michał Górny wrote: > > > +Tracking of user/group usage is done through dependencies. As long > > > +as any installed package depends on a specific user/group

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-20 Thread Michał Górny
On Thu, 2019-06-20 at 09:53 -0400, Brian Evans wrote: > On 6/9/2019 7:39 AM, Michał Górny wrote: > > +Tracking of user/group usage is done through dependencies. As long > > +as any installed package depends on a specific user/group package, > > +the respective user/group is assumed to be used.

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-20 Thread Michael Orlitzky
On 6/20/19 9:53 AM, Brian Evans wrote: >> + >> +Following the acceptance of this GLEP, all new users and groups must >> +be created via user/group packages as defined in this GLEP. The old >> +method may still be used for existing users/groups, in existing >> +packages. >> + >> +All new users and

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-20 Thread Brian Evans
On 6/9/2019 7:39 AM, Michał Górny wrote: > +Specification > += > + > +Policy > +-- > + > +Following the acceptance of this GLEP, all new users and groups must > +be created via user/group packages as defined in this GLEP. The old > +method may still be used for existing

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-12 Thread Michał Górny
On Wed, 2019-06-12 at 22:21 -0400, Michael Orlitzky wrote: > On 6/9/19 7:39 AM, Michał Górny wrote: > > + > > +All new users and groups must have unique UIDs/GIDs assigned > > +by developers. The developer adding them is responsible for checking > > +for collisions. > > > > ... > > > > +All

Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-12 Thread Michael Orlitzky
On 6/9/19 7:39 AM, Michał Górny wrote: > > + > +All new users and groups must have unique UIDs/GIDs assigned > +by developers. The developer adding them is responsible for checking > +for collisions. > > ... > > +All user and group packages must define preferred fixed UIDs/GIDs, > +and they

[gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages

2019-06-09 Thread Michał Górny
Changes in v3: - Added 'Policy' section. Notably, it deprecates the old method, requires RFC for new users/groups, and makes UID/GID assignment explicitly required. - Removed PDEPEND option in favor of RDEPEND. - Changed the behavior to explicitly update user/group properties on