-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
busybox modprobe incompatibility #2581
Comments
Caused by the iscsi dracut module https://github.com/dracutdevs/dracut/blob/master/modules.d/95iscsi/parse-iscsiroot.sh#L98 |
Tried to exclude the iscsi module but the problem persists...
|
@LaszloGombos Seems to work. I'm still having problems with |
Try rd.driver.pre=xfs rd.driver.pre=vfat kernel command line. Thanks |
@LaszloGombos Sorry for the late reply... But you're right! That did it! Wondering why dracut with busybox doesn't autoload these modules though... |
It would be nice if you could provide an allowlist or denylist for the busybox programs. We recently ran into failures because the busybox |
@dbnicholson In most cases blkid can be replaced by udevadm and dracut can be more portable with changes like this - #2033 . |
In some cases, sure. In our case we have a dracut module that expands the root partition. In order to know what type of partitioning is needed, we use Anyways, that's just papering over the issue. The busybox implementations of several utilities (especially the util-linux ones) are very minimal. If you enable the busybox module, it will happily symlink any applet that's included by busybox. The only way to replace the busybox symlinks with the real thing is to manually delete the symlink and install again. If you enable the busybox module and you get a toy program, there's little you can do about it. |
@dbnicholson this is good background, but we need to narrow this down for actionable improvements that is in scope for the dracut project to improve (and not the busybox project).
Would --include help here as that would overwrite the symlink ?
Depending on the "ordering of your dracut module" are you not able to manually opt in to some util-linux binaries in your dracut module ? |
Of course. Here is a patch I wrote yesterday to workaround our specific breakage. That simply hardcodes What I suggested earlier was providing configuration options such as
I don't think so. The
We'd have to order our module before |
Describe the bug
Including busybox causes the emergency shell to get started due to incompatibility of
modprobe
.Distribution used
Fedora38
Dracut version
059-5.fc38
Init system
systemd
To Reproduce
Expected behavior
Normal bootup
Additional context
It seems a problem with dropbox modprobe not supporting the
--all
flag. Seerdsosreport.txt
line1099
rdsosreport.txt
The text was updated successfully, but these errors were encountered: