-
Notifications
You must be signed in to change notification settings - Fork 38
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
rd.live.overlay.overlayfs=1 is broken on Fedora 39 LiveOS #2645 #137
Comments
This needs to be triage to have evidence that this is actionable for dracut-ng main version. This might not be an issue with dracut, but with Fedora or https://github.com/livecd-tools/livecd-tools (which are all different repositories, in which case the bug should be filed not here). |
It'd be best to test with v60 first: https://bodhi.fedoraproject.org/updates/FEDORA-2024-de1619b856 |
@LaszloGombos : I didn't use any of the livecd-tools to reproduce this issue. The Fedora 39 LiveOS was directly written into an usb using following command Then the usb drive was booted and it's grub.cfg modified according to my description above FYI: livecd-tools can't be used as of Fedora 39 and since Fedora 35+ because the structure of the .iso files has been changed and an appropriate release still needs to be available from the official Fedora repos. see this issues #244 and #253 in livecd-tools repository |
Food for thoughts: couldn't it be related with SELinux rules because of the folders where I found this thread in Fedora Discussion and this and that bugzilla report Can't be sure if it helps or not, it is well beyond my understanding |
Thanks @FGrose for the speedy upgrade of the man page on Booting a Live Image. So I can provide feedback on a Fedora 40beta Workstation LIve ISO USB drive, please indicate which are the MINIMAL kernetl/dracut command line parameters required to activate:
For now whatever combination of rd.live.overlayXXX parameters I try, I get either dmesg errors or no overlay feature (neither temporary nor permanent)
|
Thanks @FGrose for the speedy upgrade of the man page on Booting a Live Image. So I can provide feedback on a Fedora 40beta Workstation LIve ISO USB drive, please indicate: What are the minimal kernel command line parameters to activate (on a freshly created Fedora 40beta Workstation Live USB):
For now whatever combination of rd.live.overlayXXX parameters I try, I get either dmesg errors or no overlay feature (neither temporary nor permanent)
|
@mahdiaqallal . When you e.g. Google "Fedora bug database" that will lead you to https://fedoraproject.org/wiki/Bugzilla, which will lead you to https://bugzilla.redhat.com/ . Reporting bugs in the wrong bug database has at least two consequences
Please file the bug in the Fedora bug database or provide some evidence why dracut-ng upstream is impacted. |
Thank your for your explanations @LaszloGombos I will report bug(s) accordingly regarding Fedora Il seems to me nonetheless that dracut-ng uptream is affected when using it's I get the following message:
Either that's a bug or I am not using the dracut-ng command line parameters correctly. If so, the documentation recently upgraded by @FGrose might still need more explanations and most importantly more examples IMHO:
In the latter case it is still unclear in the doc what the parameter How should I handle this now that the present issue is closed ? Is it a new issue to file, requesting more details in man page or is it relevant a bug issue here ? |
Describe the bug
A clear and concise description of what the error is.
rd.live.overlay.overlayfs=1
is supposed to provide a non-persistent (i.e. deleted after reboot of Live Image) and temporary storage in RAM at/run/overlayfs
which is by default 32GiB unless another parameter is supplied :rd.live.overlay.size=<size_MiB>
. See dracut documentation #Booting live imagesUsing
rd.live.overlay.overlayfs=1
as kernel command line parameter has two issuessudo dmesg | grep overlayfs
includes an error:[ 13.317280] overlayfs: failed to resolve '/run/overlayfs': -2
Installing any rpm package once Fedora 39 LiveOS is running, results with the same errors
error: lsetfilecon: (33 /usr/bin/make-dummy-cert;66130180, system_u:object_r:bin_t:s0) Permission denied
error: Plugin selinux: hook fsm_file_prepare failed
[...]
Error unpacking rpm package
Failed:
Error: Transaction failed
Below an example with
openssl
Distribution used
Which distribution was this behaviour seen in?
Fedora 39 LiveOS
Dracut version
Which dracut version was this behaviour seen in?
Fedora 39 dracut-059-16.fc39
Init system
Which init system is being used?
systemd
To Reproduce
Steps or code to reproduce the behavior.
Insert alongside your kernel command line parameter on Fedora 39 Live ISO (for example in a
grub.cfg
menuentry)rd.live.overlay.overlayfs=1
after the parameterrd.live.image
Expected behavior
A clear and concise description of what you expected to happen.
We should have with this parameter :
a root live filesystem with 32GiB of available RAM space instead of 4.9G is used and 1.5G is available space out of a total size of 6.4G if this parameter is not used
the ability to install rpm packages with
sudo dnf install <package>
until the available RAM is depletedAdditional context
Add any other context you like about the problem here.
a. Users of Fedora Linux have been reporting related bugs here: https://discussion.fedoraproject.org/t/fedora-liveos-root-system-and-available-ram/82531/1
CC @gregory-lee-bartholomew
(Cherry-picked commit from dracutdevs/dracut#2604 and dracut-ng #61)
b. The Booting Live Images documentation section could need be more "verbose" with more explanations, examples, use-cases. IMHO
The text was updated successfully, but these errors were encountered: