Bug 1033191

Summary: ipsec barf loads l2tp modules
Product: Red Hat Enterprise Linux 7 Reporter: Aleš Mareček <amarecek>
Component: libreswanAssignee: Paul Wouters <pwouters>
Status: CLOSED CURRENTRELEASE QA Contact: Aleš Mareček <amarecek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0Keywords: Regression
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:44:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Aleš Mareček 2013-11-21 16:39:30 UTC
Description of problem:
Similar to [1], "ipsec barf" loads some extra modules - l2tp in that case.
i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# grep l2tp ~/rpmbuild/BUILD/libreswan-3.6/programs/barf/barf.in
_________________________ ip-l2tp-tunnel
	ip l2tp tunnel
_________________________ ip-l2tp-session
	ip l2tp session

i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# rmmod l2tp_netlink l2tp_core
i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# lsmod | grep l2tp
i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# ip l2tp tunnel
Command "tunnel" is unknown, try "ip l2tp help".
i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# lsmod | grep l2tp
l2tp_netlink           17851  0 
l2tp_core              34577  1 l2tp_netlink

1. https://bugzilla.redhat.com/show_bug.cgi?id=954249


Version-Release number of selected component (if applicable):
libreswan-3.6-2.el7

How reproducible:
Always

Steps to Reproduce:
0. run the automated test OR
1. lsmod > 1.txt
2. ipsec barf
3. lsmod > 2.txt
4. diff 1.txt 2.txt
# no differences expected, differences mean bug

Actual results:
no extra modules loaded

Expected results:
l2tp modules loaded (ip l2tp)

Additional info:
"ip l2tp --help" also sux but loads modules ;)

i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# lsmod | grep l2tp
l2tp_netlink           17851  0 
l2tp_core              34577  1 l2tp_netlink
i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# rmmod l2tp_netlink l2tp_core
i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# lsmod | grep l2tp
i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# ip l2tp --help
Command "--help" is unknown, try "ip l2tp help".
i:x86_64|m:x86_64 root@pq2-0 [bz954249-Removing-check-for-iptalbles-in-barf-shell-script]# lsmod | grep l2tp
l2tp_netlink           17851  0 
l2tp_core              34577  1 l2tp_netlink

Comment 7 Ludek Smid 2014-06-13 09:44:15 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.