Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62375 - ISC DHCPd user created in src_install instead of pkg_preinst
Summary: ISC DHCPd user created in src_install instead of pkg_preinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-31 05:40 UTC by ObNox
Modified: 2004-08-31 15:03 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 ObNox 2004-08-31 05:40:53 UTC
When emerging net-misc/dhcp, the user 'dhcp' is created in function src_install() instead of pkg_preinst() which leads to some problems.

I precompile packages on a strong machine to deploy to many servers. Once net-misc/dhcp is a tbz2 package, it does not execute src_install() anymore which prevents the creation of the user 'dhcp' !

User creation, on a general basis, should always be created on pkg_preinst() function to make sure it works in ALL conditions.


Reproducible: Always
Steps to Reproduce:
1. emerge -bv dhcp
2. copy the generated package to a fresh gentoo install (/usr/portage/packages)
3. emerge -Kv dhcp

Actual Results:  
User 'dhcp' isn't created !
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-31 09:15:12 UTC
spanks, max is still missing, can you take this?
Comment 2 SpanKY gentoo-dev 2004-08-31 15:03:53 UTC
this is already fixed in 3.0.1 ... dont remember if i did it or if max did it though :)