Please add NetworkManager option not to auto-enable new network devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned | ||
Precise |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
This is a feature request.
It would be nice if Network Manager could be configured such that it won't automatically attempt to use new network devices attached to the system.
Here's the reasoning. My team manages a large fleet of enterprise desktops. We've had a number of cases where a user plugs a USB NIC into their computer, and Network Manager helpfully configures the new network interface and runs dhclient on it. And if the DHCP response is answered, you get a new default route, new resolv.conf, etc. In a couple cases this was caused by plugging in an Android phone that had USB tethering turned on, and I think we even had one case where plugging in a USB GPS did this. None of the cases involved the user actually intending to use the device as a network interface.
We could blacklist the usbnet module, but there are legitimate cases where we want to allow USB networking. It would be so much better if we could get Network Manager not to use these new devices that have shown up until the user configures them.
summary: |
- Network Manager option to avoid auto-enable of new network devices + Please add NetworkManager option not to auto-enable new network devices |
Changed in network-manager (Ubuntu Raring): | |
milestone: | none → ubuntu-13.04-beta-1 |
importance: | Undecided → High |
no longer affects: | network-manager (Ubuntu Quantal) |
no longer affects: | network-manager (Ubuntu Raring) |
Changed in network-manager (Ubuntu): | |
status: | Confirmed → Triaged |
This is a feature request I've already discussed shortly with Etienne Goyer.
Setting as Wishlist/Confirmed since I can acknowledge the issue, except there is a lack of easy ways to fix this.
Thinking back however, I'm certain there is a way of at least patching NM so that the default wired connections usually created automatically would not be, which will allow you to have new devices not automatically build connections and activate, but still allow creating them manually when needed. Since patching this is possible then it should be relatively simple to also make that optional and dependant on a gconf/dconf key (which would default to the current behavior).