[systemd-devel] Dracut ifname= and systemd naming schemes

Lukáš Nykrýn lnykryn at redhat.com
Mon Sep 16 12:31:53 UTC 2024


Hi!
I think this should be fine. ifname= uses udev to rename the device and
udev will not rename the device later again.

Lukas

pá 13. 9. 2024 v 19:14 odesílatel Thomas HUMMEL <thomas.hummel at pasteur.fr>
napsal:

> Hello,
>
> Using systemd-udev-239-74 (RHEL 8.8), I wonder if, if one sets the
> ethernet device name with ifname=foobar:<mac address> passed to
> initialramfs (dracut) this name is at "risk" to be renamed in the real
> root fs according to systemd-udevd.service naming schemes and link name
> policy which, on RHEL 8.8. is NamePolicy=kernel database onboard slot path
> ?
>
> I'm not sure about the 'keep' algorithm and if or when it's applied and
> which is the only thing which make me think the answer to my question
> would be 'no'
>
> The idea is to know if one could drop into the real root fs a static
> network config referencing this device name initially set with ifname=
>
> Thanks for your help
>
> --
> Thomas HUMMEL
> HPC Group
> Institut PASTEUR
> Paris, FRANCE
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240916/8b811a9e/attachment.htm>


More information about the systemd-devel mailing list