DKMS with kernel 6.0 not signing modules correctly, missing

I use r8168-dkms to get support for my Ethernet adapter. It looks like the sign-file binary provided by the 6.0.8 kernel is linked with whereas my fully updated system has . Without sign-file working, dkms doesn’t sign the r8168 module and the linux kernel doesn’t automatically install it at startup. I managed to fix this issue by recompiling sign-file by hand but I’m guessing this should somehow be fixed upstream. This seems to be a minor breaking change for all of the kernel versions I have installed, 5.15, 5.10, 5.4 all suffer from it as well

EDIT: It looks like installing openssl-1.1 also fixes it, but I’m not sure whether adding that as a dependency or recompiling sign-file is the better solution

Hi @cactus1, and welcome!

Never mind, ignore me, I'm a tree.

It seems that file is part of the openssl 3 package, known as openssl:

$ pamac list -f openssl | grep -i

So install that, if you don’t have it installed already:

pamac install openssl

Hope it helps!


And, indeed, to get

…I think you’d have to install openssl-1.1:

pamac install openssl-1.1

Looks like someone forgot to rebuild some kernels… :stuck_out_tongue:

$ ldd /usr/lib/modules/**/sign-file

/usr/lib/modules/5.15.78-1-MANJARO/build/scripts/sign-file: (0x00007ffce771f000) => /usr/lib/ (0x00007f5c05e00000) => /usr/lib/ (0x00007f5c05c19000)
        /lib64/ => /usr/lib64/ (0x00007f5c062b8000)
/usr/lib/modules/5.19.17-2-MANJARO/build/scripts/sign-file: (0x00007fff5b3df000) => /usr/lib/ (0x00007f561e400000) => /usr/lib/ (0x00007f561e219000)
        /lib64/ => /usr/lib64/ (0x00007f561ea03000)
/usr/lib/modules/6.0.8-1-MANJARO/build/scripts/sign-file: (0x00007ffe5cf50000) => /usr/lib/ (0x00007f1c48400000) => /usr/lib/ (0x00007f1c48219000)
        /lib64/ => /usr/lib64/ (0x00007f1c48895000)

You should remove it when this is fixed.

IIRC, they wrote somewhere that they finally removed all dependencies on openssl-1.1 in packages, looks like they missed some…

This is just manjaro pushing kernels from unstable/testing that were built before that. But they did rebuild 5.19 for some reason. :smiley:

@cactus1 you can install kernel/headers from unstable if you want quick fix.