Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29980

Summary: ntp doesn't create the ntp user/group when installed from a .tbz2 package
Product: Gentoo Linux Reporter: Christian Birchinger (RETIRED) <joker>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 1.4_rc1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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