group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #02431
[Bug 1574483] [NEW] assigns MAC-based names for devices with locally administered MAC address
Public bug reported:
Originally from https://bugs.debian.org/812575: Our current
/lib/systemd/network/90-mac-for-usb.link assigns MAC-based names to all
USB devices. However, this is wrong and pointless for locally
administered MAC addresses (with the second bit set to '1', see
https://en.wikipedia.org/wiki/MAC_address#Address_details).
The old 75-persistent-net generator had this rule:
ENV{MATCHADDR}=="?[2367abef]:*", ENV{MATCHADDR}=""
which ignored these devices. We need to adjust 90-mac-for-usb.link to do
the same, and only apply to universally administered MAC addresses (at
least until https://lists.ubuntu.com/archives/ubuntu-
devel/2016-April/039302.html gets concluded).
We should simply fall through the default policy of assigning location
based names. The kernel assigned ones have no meaning whatsoever, so
this at least provides name stability for use cases where you can rely
on plugging the device into the same port.
** Affects: systemd (Ubuntu)
Importance: High
Assignee: Martin Pitt (pitti)
Status: Triaged
** Affects: systemd (Ubuntu Xenial)
Importance: High
Assignee: Martin Pitt (pitti)
Status: Triaged
** Affects: systemd (Ubuntu Yakkety)
Importance: High
Assignee: Martin Pitt (pitti)
Status: Triaged
** Affects: systemd (Debian)
Importance: Unknown
Status: Unknown
** Changed in: systemd (Ubuntu)
Assignee: (unassigned) => Martin Pitt (pitti)
** Changed in: systemd (Ubuntu)
Status: New => Triaged
** Changed in: systemd (Ubuntu)
Importance: Undecided => High
** Also affects: systemd (Ubuntu Yakkety)
Importance: High
Assignee: Martin Pitt (pitti)
Status: Triaged
** Also affects: systemd (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu Xenial)
Status: New => Triaged
** Changed in: systemd (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: systemd (Ubuntu Xenial)
Assignee: (unassigned) => Martin Pitt (pitti)
** Bug watch added: Debian Bug tracker #812575
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812575
** Also affects: systemd (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812575
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1574483
Title:
assigns MAC-based names for devices with locally administered MAC
address
Status in systemd package in Ubuntu:
Triaged
Status in systemd source package in Xenial:
Triaged
Status in systemd source package in Yakkety:
Triaged
Status in systemd package in Debian:
Unknown
Bug description:
Originally from https://bugs.debian.org/812575: Our current
/lib/systemd/network/90-mac-for-usb.link assigns MAC-based names to
all USB devices. However, this is wrong and pointless for locally
administered MAC addresses (with the second bit set to '1', see
https://en.wikipedia.org/wiki/MAC_address#Address_details).
The old 75-persistent-net generator had this rule:
ENV{MATCHADDR}=="?[2367abef]:*", ENV{MATCHADDR}=""
which ignored these devices. We need to adjust 90-mac-for-usb.link to
do the same, and only apply to universally administered MAC addresses
(at least until https://lists.ubuntu.com/archives/ubuntu-
devel/2016-April/039302.html gets concluded).
We should simply fall through the default policy of assigning location
based names. The kernel assigned ones have no meaning whatsoever, so
this at least provides name stability for use cases where you can rely
on plugging the device into the same port.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574483/+subscriptions
Follow ups