Bug 1033194

Summary: ip l2tp command hangs indefinitely when kernel modules not already loaded
Product: Red Hat Enterprise Linux 7 Reporter: Paul Wouters <pwouters>
Component: iprouteAssignee: Petr Šabata <psabata>
Status: CLOSED WORKSFORME QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: dspurek
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-02-18 13:16:06 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 Paul Wouters 2013-11-21 16:48:56 UTC
Description of problem:

[root@rhel7b ~]# lsmod |grep l2tp
[root@rhel7b ~]# ip l2tp show tunnel

[waiting 10+ seconds, then hit ctrl-c]

[root@rhel7b ~]# lsmod |grep l2tp
l2tp_netlink           17851  0 
l2tp_core              34577  1 l2tp_netlink
[root@rhel7b ~]# ip l2tp show tunnel
[root@rhel7b ~]# 

It seems there is also no way of disabling modprobing while listing, the equivalent to iptables --modprobe=/dev/null/  So we have to depend on /sys entries to determine if the module is loaded before running ip l2tp show.

Comment 2 Petr Šabata 2014-02-18 13:16:06 UTC
I can't reproduce this issue.
(tested with iproute-3.10.0-11.el7.x86_64)