Bug 2102903 - dracut-pre-udev[370]: sh line 1: /sbin/sysctl: No such file or directory
Summary: dracut-pre-udev[370]: sh line 1: /sbin/sysctl: No such file or directory
Keywords:
Status: CLOSED DUPLICATE of bug 2100668
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 36
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-30 23:53 UTC by Davide Repetto
Modified: 2022-07-16 22:31 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-13 15:28:27 UTC
Type: Bug


Attachments (Terms of Use)
Screenshot of the error at boot. (47.98 KB, image/webp)
2022-06-30 23:53 UTC, Davide Repetto
no flags Details
Media check failure on BIOS boot of Workstation Live (3.05 MB, image/jpeg)
2022-07-11 17:51 UTC, Brandon Nielsen
no flags Details

Description Davide Repetto 2022-06-30 23:53:30 UTC
Created attachment 1893782 [details]
Screenshot of the error at boot.

Description of problem:
=======================
Errors during boot at dracut-pre-udev with kernel 5.18.x — but only if dracut-config-generic* is installed.

Apparently it needs /sbin/sysctl for something, after modprobing sunrpc.


Version-Release number of selected component:
=============================================
dracut-056-1.fc36.x86_64
dracut-config-generic-056-1.fc36.x86_64
kernel-5.18.7-200.fc36.x86_64


How reproducible:
=================
dnf install dracut-config-generic
dracut --regenerate-all -f  
reboot


results:
========
The error messages shown in the attached image.

Comment 1 Brandon Nielsen 2022-07-01 18:52:40 UTC
Pretty sure this causes the media check to fail on recent composes as well as the checkiso service cannot be started.

Comment 2 Brandon Nielsen 2022-07-11 17:50:23 UTC
I still see "sh line 1: /sbin/sysctl: No such file or directory" on a HP Compaq 8501w BIOS machine, and a failure to verify install media afterwards, with the Fedora-Rawhide-20220711.n.0 compose[0]. Based on discussion on today's QA meeting, the two problems may not be related. Either way, I will attach a picture of a media check failure (I can't otherwise capture the output and can't reproduce in a VM).

[0] - https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20220711.n.0/compose/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-Rawhide-20220711.n.0.iso

Comment 3 Brandon Nielsen 2022-07-11 17:51:03 UTC
Created attachment 1896131 [details]
Media check failure on BIOS boot of Workstation Live

Comment 4 Adam Williamson 2022-07-13 15:28:27 UTC
Fixed by https://bodhi.fedoraproject.org/updates/FEDORA-2022-38325154c4 .

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

Comment 5 Brandon Nielsen 2022-07-16 22:31:45 UTC
(In reply to Brandon Nielsen from comment #2)
> I still see "sh line 1: /sbin/sysctl: No such file or directory" on a HP
> Compaq 8501w BIOS machine, and a failure to verify install media afterwards,
> with the Fedora-Rawhide-20220711.n.0 compose[0]. Based on discussion on
> today's QA meeting, the two problems may not be related. Either way, I will
> attach a picture of a media check failure (I can't otherwise capture the
> output and can't reproduce in a VM).
> 
> [0] -
> https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20220711.n.
> 0/compose/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-Rawhide-
> 20220711.n.0.iso

I have opened bug 2107858 for this issue.


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