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

Bug 298262

Summary: net-firewall/psad config file update should be done in pkg_preinst
Product: Gentoo Linux Reporter: Bryan Stine (RETIRED) <battousai>
Component: New packagesAssignee: Bryan Stine (RETIRED) <battousai>
Status: RESOLVED FIXED    
Severity: normal CC: hardened
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bryan Stine (RETIRED) gentoo-dev 2009-12-24 21:20:16 UTC
net-firewall/psad has historically done a config file update to set the system's hostname in psad.conf, which occurs in src_install. This should be done in pkg_preinst such that binary packages do not use the build host's hostname in the default config.

Steps to reproduce:
1. binpkg net-firewall/psad
2. ????
3. MONETARY LOSS!
Comment 1 Bryan Stine (RETIRED) gentoo-dev 2010-06-03 21:56:41 UTC
Fixed in 2.1.5-r2.