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

dracut-install falls over if sysroot argument end with / #2666

Open
kubiko opened this issue Jul 26, 2024 · 0 comments
Open

dracut-install falls over if sysroot argument end with / #2666

kubiko opened this issue Jul 26, 2024 · 0 comments
Labels
bug Our bugs

Comments

@kubiko
Copy link

kubiko commented Jul 26, 2024

Describe the bug
when --sysrootdir argument is used, internal buffer handling gets confused

Distribution used
Ubuntu 24.04

Dracut version
2, but also present when compiled from master

Init system
Ubuntu 24.04

To Reproduce
Simpliest is to pass `--sysrootdir /'
e.g.

mkdir /tmp/test.dracut
/usr/lib/dracut/dracut-install --debug -D /tmp/test.dracut --ldd -r / /usr/bin/true

as result, marformed lib symbolic link is created, lib -> /sr/lib

Expected behavior
install completes without error with correct directory structure in the destination directory created

Additional context
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Our bugs
Projects
None yet
Development

No branches or pull requests

1 participant