Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127314 - Openswan-2.4.4 verify command looks for ipsec.conf in wrong place
Summary: Openswan-2.4.4 verify command looks for ipsec.conf in wrong place
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 07:42 UTC by Richard Scott
Modified: 2006-12-07 11:53 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 Richard Scott 2006-03-23 07:42:37 UTC
After emerging openswan-2.4.4 and then running the "ipsec setup start" command followed by the "ipsec verify" command I get the following error in the output:

cat: /etc/ipsec.conf: No such file or directory

I have found that there is an error in the /usr/libexec/ipsec/verify file on line 286.

The incorrect line is:

open("cat","/etc/ipsec.conf");

and this needs to be changed to the following to keep inline with the current gentoo style.

open("cat","/etc/ipsec/ipsec.conf");

I hope this can be included in the next release.
Comment 1 Richard Scott 2006-03-23 07:45:58 UTC
oh, also found this on line 379:

@configfiles[0] = "/etc/ipsec.conf";

should be:

@configfiles[0] = "/etc/ipsec/ipsec.conf";

and on line 381:

open(OE,"grep ^include /etc/ipsec.conf|");

should be:

open(OE,"grep ^include /etc/ipsec/ipsec.conf|");
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-12-06 12:10:33 UTC
I've assumed the maintainer position. 
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-12-07 11:53:33 UTC
This has been fixed by upstream in 2.4.7, which is now in the tree.