Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139708 - wildfire-3.0.0 overwrites existing keystore and truststore
Summary: wildfire-3.0.0 overwrites existing keystore and truststore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-08 13:50 UTC by Mike Wohlgemuth
Modified: 2006-07-09 07:45 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 Mike Wohlgemuth 2006-07-08 13:50:14 UTC
I had an existing wildfire 2.6.2 install.  The update to 3.0.0 overwrote the contents of /opt/wildfire/resources/security/keystore and /opt/wildfire/resources/security/truststore with the default files from the distribution.
Comment 1 Gustavo Felisberto (RETIRED) gentoo-dev 2006-07-08 19:34:04 UTC
The ebuild add a line creating a env.d file that protects that directory:

#Protect ssl key on upgrade
	echo 'CONFIG_PROTECT="/opt/wildfire/resources/security/"' > ${D}/etc/env.d/98wildfire

But the file is not being created probably because ${D}/etc/env.d/ does not exist.

I'll fix this tomorow morning.
Comment 2 Gustavo Felisberto (RETIRED) gentoo-dev 2006-07-09 07:45:21 UTC
I'm adding a revision to portage that fixes this issue and also that does a check for the env.d entry and that will pause asking the user to stop in case of upgrade.