adduser "delay" causing problems in rpm %pre scripts

Dax Kelson dax at gurulabs.com
Wed Aug 18 18:29:35 UTC 2004


On Wed, 2004-08-18 at 10:27, Steven Pritchard wrote:
> On Wed, Aug 18, 2004 at 12:10:14PM -0400, Erik LaBianca wrote:
> > RFE: rpm should have a %createuser and %creategroup directives that
> > handle this sort of stuff. They should have flags to remove (or not) on
> > uninstall, etc.
> 
> No package should *ever* auto-remove users or groups.  That's just
> asking for trouble.  Let the admin remove the user if necessary.
> 
> Steve

That's debatable, but either way ignores the reality that close to a
decade RPMs from Red Hat have been doing exactly that.

egrep '(user|group)del' /path/to/RHL9-specfiles/* | wc -l
39

Dax Kelson
Guru Labs





More information about the fedora-devel-list mailing list