Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11124 - jabber-server.ebuild removes jabber group and user in postrm.
Summary: jabber-server.ebuild removes jabber group and user in postrm.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Bart Verwilst
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-23 10:29 UTC by Andrey Ulanov
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Ulanov 2002-11-23 10:29:34 UTC
You shouldn't do that. There some reasons for such behavior:
  1. If you do "emerge jabber-server" it installs new jabber-server, but then removes old, and removes jabber group and user.
  2. If you do "emerge unmerge jabber-server" there could be left some files and directories owned by jabber group and user. And when you then add new user with adduser the uid of new user can be equal to uid of old jabber user. Sometimes it can be not very secure.
Comment 1 Bart Verwilst 2002-11-24 04:49:16 UTC
So i should just leave the user and group there after it removes it, and just show an einfo to remove them manually? 
Comment 2 Andrey Ulanov 2002-11-24 05:24:52 UTC
Yes. I thinks it will be better. Many othe ebuilds don't remove users and groups after umerge. Look at apache.ebuild for example.