Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29980 - ntp doesn't create the ntp user/group when installed from a .tbz2 package
Summary: ntp doesn't create the ntp user/group when installed from a .tbz2 package
Status: RESOLVED DUPLICATE of bug 25152
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-30 03:48 UTC by Christian Birchinger (RETIRED)
Modified: 2005-07-17 13:06 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 Christian Birchinger (RETIRED) gentoo-dev 2003-09-30 03:48:32 UTC
ntp user/group is missing when it gets installed from a binary package (.tbz2)
the reason is that pkg_setup() is not being executed when using emerge -k or -K.
(I tested that by adding a "die" into pkg_setup() and ran emerge -k ntp again)

Reproducible: Always
Steps to Reproduce:
1. Install ntp from a tbz2
2. Start /etc/init.d/ntpd
3. See an error because it wants to use the user "ntp" for the daemon.

Actual Results:  
ntp user/group missing

Expected Results:  
ntp user added to passwd, shadow and group

I wasn't sure myself if pkg_setup() is not started when installing binary packages
so i tested it with debug code in that function.
If pkg_setup() should run it would be a portage bug and not ntp
Comment 1 SpanKY gentoo-dev 2003-09-30 03:55:38 UTC

*** This bug has been marked as a duplicate of 25152 ***