Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298262 - net-firewall/psad config file update should be done in pkg_preinst
Summary: net-firewall/psad config file update should be done in pkg_preinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Bryan Stine (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 21:20 UTC by Bryan Stine (RETIRED)
Modified: 2010-06-03 21:56 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 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.