<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Aug 2024 at 19:07, Andrei Borzenkov <<a href="mailto:arvidjaar@gmail.com">arvidjaar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 22.08.2024 16:56, Henti Smith wrote:<br>> I've switched to using "Property=" as follows:<br>
> # Fixed MAC and name for enp6s0 (Block Diagram) when debug board is not<br>
> plugged in<br>
> # Renamed to mvc-sw2 by PCI Address.<br>
> [Match]<br>
> <br>
> Property=DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:05:00.0/net/enp5s0<br>
> <br>
> [Link]<br>
> MACAddress=02:00:00:00:06:00<br>
> Name=mvc-sw2<br>
> <br>
> However this is also inconsistent:<br>
<br>
What systemd version?<br>
<br></blockquote><div><br></div><div>Ubuntu focal : 245.4-4ubuntu3.23</div><div> </div><div>We will be moving to Jammy in the near future. <br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">I'm going to attempt using UDEV for device naming again and see if I can find a way to stop systemd from renaming devices, which is what happened before. <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">If there are any pointers on using either exclusively UDEV or link files to manage device naming without them UDEV and systemd clobbering each other, it will be very welcome. <br></div><div class="gmail_quote"><br></div><div class="gmail_quote"></div><div class="gmail_quote">Henti<br></div></div>