[Solved] Systemd-modules-load fails, 'pkcs8_key_parser'

#1

RPi 2, minimal version

This error appears after I installed apache and rebooted. I don’t think it’s related to ‘sdhost-bcm2835’ error. Ran pacsearch to see if there was an openssl pkg I could install but I only see ‘core/pkcs11-helper 1.25.1-1’.

Errors I’m sure are unrelated have been commented out.

[ez@manjaro-arm ~]$ systemctl status systemd-modules-load
* systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2019-04-02 18:12:06 UTC; 11s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 18718 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 18718 (code=exited, status=1/FAILURE)

Apr 02 18:12:06 manjaro-arm systemd[1]: Starting Load Kernel Modules...
Apr 02 18:12:06 manjaro-arm systemd-modules-load[18718]: Failed to find module 'pkcs8_key_parser'
Apr 02 18:12:06 manjaro-arm systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Apr 02 18:12:06 manjaro-arm systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Apr 02 18:12:06 manjaro-arm systemd[1]: Failed to start Load Kernel Modules.
[ez@manjaro-arm ~]$ journalctl _PID=18718
-- Logs begin at Tue 2019-01-15 13:47:25 UTC, end at Tue 2019-04-02 18:15:26 UTC. --
Apr 02 18:12:06 manjaro-arm systemd-modules-load[18718]: Failed to find module 'pkcs8_key_parser'

[ez@manjaro-arm ~]$ ls -Al /etc/modules-load.d/
total 0

[ez@manjaro-arm ~]$ cat /etc/modules
cat: /etc/modules: No such file or directory

[ez@manjaro-arm ~]$ journalctl -p err
-- Logs begin at Tue 2019-01-15 13:47:25 UTC, end at Tue 2019-04-02 18:38:02 UTC. --
Jan 15 13:47:25 manjaro-arm kernel: Error: Driver 'sdhost-bcm2835' is already registered, aborting...
#Jan 15 13:56:39 manjaro-arm sudo[343]:       ez : user NOT in sudoers ; TTY=pts/0 ; PWD=/home/ez ; USER=root ; COMMAND=/usr/bin/userdel -r manjaro
#Jan 15 13:56:58 manjaro-arm sudo[344]:       ez : user NOT in sudoers ; TTY=pts/0 ; PWD=/home/ez ; USER=root ; COMMAND=/usr/bin/nano /etc/sudoers
#Jan 15 14:05:06 manjaro-arm useradd[362]: failed to unlock /etc/passwd
#Jan 15 14:10:17 manjaro-arm sudo[387]:       ez : user NOT in sudoers ; TTY=pts/0 ; PWD=/home/ez ; USER=root ; COMMAND=/usr/bin/userdel -r manjaro
#Jan 15 14:12:13 manjaro-arm sudo[390]:       ez : user NOT in sudoers ; TTY=pts/0 ; PWD=/home/ez ; USER=root ; COMMAND=/usr/bin/nano /etc/sudoers
-- Reboot --
Apr 01 18:10:24 manjaro-arm kernel: Error: Driver 'sdhost-bcm2835' is already registered, aborting...
Apr 01 18:10:24 manjaro-arm systemd-modules-load[183]: Failed to find module 'pkcs8_key_parser'
-- Reboot --
Apr 01 18:10:24 manjaro-arm kernel: Error: Driver 'sdhost-bcm2835' is already registered, aborting...
Apr 01 18:10:24 manjaro-arm systemd-modules-load[184]: Failed to find module 'pkcs8_key_parser'
-- Reboot --
Apr 01 19:06:04 manjaro-arm dhcpcd[242]: eth0: DHCP lease expired
-- Reboot --
#Apr 02 01:50:58 manjaro-arm kernel: EXT4-fs (sda1): Unrecognized mount option "uid=1001" or missing value
#Apr 02 01:56:03 manjaro-arm kernel: EXT4-fs (sda1): Unrecognized mount option "uid=1001" or missing value
#Apr 02 01:58:36 manjaro-arm kernel: EXT4-fs (sda1): Unrecognized mount option "uid=1001" or missing value
Apr 02 18:12:06 manjaro-arm systemd-modules-load[18718]: Failed to find module 'pkcs8_key_parser'
Apr 02 18:12:06 manjaro-arm systemd[1]: Failed to start Load Kernel Modules.
Apr 02 18:31:45 manjaro-arm systemd-modules-load[20224]: Failed to find module 'pkcs8_key_parser'
Apr 02 18:31:45 manjaro-arm systemd[1]: Failed to start Load Kernel Modules.
#2

Did you do an update of iwd form 14-1 to 16-3 and after that update this error started to show up?

A message for iwd in my journal

iwd[236]: No Diffie-Hellman support found, WPS will not be available
iwd[236]: No asymmetric key support found.
iwd[236]: TLS based WPA-Enterprise authentication methods will not function.
iwd[236]: Kernel 4.20+ is required for this feature.
iwd[236]: The following options are missing in the kernel:
iwd[236]:         CONFIG_ASYMMETRIC_KEY_TYPE
iwd[236]:         CONFIG_KEY_DH_OPERATIONS
iwd[236]:         CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
iwd[236]:         CONFIG_PKCS7_MESSAGE_PARSER
iwd[236]:         CONFIG_X509_CERTIFICATE_PARSER
iwd[236]:         CONFIG_PKCS8_PRIVATE_KEY_PARSER

If you don’t need iwd, just remove the package. If you use iwd for your Wifi remove

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

This file will be recreated with a new version of iwd. You might want to make sure pacman does not install this file.

#3

Not explicitly but, since the RPi2 img is 18.12.1 and then updating to 19.02 after install, I’m going to assume that happened. I keep it tethered to the router so I uninstalled iwd and rebooted. Which seemed to solve it. I’m all green on my services now. Thanks!