Red Hat Bugzilla – Bug 150579
ifup-ipsec not working with manual keying
Last modified: 2014-03-16 22:52:46 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.5) Gecko/20041216 Firefox/1.0 Red Hat/1.0-13.EL4
Description of problem:
Even with a correct ifcfg for ipsec with manual keying ifup-ipsec fails to activate the encryption. The real bug is a pair '"' put around every key in the call to setkey, that leads to an error. The secondary problem is that the failure of this call is not detected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure ifcfg for ipsec with manual keying
2. ifup ipsec interface
3. setkey -D
Actual Results: No keys set
Expected Results: Keys set
Resolution for the primary problem would be to remove all $(echo '"') around the KEY...s. Resolution for the secondary problem would be evaluation of the setkey exit codes.
I can't reproduce this here. Can you attach your config file?
Marking as a duplicate of the presumed issue you're running into.
*** This bug has been marked as a duplicate of 150552 ***