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

Bug 99603

Summary: squid should create its own users
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] Core systemAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2005-07-19 17:55:44 UTC
please add `enewuser` and `enewgroup` to the squid ebuilds so we can remove them
from baselayout's passwd/group
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-07-19 22:12:33 UTC
fixed by adding squid user/group in pkg_setup & pkg_preinst, using UID 31 (for
correct installation of bin packages).

please take a look at bug #94745. 
since squid cannot be a dependency of system, the ebuild could create its own
user/group without problems. 
on the contrary, net-proxy/dante could be a dependency of system (by adding
socks5 useflag) which means it cannot safely create its own user (safely ==
dante is instaled *after* shadow).