Skip to content
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

pxe booting a initramfs from dracut fails with "losetup: unexpected arguments" #1576

Closed
marvinbernhardt opened this issue Aug 6, 2021 · 3 comments · Fixed by #1577
Closed
Labels
bug Our bugs dmsquash-live Issues related to the dmsquash-live module livenet Issues related to the livenet module

Comments

@marvinbernhardt
Copy link

marvinbernhardt commented Aug 6, 2021

Describe the bug
See title

Distribution used
Fedora 33

Dracut version
dracut 055-3.fc33

Init system
Not sure about terminology. PXE?

To Reproduce
dracut --force --no-hostonly --add 'livenet network base' /cluster/nodeimages/initramfs-dracut.img $(uname -r)
Then use this in a PXE network boot setup.

Expected behavior
System boots in ram.

Additional context
Here is the problematic line 94b0d89#r54513596
It should not have quotes there.

@haraldh
Copy link
Collaborator

haraldh commented Aug 6, 2021

Please test, if #1577 fixes your issue.

@marvinbernhardt
Copy link
Author

Sorry, I don't have time to do that. I have never compiled dracut manually. For now I am just using a version 050 rpm. But I understand the changes and I am pretty sure that fixes the issue.

haraldh added a commit to haraldh/dracut that referenced this issue Aug 6, 2021
…nges

`"$opt"` with empty `opt` will give errors for `losetup`.

dracutdevs#1576

Rename the variable and set the arguments dynamically, if the variable
is set.
@berlin4apk

This comment has been minimized.

haraldh added a commit that referenced this issue Oct 6, 2021
…nges

`"$opt"` with empty `opt` will give errors for `losetup`.

#1576

Rename the variable and set the arguments dynamically, if the variable
is set.
aafeijoo-suse pushed a commit to aafeijoo-suse/dracut that referenced this issue Sep 29, 2022
…nges

`"$opt"` with empty `opt` will give errors for `losetup`.

dracutdevs#1576

Rename the variable and set the arguments dynamically, if the variable
is set.

(cherry picked from commit 0c631ef)

bsc#1203894
aafeijoo-suse pushed a commit to aafeijoo-suse/dracut that referenced this issue Oct 10, 2022
…nges

`"$opt"` with empty `opt` will give errors for `losetup`.

dracutdevs#1576

Rename the variable and set the arguments dynamically, if the variable
is set.

(cherry picked from commit 0c631ef)

bsc#1203894
@LaszloGombos LaszloGombos added dmsquash-live Issues related to the dmsquash-live module livenet Issues related to the livenet module labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Our bugs dmsquash-live Issues related to the dmsquash-live module livenet Issues related to the livenet module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants