(replied inline) 2015-03-26 20:46 GMT+08:00 Martin Pitt <[email protected]>:
> I think this overcomplicates things a lot. I see three options here: > > 1) My impression is that we don't actually care about persistant > interface names on the phone. Therefore, phone image builds could just > create/ship an empty /etc/udev/rules.d/75-persistent-net-generator.rules > which will disable the one in /lib/udev/rules.d/ and therefore disable > the generator completely. > This is doable to me. 2) If we actually do want persistant names across reboots, then > /etc/udev/rules.d/ needs to become writable. It does not make sense to > support a phone specific path for this if we could just make the above > writable. > It's not about persistent names across reboots, the interface name will not be consistent if driver reload happens, and that's what's happening on embedded devices. Whenever driver reload happens, there will be an ADD uevent which triggers 75-persistent-net-generator.rules. > 3) As you already said, we could also enable net.ifnames=1 on the > kernel command line to use "proper" interface names, which will also > disable 75-persistent-net-generator.rules. > net.ifnames depends on systemd, and Ubuntu Phone is not yet upgrade to use systemd by default. > ** Package changed: systemd (Ubuntu) => ubuntu-settings (Ubuntu) Vicamo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1435687 Title: disable/enable WiFi on devices with read-only rootfs, the wifi network name will auto plus 1 To manage notifications about this bug go to: https://bugs.launchpad.net/systemd/+bug/1435687/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
