Summary: | Do not rename p2p network interfaces | ||
---|---|---|---|
Product: | systemd | Reporter: | David Herrmann <dh.herrmann> |
Component: | general | Assignee: | Tom Gundersen <teg> |
Status: | RESOLVED NOTOURBUG | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | dh.herrmann, radek |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
David Herrmann
2013-11-06 09:34:50 UTC
Hmm, we should probably not try to be smart with kernel names coming in, they are passed by tools, and can be any name the tool writer likes. What might work more reliably is a sysfs attribute like: /sys/class/net/wlp3s0/name_assign_type which indicates: - kernel-allocated name (plain enumerated names by drivers) - userspace passed-in at creation time (tools asked for that) - userspace renamed name (not a kernel name anymore) The udev would only grab the first one to rename. Just for completeness, if anyone cares, this is being worked on upstream [1]. I have local patches for udev and push it once the attribute is available in net-next. [1] http://patchwork.ozlabs.org/project/netdev/list/?submitter=23807 Another update: the basic infrastructure is now in the kernel, and udev will use this. However, the patch for hooking this up for P2P in the kernel is not yet upstream. Will do that this cycle. We pushed the infrastructure into the kernel. It's now up to the wifi daemons to make sure they implement P2P correctly. I'm not going to fix wpa_supplicant. If others set up devices correctly, this will not be a problem for Wifi-P2P. Regardless of P2P, it's not our bug, so let wifi people deal with it. We pushed the core infrastructure into the kernel, so our job is more than done. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.