Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 178594
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: sakkath@sakkath.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 178594 depends on: Show dependency tree
Bug 178594 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-15 02:38 0000
< jmbsvicetto> That pkg_preinst should be pkg_setup
< Sakkath> bug report?
< jmbsvicetto> Yes, I'll do that
< jmbsvicetto> You can say that currently *ALL* amavisd-new ebuilds have that
error!
< Sakkath> is that true?
< jmbsvicetto> grep -B 4 enewuser
/usr/portage/mail-filter/amavisd-new/amavisd-new-2* shows that ;)

------------------------------------------------------------------

I had amavisd-new installed (2.5.0) and I unmerged and did userdel amavis and
then the remerge did not readd the user.

Reproducible: Always

Steps to Reproduce:
1. emerge amavisd-new
2. userdel amavis
3. emerge amavisd-new

Actual Results:  
The user/group amavis does not exist and at the end of the merge you'll see:
chown: `root:amavis': invalid group
chown: `amavis:amavis': invalid user

Expected Results:  
Readded the user.

Ask jmbsvicetto on IRC (Freenode/#Gentoo-netmail), he was the one who told me
this is wrong.

------- Comment #1 From Andrej Kacian (RETIRED) 2007-05-23 22:52:33 0000 -------
Ah, sorry about that.

I have moved both enew* calls to real pkg_preinst() - it's better when it's
added after the package is ready to be installed - src_compile() or
src_install() phase may fail and we don't want the user added in that case.

Feel free to reopen or ping me on IRC if you disagree.

------- Comment #2 From sakkath@sakkath.com 2007-05-24 00:45:06 0000 -------
Thanks a lot =).

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug