Bug 197576 - Wrong KEYING mode in ifdown-ipsec
Summary: Wrong KEYING mode in ifdown-ipsec
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-04 09:41 UTC by John
Modified: 2014-03-17 03:00 UTC (History)
1 user (show)

Fixed In Version: 8.36-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-05 18:04:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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!


Note You need to log in before you can comment on or make changes to this bug.