-
Notifications
You must be signed in to change notification settings - Fork 149
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
biosdevname: actor only enable biosdevname for current kernel version #970
Comments
@hjensas Hi, thank you for the report and investigation. I agree that We have been thinking in the past about using |
@pirat89 Thanks for taking a first look. I understand the problem with using 'ALL'. I guess it may make sense to change the |
@oamg/developers fyi |
Hi @hjensas , it should be fixed already by:
In case of RHEL 7.9 Extras the fix has been already released. Can you confirm it fixed your problem? |
Actual behavior
The actor which enables biosdevname only does so for the currently running kernel.
When the kernel is updated and the system boots the new kernel, biosdevname won't be enabled. Configuration files will reference the biosdevname consistent interface names, but the systemd consistent interface nameing scheme is active.
To Reproduce
Expected behavior
Leapp should add the kernel argument to enable biosdevname to the defaults, so that kernel update can happen without the side effect of disabling biosdevname post Leapp upgrade.
System information:
$ cat /etc/system-release
)Attach (or provide link to) log files if applicable (optional - may contain confidential information):
Additional context
This actor applies the kernel command line option with:
When you run grubby with one specific kernel, it will only add the argument to that specific kernel version.
Instead, it shoule use
--update-kernel=ALL
to set it for all kernels See manual pageGRUBBY(8)
.I believe the correct command to use would be:
Using
ALL
should ensure the option is added toGRUB_CMDLINE_LINUX
.Update: The code was refactored in commit 1c8a052 so the command examples are not exactly as above in current code.
The text was updated successfully, but these errors were encountered: