Bug 197576

Summary: Wrong KEYING mode in ifdown-ipsec
Product: [Fedora] Fedora Reporter: John <john_smyth>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.36-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-05 18:04:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John 2006-07-04 09:41:55 UTC
Description of problem:
If I setup IKE_METHOD=GSSAPI(in interface config 
file /etc/sysconfig/network-scripts/ifcfg-ipsecX) 
then /etc/sysconfig/network-scripts/ifup-ipsec work in right KEYING 
mode(automatic) becose have string
[ -n "$IKE_METHOD" ] && KEYING=automatic
But /etc/sysconfig/network-scripts/ifdown-ipsec work in wrong KEYING 
mode(manual) becose have not such string.

There is small patch(diff -u ifdown-ipsec.orig ifdown-ipsec)
--- ifdown-ipsec.orig   2005-03-29 00:42:23.000000000 +0400
+++ ifdown-ipsec        2006-07-04 13:21:49.000000000 +0400
@@ -32,6 +32,7 @@
   IKE_METHOD=RSA
 fi

+[ -n "$IKE_METHOD" ] && KEYING=automatic
 [ -z "$KEYING" ] && KEYING=manual

 if [ -n "$SRCNET" -o -n "$DSTNET" ]; then

Comment 1 Bill Nottingham 2006-07-05 18:04:18 UTC
Added in CVS, will be in 8.36-1. Thanks!