Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47344 - NTP 4.1.2 ebuild adds group and user in pkg_setup
Summary: NTP 4.1.2 ebuild adds group and user in pkg_setup
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: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-09 07:40 UTC by Ti Leggett
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 Ti Leggett 2004-04-09 07:40:02 UTC
The ebuild for ntp-4.1.2 adds the ntp user and group in the pkg_setup function. This breaks the ntp package when it's created as a binary since pkg_setup isn't run for binary ebuilds. The only portion of the script that depends on that user and group being there is in pkg_install for the directory /var/lib/ntp and the file /var/lib/ntp/ntp.drift

Reproducible: Always
Steps to Reproduce:
1. emerge -B =net-misc/ntp-4.1.2 <-- on machine 1
2. emerge -k =net-misc/ntp-4.1.2 <-- on machine 2
3. /etc/init.d/ntpd start <-- FAILS on machine 2 because there's no ntp user


Expected Results:  
The ntp ebuild should create the appropriate user and group regardless if
installed from source or binary.
Comment 1 SpanKY gentoo-dev 2004-04-09 21:14:06 UTC

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