[SOLVED] "kernel.modules_disabled = 1" shortly after boot

Kernels & Hardware, configuring network, installing services

[SOLVED] "kernel.modules_disabled = 1" shortly after boot

Postby fmarier » 2017-11-02 04:51

At some point during boot, the systctl variable kernel.modules_disabled gets set to 1, effectively disabling all future loading of kernel modules.

I have grep'ed all of my /etc for "modules_disabled" and looked in /etc/default/grub but I can't figure out how my Sid box (4.13.0-1-amd64 kernel) is setting this.

Any module I add to /etc/modules will get properly loaded before kernel.modules_disabled gets set, but as soon as I login and get a shell, "cat /proc/sys/kernel/modules_disabled" returns 1 and any modprobe call fails.

Is there something I overlooked?
Last edited by fmarier on 2017-11-21 10:37, edited 1 time in total.
fmarier
 
Posts: 3
Joined: 2013-10-15 19:46

Re: "kernel.modules_disabled = 1" shortly after boot

Postby fmarier » 2017-11-21 10:36

Here's the reason: https://packages.debian.org/sid/lockdown

I totally forgot I had installed that package.
fmarier
 
Posts: 3
Joined: 2013-10-15 19:46


Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable