Re: Pre-Depends for postgresql
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
scripts. This is important for consistency, which is why it's in policy
> (The postinst script may detect whether adduser is installed or not and
> use useradd if adduser is missing.)
Blech. We have dependencies and tools that install them automatically
for a reason.
(By the way, please don't cc me on replies; I read the list.)
Colin Watson [email@example.com]