F18: unpredictable 'Predictable Network Interface Names'?

poma pomidorabelisima at gmail.com
Tue Feb 26 00:31:37 UTC 2013


On 02/26/13 01:00, Frantisek Hanzlik wrote:
> poma wrote:
>> On 02/25/13 21:01, Reindl Harald wrote:
>> […]
>>> so switch to anything else as ethX in your naming in
>>> /etc/udev/rules.d/70-persistent-net.rules
>>> like "lan0", "lan1", "wan0", "wan1" in ifcfg-lan1....
>>>
>>> so you would not have race-conditions in kernel/udev naming the interfaces
>>>
>>
>> mv /etc/udev/rules.d/70-persistent-net.rules(70-moje-net.rules)
>> /etc/udev/rules.d/70-persistent-net.rules.bkp(70-moje-net.rules.bkp)
>>
>> /boot/grub2/grub.cfg:
>> linux   /vmlinuz-… ifname=eth0-atl1:00:1e:8c:93:b5:8d
>> ifname=eth1-e1000e:00:1b:21:69:5f:74 ifname=eth2-8139too:00:1b:11:63:96:35
>>
>> /etc/default/grub:
>> GRUB_CMDLINE_LINUX="… ifname=eth0-atl1:00:1e:8c:93:b5:8d
>> ifname=eth1-e1000e:00:1b:21:69:5f:74 ifname=eth2-8139too:00:1b:11:63:96:35"
>>
>> dmesg | grep rename ;)
>>
>> man dracut.cmdline
>>
>>
>> Cheers,
>> poma
> 
> Thanks and yes, it is documented and will work. But why has kernel did
> that what udev did well before and systemd shit not know now?
> And whereas Fedora docs say that should be working by udev rules?
> 

Before has passed, even now.
Don't expect everything to be served up on a plate.
It's *open* source, so read it, grep manuals, follow the appropriate
mailing lists, stay tuned…
If Fedora kicking your ass, kick it back! ;)


Cheers,
poma




More information about the users mailing list