[systemd-devel] [PATCH] udev: ifname matches given mac

2014-01-15 Thread Umut Tezduyar Lindskog
This covers the case where NamePolicy has mac in it and MACAddress is given. Ex: NamePolicy=mac MACAddress=00:00:00:00:00:00 Interface name becomes [en|wl]x Also cleanup rtnl_set_link_properties --- src/libsystemd/rtnl-util.c | 16 ++---

Re: [systemd-devel] [PATCH] udev: ifname matches given mac

2014-01-15 Thread Tom Gundersen
Hi Umut, I'm not really convinced about this. I think we should be fairly conservative about what names we consider persistent. The way NamePolicy=mac currently works is that it will base the name on the hardware mac address (i.e., not randomly generated by the kernel, set by userspace etc), and

Re: [systemd-devel] [PATCH] udev: ifname matches given mac

2014-01-15 Thread Umut Tezduyar Lindskog
Hi Tom, -Original Message- From: Tom Gundersen [mailto:t...@jklm.no] Sent: den 15 januari 2014 14:23 To: Umut Tezduyar Lindskog Cc: systemd Mailing List; Umut Tezduyar Lindskog Subject: Re: [systemd-devel] [PATCH] udev: ifname matches given mac Hi Umut, I'm not really

Re: [systemd-devel] [PATCH] udev: ifname matches given mac

2014-01-15 Thread Tom Gundersen
: [systemd-devel] [PATCH] udev: ifname matches given mac Hi Umut, I'm not really convinced about this. I think we should be fairly conservative about what names we consider persistent. The way NamePolicy=mac currently works is that it will base the name on the hardware mac address (i.e