[systemd-devel] Updating network file during boot

Henti Smith henti at gaydonsmith.co.uk
Fri Aug 23 08:21:41 UTC 2024


On Thu, 22 Aug 2024 at 19:07, Andrei Borzenkov <arvidjaar at gmail.com> wrote:

> On 22.08.2024 16:56, Henti Smith wrote:
> > I've switched to using "Property=" as follows:
> >      # Fixed MAC and name for enp6s0 (Block Diagram) when debug board is
> not
> > plugged in
> >      # Renamed to mvc-sw2 by PCI Address.
> >      [Match]
> >
> > Property=DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:05:00.0/net/enp5s0
> >
> >      [Link]
> >      MACAddress=02:00:00:00:06:00
> >      Name=mvc-sw2
> >
> > However this is also inconsistent:
>
> What systemd version?
>
>
Ubuntu focal : 245.4-4ubuntu3.23

We will be moving to Jammy in the near future.

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.

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.

Henti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240823/c212d8ca/attachment.htm>


More information about the systemd-devel mailing list