Re: groupdel in a spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 20, 2006 at 03:16:52PM +0100, Paul wrote:
> Hi,
> 
> I have a package I'm reviewing which has a groupdel in the postun which
> rpmlint is quite rightly objecting to (though only at a warning level
> and doesn't mind groupadd being used).
> 
> Is there any caveats for checking to ensure that other users won't have
> things broken should the rpm be removed? Or anything else that should be
> observed prior to the groupdel being executed?

Removing a user/group is only 100% safe to not casue issues, if it is
certain that no files remain which carry these ids. This includes
files generated outside the package's known file space, for example a
local (backup) copy.

Whether this is enough to have a general policy against removing
users/groups is a different strory. Maybe there is a global guideline
or even rule somewhere in the wiki. If not you would have to check the
package's functionality to judge on a case-by-case basis, there is no
general answer possible.

For example say removing an MTA's user/group and recycling it for a
games group means that all games will be able to read any old mails in
the MTA's queues. The other way around (the MTA reading the gamers'
savefiles) is probably not as severe :)
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpngEoCG7fNr.pgp
Description: PGP signature

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux