Bug 2098418 - Early boot errors starting with dracut-pre-udev[494]: sh: line 1: /sbin/sysctl: No such file or directory
Summary: Early boot errors starting with dracut-pre-udev[494]: sh: line 1: /sbin/sysct...
Keywords:
Status: CLOSED DUPLICATE of bug 2100668
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-19 03:10 UTC by Matt Fagnani
Modified: 2022-06-24 19:44 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-24 19:44:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2022-06-19 03:10:30 UTC
Description of problem:

I got early boot errors showing up on the screen starting with dracut-pre-udev[494]: sh: line 1: /sbin/sysctl: No such file or directory with the Fedora Rawhide KDE Plasma live image Fedora-KDE-Live-x86_64-Rawhide-20220617.n.0.iso downloaded from https://koji.fedoraproject.org/koji/buildinfo?buildID=1986249 The same errors were shown with Fedora-KDE-Live-x86_64-Rawhide-20220610.n.1.iso. The journal from when dracut-pre-udev.service was running showed that /sbin/sysctl was not found and the sunrpc kernel module couldn't be loaded.

Jun 18 22:34:35 systemd[1]: Starting dracut-pre-udev.service - dracut pre-udev hook...
Jun 18 22:34:35 kernel: RPC: Registered named UNIX socket transport module.
Jun 18 22:34:35 kernel: RPC: Registered udp transport module.
Jun 18 22:34:35 kernel: RPC: Registered tcp transport module.
Jun 18 22:34:35 kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
Jun 18 22:34:35 dracut-pre-udev[494]: sh: line 1: /sbin/sysctl: No such file or directory
Jun 18 22:34:35 dracut-pre-udev[493]: modprobe: ERROR: libkmod/libkmod-module.c:990 command_do() Error running install command '/sbin/modprobe --ignore-install sunrpc  && /sbin/sysctl -q --pattern sunrpc --system' for module sunrpc: retcode 127
Jun 18 22:34:35 dracut-pre-udev[493]: modprobe: ERROR: could not insert 'sunrpc': Invalid argument
Jun 18 22:34:35 rpc.statd[508]: Version 2.6.1 starting
Jun 18 22:34:35 rpc.statd[508]: Initializing NSM state
Jun 18 22:34:35 rpc.statd[508]: Running as root.  chown /var/lib/nfs/statd to choose different user
Jun 18 22:34:35 rpc.idmapd[513]: Setting log level to 0
Jun 18 22:34:36 systemd[1]: Finished dracut-pre-udev.service - dracut pre-udev hook.

dracut-pre-udev tried to run /sbin/sysctl which wasn't in the initramfs according to sudo lsinitrd. These errors appeared every time I booted Fedora-KDE-Live-x86_64-Rawhide-20220617.n.0.iso from a USB flash drive on bare metal and in a VM with GNOME Boxes using QEMU/KVM and EFI enabled. 

Version-Release number of selected component (if applicable):
dracut-056-2.fc37.x86_64
kernel-5.19.0-0.rc2.20220616git30306f6194ca.23.fc37.x86_64
procps-ng-3.3.17-5.fc37.x86_64

How reproducible:
These errors appeared every time I booted Fedora-KDE-Live-x86_64-Rawhide-20220617.n.0.iso 

Steps to Reproduce:
1. Boot Fedora Rawhide KDE Plasma live image Fedora-KDE-Live-x86_64-Rawhide-20220617.n.0.iso from a USB flash drive on bare metal or in a VM with GNOME Boxes using QEMU/KVM and EFI enabled.
2.
3.

Actual results:
Early boot errors starting with dracut-pre-udev[494]: sh: line 1: /sbin/sysctl: No such file or directory

Expected results:
No boot errors would appear.

Additional info:

A Fedora 36 KDE Plasma installation fully updated to 2022-6-18 with updates-testing enabled hasn't shown these errors.

Comment 1 Matt Fagnani 2022-06-24 19:44:54 UTC
Adam Williamson reported that these errors are related to an nfs-utils update as described at bug 2100668

*** This bug has been marked as a duplicate of bug 2100668 ***


Note You need to log in before you can comment on or make changes to this bug.