Bug#841877: Don't recommend contacting base-passwd maintainer for dynamic UIDs
Le lundi, 24 octobre 2016, 07.23:30 h CET Colin Watson a écrit :
> Control: tag -1 patch
>
> On Sun, Oct 23, 2016 at 08:00:23PM -0700, Sean Whitton wrote:
> > Policy section "Permissions and owners" probably shouldn't recommend
> > contacting the base-passwd maintainer when selecting a username for a
> > dynamically-allocated UID created by a postinst maintscript. It should
> > continue to recommend contacting the base-passwd maintainer when the
> > postinst script needs to create a static UID.
>
> I (obviously) agree. How about this patch? I'm seeking seconds for
> this proposal.
>
> diff --git a/policy.sgml b/policy.sgml
> index 9cd182b..ab4f736 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -9610,9 +9610,7 @@ ln -fs ../sbin/sendmail debian/tmp/usr/bin/runq
> that a dynamically allocated id can be used. In this case
> you should choose an appropriate user or group name,
> discussing this on <prgn>debian-devel</prgn> and checking
> - with the <package/base-passwd/ maintainer that it is unique and that
> - they do not wish you to use a statically allocated id
> - instead. When this has been checked you must arrange for
> + that it is unique. When this has been checked you must arrange for
> your package to create the user or group if necessary using
> <prgn>adduser</prgn> in the <prgn>preinst</prgn> or
> <prgn>postinst</prgn> script (again, the latter is to be
Seconded.
--
Cheers,
OdyX
Reply to: