-
Notifications
You must be signed in to change notification settings - Fork 56
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
ncm-network: nmstate, renaming devices and ifcfg files #1674
Comments
|
It is weird that initscripts are deprecated and not installed by default but that a new component provided by RH requires them... |
@jouvin it's not required by eg nmstate or networkmanager, i just wanted to point out that anyone relying on these renaming rules will need a replacement if we fully drop initscripts |
in my hunt to find what is renming our ibX devices, udev debug log pointed to /usr/lib/systemd/network/99-default.link. |
yep, as expected. when specifiying interface names incl the mac address, kickstart generates eg
to integrate this in nmstate, the more complicated procedure of actual renaming might be problematic. |
Not sure why/what you want to integrate to nmstate. This part is already done, nmstate must just refer to the new names. At least it seems to work for us (apart from #1671 which for me is unrelated). May be I missed something? |
we actually create udev rules at KS to get consistent naming so by the ncm-network runs in ks-post-reboot, all interfaces are correctly named with right Mac address. can share snippet we add in ks. |
well, if the ifcfg files exist, they were used to control device names (to some point). now that these files are gone, all kinds of stuff might go wrong. |
in at least el9.2, there is a
/usr/lib/udev/rules.d/60-net.rules
which basically renames all it can using/lib/udev/rename_device
.however, that tool still (and only?) supports ifcfg files. so we have another side effect of switching to nmstate: we loose some control of naming devices.
question is, what do we do with this? ignore, generate the ifcfg files (pins mac address to device name), or generate udev rules?
The text was updated successfully, but these errors were encountered: