Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361923 - net-dns/djbdns creates users/groups in pkg_setup
Summary: net-dns/djbdns creates users/groups in pkg_setup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal minor (vote)
Assignee: Dane Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 16:18 UTC by Michael Orlitzky
Modified: 2011-04-04 17:05 UTC (History)
1 user (show)

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 Michael Orlitzky gentoo-dev 2011-04-04 16:18:30 UTC
As noted in bug 217042, users/groups created in pkg_setup are subject to the following problems:

1. group/user is added on the machine building the package, even when emerge is
passed -B/--buildpkgonly.
2. group/user is added simply by using ebuild <ebuild> unpack.
3. group/user is added even if the build fails in src_* functions and is never
installed.

Since djbdns does not require any of its three users (dnscache, dnslog, and tinydns) during src_compile, they should be created in pkg_preinst.
Comment 1 Dane Smith (RETIRED) gentoo-dev 2011-04-04 16:58:02 UTC
Done in CVS. Thanks Michael. Closing.
Comment 2 Michael Orlitzky gentoo-dev 2011-04-04 17:05:08 UTC
Tested the change, confirmed that it does what it's supposed to.