Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24859 - ipsec looking for ipsec.secrets in wrong location.
Summary: ipsec looking for ipsec.secrets in wrong location.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Jay Pfeifer (RETIRED)
URL: http://blog.subverted.net/index.php?m...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-20 02:21 UTC by Wade Mealing
Modified: 2004-06-24 13:06 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 Wade Mealing 2003-07-20 02:21:49 UTC
when using ipsec to get host keys, --left or --right, it tries to look in
/etc/ipsec.secrets and not in the correct location of /etc/ipsec/ipsec.secrets

Reproducible: Always
Steps to Reproduce:
1. emerge super-freeswan
2. Generate hostkey (if not already generated ) ipsec newhostkey --hostname
www.subverted.net --output /etc/ipsec/ipsec.secrets --bits 2192
3. ipsec showhostkey --left

Actual Results:  
Got an error in regards to file not existing....

ipsec showhostkey --right
ipsec showhostkey: file `/etc/ipsec.secrets' does not exist

Expected Results:  
Showing the host key.. 

Symlinking fixes the problem, but this shouldn't happen.

ln -s /etc/ipsec/ipsec.secrets /etc/ipsec.secrets
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2004-06-24 13:06:22 UTC
superfreeswan is no longer a package in portage. but, i do not see this bug in other *swan. closing.