From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030313 Galeon/1.3.4 Description of problem: Line 1199 in /etc/sysconfig/network-scripts/network-functions-ipv6 inclued this: ipv6_exec_ip tunnel show 2>/dev/null This will test for all kind of tunnels, not only sit-tunnels. It should be changed to this: ipv6_exec_ip tunnel show mode sit 2>/dev/null Version-Release number of selected component (if applicable): initscripts-7.14-1 How reproducible: Always Steps to Reproduce: 1. Create an IPv4 ipip-tunnel manually like this: /sbin/ip tunnel add tunl1 mode ipip remote 10.1.2.3 ttl 255 2. Create a sit-tunnel using the initsctrips using _the same remote endpoint_, with ifcfg-sit1 like this: DEVICE="sit1" ONBOOT="yes" IPV6INIT="yes" IPV6TUNNELIPV4="10.1.2.3" IPV6ADDR="fec0::1/127" 3. Try to activate the sit-tunnel with ifup sit1 Actual Results: Bringing up interface sit1: ERROR : [ipv6_add_tunnel_device] Given remote address '10.1.2.3' on tunnel device 'sit1' is already configured on device 'tunl1' Expected Results: Nothing. sit1 configured Additional info: I have replaced addresses (10.x/feco::) and tunnel names (tunl1) in "Steps to reproduce" and "Actual results" with private/general addresses/names.
Hmm, not that there are other proposals to extend "sit" other tunnel modes too. Perhaps grepping for "ipv6" would fix this issue, like: ipv6_exec_ip tunnel show | grep ipv6 2>/dev/null
Created attachment 93097 [details] patch for fix the issue; should apply to both RHL7x and RHL9 branches
Added in 7.30-1.