adduser "delay" causing problems in rpm %pre scripts

Erik LaBianca erik at totalcirculation.com
Wed Aug 18 16:32:12 UTC 2004


> 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.
> 

Probably a good recommendation, and should possibly be added to the
fedora checklist. After testing out a lot of packages (easily installed
via yum or whatever) the poor user may have an awful lot of empty
users/groups clogging up his system though. I don't think it's a cut and
dried problem.

It at least provides a workaround for my immediate problem in that I can
just reinstall the package until it stops whining about missing
users/groups.

--erik






More information about the fedora-devel-list mailing list