Re: Pre-Depends for postgresql
Colin Watson <email@example.com> a tapoté :
> On Thu, Oct 16, 2003 at 04:27:42PM +0200, Mathieu Roy wrote:
> > Colin Watson <firstname.lastname@example.org> a tapoté :
> > > On Thu, Oct 16, 2003 at 03:51:33PM +0200, Mathieu Roy wrote:
> > > > Hum, instead of adduser, useradd should be used by the posgresql
> > > > package.
> > > > useradd is included in the package passwd, which is "required" package
> > > > from the "base" section.
> > >
> > > No, packages that need to add users or groups should use adduser so that
> > > the appropriate uid and gid ranges are used as configured by the
> > > sysadmin.
> > Even for system users automatically created by postinst scripts, on a
> > system where adduser has not even been already installed before?
> Yes, especially for system users automatically created by postinst
> This is important for consistency, which is why it's in policy
So there's no reason to avoid that dependancy on adduser, even if it's
not clearly a required package (yes, that was the beginning of the
thread), because of the policy it's de facto a required package
(yes, that was my point).
Not a native english speaker: