NM not listing all configured connections
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager |
Fix Released
|
Medium
|
|||
network-manager (Debian) |
Fix Released
|
Unknown
|
|||
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If a large number of networks is configured it may be impossible to connect to some of them as a regular user, because they are not listed.
It affects all the versions I tested: trusty, utopic, vivid and wily.
Steps to reproduce:
1. Configure a large number of networks (in my case it was 250).
2. Run nmcli c.
Expected result:
nmcli should list all available networks.
Actual result:
Only a random (yes, it changes a bit with every call) subset of all connection is displayed - about 130 connections.
If there are e.g. VPN connections among all connections you may end up with being not able to connect to them until you get lucky and the connection you need will be "drawn" to the available pool.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: network-manager 0.9.10.0-4ubuntu16
ProcVersionSign
Uname: Linux 4.0.0-4-generic x86_64
ApportVersion: 2.17.3-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jul 10 15:36:35 2015
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
IpRoute:
default via 192.168.0.1 dev wlan0 proto static metric 400
169.254.0.0/16 dev wlan0 scope link metric 1000
192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.14
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to wily on 2015-06-30 (10 days ago)
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
wlan0 wifi connected /org/freedeskto
lo loopback unmanaged /org/freedeskto
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.
Changed in network-manager: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in network-manager (Debian): | |
status: | Unknown → Incomplete |
Changed in network-manager (Debian): | |
status: | Incomplete → Fix Released |
Changed in network-manager: | |
status: | Confirmed → Fix Released |
I have debugged the network-manager daemon (src/settings/ nm-settings. c:234 impl_settings_ list_connection s) and nmcli (cli/src/ connections. c:8633 get_connections _cb).
It looks that a correct number of connections is sent from the daemon and a limited number is received in the nmcli. Maybe it's due to some DBus quota on message size?