Bug 1033194 - ip l2tp command hangs indefinitely when kernel modules not already loaded
Summary: ip l2tp command hangs indefinitely when kernel modules not already loaded
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iproute
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Šabata
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 16:48 UTC by Paul Wouters
Modified: 2014-02-18 13:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-18 13:16:06 UTC
Target Upstream Version:


Attachments (Terms of Use)

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)


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