You are not logged in.

#1 2019-04-07 08:07:57

fman
Member
Registered: 2019-04-06
Posts: 2

[SOLVED]pkcs8_key_parser module not find after system upgrade

Hello,

Newbie here.
It is my first Installation of arch linux and it is my first system upgrade.
I updated from Linux kernel version  4.19.32-1-lts to 4.19.33-1-lts.

On reboot the systemd-modules-load could not start.
The error was:

Apr 07 00:03:01 macbookair systemd-modules-load[247]: Failed to find module 'pkcs8_key_parser'

I read around in the forums and the wiki and figured out that the file causing it was:

 /usr/lib/modules-load.d/pkcs8.conf 

The text iside it was:

# When distributions use CONFIG_PKCS8_PRIVATE_KEY_PARSER=m kernel option,
# using keyctl(2) will fail for loading PKCS#8 private keys since there is
# no automatic module loading for key type parsers.  This entry ensures
# that the kernel module pkcs8_key_parser.ko is loaded at boot time.
pkcs8_key_parser

I commented away the line "pkcs8_key_parser" and the error disappered.

There are thought a couple of things that confuse me.

1) The creation time seemed to be in a time where the machine was not powered on, is that even possible?
2) When would i like to use CONFIG_PKCS8_PRIVATE_KEY_PARSER?
3) How do i find the necessary files to start this module if I need it (pkcs8_key_parser.ko for example)?
4) Why was that file likely there, is it something i installed myself? Is it part of an update?

I use PGP, and use a card reader, but do not remember anything about pkcs8 in the process and had no errors on the previous kernel (also not noticed any abnormality in in the user experience with the new kernel).

I hope the questions are not to stupid, I am just trying to understand more about my system!

Last edited by fman (2019-04-11 19:12:54)

Offline

#2 2019-04-09 14:34:59

amaro
Member
From: 5.11.1-1-ck-ivybridge, xfce
Registered: 2014-05-09
Posts: 364

Re: [SOLVED]pkcs8_key_parser module not find after system upgrade

I've just got the same message although I have not upgraded my kernel

uname -a
Linux hp 4.19.4-1-ck-ivybridge #1 SMP PREEMPT Fri Nov 23 08:06:41 EST 2018 x86_64 GNU/Linux

And there is no such file on my system

ls /usr/lib/modules-load.d/
total 0

Needs someone more experienced to figure it out.

Offline

#3 2019-04-11 19:08:32

fman
Member
Registered: 2019-04-06
Posts: 2

Re: [SOLVED]pkcs8_key_parser module not find after system upgrade

I realized it is the "iwd" package, see:
https://wiki.archlinux.org/index.php/Iw … AP_Methods

If you do not not need the iwd functionalities you can unistall it:

pacman -Rs iwd

I did not know why it was installed for me, right now i unistalled it and the error is gone, still not noticed drawbacks.

Offline

#4 2019-04-30 12:36:59

okias
Member
Registered: 2019-04-30
Posts: 1

Re: [SOLVED]pkcs8_key_parser module not find after system upgrade

I guess it was installed together with NetworkManager, as a optional backend instead of old wpa_supplicant

Offline

Board footer

Powered by FluxBB