Bug 1794886 - modprobe by alias broken
Summary: modprobe by alias broken
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kmod
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: kmod development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-25 03:16 UTC by Douglas Kosovic
Modified: 2020-01-29 17:12 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-01-29 17:12:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Douglas Kosovic 2020-01-25 03:16:42 UTC
Description of problem:
`modprobe net-l2tp-type-7` doesn't work, but `modprobe l2tp_ppp` does.

Note that net-l2tp-type-7 is an alias of l2tp_ppp :
$ modinfo l2tp_ppp | grep alias
alias:          net-l2tp-type-7
alias:          net-pf-24-proto-1

Version-Release number of selected component (if applicable):

How reproducible: always on Fedora 31, but works fine on Fedora 30.


Steps to Reproduce:
1. Ensure kernel-modules-extra is installed,
    as it has the l2tp_ppp kernel module.

2. sudo modprobe net-l2tp-type-7


Actual results:

No l2tp_ppp (or for that matter any l2tp) kernel module has been loaded:

$ lsmod | grep l2tp

Expected results:

This is the output on Fedora 30 :
$ lsmod | grep l2tp
l2tp_ppp               32768  0
l2tp_netlink           28672  1 l2tp_ppp
l2tp_core              36864  2 l2tp_ppp,l2tp_netlink
pppox                  16384  1 l2tp_ppp
ip6_udp_tunnel         16384  1 l2tp_core
udp_tunnel             16384  1 l2tp_core
ppp_generic            49152  2 pppox,l2tp_ppp


If `modprobe l2tp_ppp` is used instead, the lsmod output is the same as Fedora 30.

Additional info:
I also tried using Fedora 30 kernels on Fedora 31, but same result, so can probably rule out the kernel and different kernel versions.

Comment 1 Yauheni Kaliuta 2020-01-29 17:12:39 UTC
The module is blacklisted

% grep -v '#' /etc/modprobe.d/l2tp_ppp-blacklist.conf
blacklist l2tp_ppp

Works as expected: https://github.com/lucasdemarchi/kmod/commit/36ddee65620f97c34d79815a24c65993e0c84754


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