ChanServ changed the topic of #nixos-systemd to: NixOS <3 systemd | | Next meeting 08.12.2020 14:00 UTC (every two weeks)
<makefu> andi-: especially for network devices i rename the interface via udev to et0 based on its mac-address. that works reasonably well
tsmeets[m] has quit [Quit: Idle for 30+ days]
<andi-> makefu: Yeah, that works as long as your hardware is stable and doesn't break. In my case I have no way of logging into my systems if they are unreachable via the network. If I had to replace a NIC I would have to update the configuration before rebooting. That is why I would want proper identifier for a network interface.
<flokli> andi-: you can also match on other facts, not just mac address
<flokli> like driver, vendor id and whatnot / see
<andi-> sure I can do that but what if I have many of those?
<andi-> 5 cards, each with 4 ports
<andi-> now you remove 1 and the PCIe addresses do not match anymore
<andi-> Mac addresses have issues with replacing devices
<andi-> Maybe we need a notion for the "2nd device on th PCI bus" instead of "2nd slot"
<andi-> that would at least preserve order
<flokli> I think bifurcation also makes things hard
<flokli> huh,
<andi-> I think what happened in my case was that one card moved from an x8 to an x16 slot and the addressing is done in pairs of x8's? Not sure if that is how it work.. Still baffled that it makes a difference what speed the slot is working in.
cwslimy[m] has joined #nixos-systemd
cwslimy[m] has left #nixos-systemd ["User left"]