Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:

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.