Bug 1033191 - ipsec barf loads l2tp modules
Summary: ipsec barf loads l2tp modules
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libreswan
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Paul Wouters
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 16:39 UTC by Aleš Mareček
Modified: 2014-06-18 08:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:44:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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