Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <eb459ba4-260f-4b0e-7df0-25ea2598abda@riseup.net>
Date: Sat, 11 Jan 2020 14:14:46 +0000
From: Patrick Schleizer <adrelanos@...eup.net>
To: lkrg-users@...ts.openwall.com
Subject: Possible to load LKRG through systemd-modules-load.service /
 /usr/lib/modules-load.d / /etc/modprobe.d as last module?

Experimenting to load LKRG through systemd modules-load.d.

/usr/lib/modules-load.d/40_lkrg.conf

p_lkrg


But that causes some issues.


Jan 11 13:07:18 host kernel: [p_lkrg] ALERT !!! FOUND LESS[1] MODULES IN
DB IN MODULE LIST[38] THAN IN CURRENT MODULE LIST[39]
Jan 11 13:07:18 host kernel: [p_lkrg] EXTRA MODULE:
                             name[vboxguest] module at
addr[000000006beb432b] module core[000000009fd836f1] with size[0x23000]
hash[0x94f3fdd951b96da]
Jan 11 13:07:18 host kernel: [p_lkrg] ** EXTRA MODULE IS THE SAME AS
ON-GOING MODULE ACTIVITY EVENTS **
                             ** !! MOST LIKELY SYSTEM IS STABLE !! **
Jan 11 13:07:18 host kernel: [p_lkrg] ALERT !!! FOUND LESS[1] MODULES IN
DB IN KOBJ[38] THAN IN CURRENT KOBJ[39]
Jan 11 13:07:18 host kernel: [p_lkrg] EXTRA MODULE:
                             name[vboxguest] module at
addr[000000006beb432b] module core[000000009fd836f1] with size[0x23000]
hash[0x94f3fdd951b96da]
Jan 11 13:07:18 host kernel: [p_lkrg] ** EXTRA MODULE IS THE SAME AS
ON-GOING MODULE ACTIVITY EVENTS **
                             ** !! MOST LIKELY SYSTEM IS STABLE !! **


That is because LKRG is load before "some other" modules. Since systemd
parallelized things, that process isn't in a deterministic order unless
this can be defined somehow?

Is it possible to load LKRG as the last module? I looked into 'man
/etc/modprobe.d' and found `softdep` but that requires to name all
modules. Hardcoding is a bad solution. There is no `softdep p_lkrg pre:
all`. Cannot use `all` as far as I know. Only specific module names.

By loading LKRG through a systemd unit file, well that works but that is
somewhat non-standard. Then standard mechanisms such as
/usr/lib/modules-load.d and /etc/modprobe.d aren't used.

Kind regards,
Patrick

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.