Bug#773525: Randomly excludes available connections [when there are too many?]

2014-12-19 Thread Pietro Battiston
Package: network-manager
Version: 0.9.10.0-4
Severity: grave

Copypasted from a shell:

pietro@debiousci:~$ for i in `seq 1 10`; do nmcli c | wc; done
127 637   12827
127 637   12827
127 627   12827
126 628   12726
127 629   12573
127 634   12828
127 629   12827
127 630   12319
127 631   12827
127 627   12827


I am clearly not changing my list of available connections (so quick!). So what
is happening is that network-manager is dropping some of my registered
connections, in a random way. Initially I though it is unable to handle more
than 127, but then I saw that sometimes it only lists 126. The output of
nmcli c is otherwise almost sane (see below).

Some connections show up more frequently, some less. Consider for instance:

pietro@debiousci:~$ for i in `seq 1 10`; do nmcli c | grep -i condividi; done |
sort
Condividi 8a006f93-95ac-4683-a683-56413cbb95bb
802-3-ethernet   --
Condividi 8a006f93-95ac-4683-a683-56413cbb95bb
802-3-ethernet   --
Condividi 8a006f93-95ac-4683-a683-56413cbb95bb
802-3-ethernet   --
Condividi cab18fac-376f-42cf-9349-d9b4170dacce
802-3-ethernet   --
condividi con dnsmasq d54c2a91-f654-4d52-bdbd-cf9d8efdd9e5
802-3-ethernet   --
condividi  daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --
condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --
condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --
condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --
condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --
condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --
condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --
condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --
condividi   daa501b5-87eb-4a3f-a6d5-4fa73d042a66
802-3-ethernet   --

So
- one connection, Condividi, is shown 3 times out of 10
- one connection, condividi con dnsmasq, is shown 1 time only
- one connection, condividi, is shown most of the times... with different
space paddings

Different runs of the above command will clearly give different results, but
some connections are indeed more rare - i.e. condividi con dnsmasq usually
shows in none of the 10 tries - and some exhibit (even more than 2) different
space paddings. The wireless connection I need to use at work shows up more or
less once every 100 tries. Which, by the way, is very annoying: it usually
disables autoconnect, makes it virtually impossible to use gnome-control-center
(or the GNOME 3 drop-down menu) to connect, and makes it very hard and time
consuming also with nmcli c up (nm-connection-editor is also affected).

This is why the bug is grave: in particular, if a remote server relies on
network-manager in order to connect at startup... you'd better hope it is not
too remote.

The bug was present also with 0.9.10.0-3. My rough guess is that the
problematic upgrade was located between July and September.

P.S: just for info: _most_ of the connections are dropped:
pietro@debiousci:~$ ls /etc/NetworkManager/system-connections | wc
431 8918594



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser3.113+nmu3
ii  dbus   1.8.12-1
ii  init-system-helpers1.22
ii  isc-dhcp-client4.3.1-5
ii  libc6  2.19-13
ii  libdbus-1-31.8.12-1
ii  libdbus-glib-1-2   0.102-1
ii  libgcrypt201.6.2-4+b1
ii  libglib2.0-0   2.42.1-1
ii  libgnutls-deb0-28  3.3.8-5
ii  libgudev-1.0-0 215-7
ii  libmm-glib01.4.0-1
ii  libndp01.4-2
ii  libnewt0.520.52.17-1+b1
ii  libnl-3-2003.2.24-2
ii  libnl-genl-3-200   3.2.24-2
ii  libnl-route-3-200  3.2.24-2
ii  libnm-glib40.9.10.0-3
ii  libnm-util20.9.10.0-3
ii  libpam-systemd 215-7
ii  libpolkit-gobject-1-0  0.105-8
ii  libreadline6   6.3-8+b1
ii  libsoup2.4-1   2.48.0-1
ii  libsystemd0215-7
ii  libteamdctl0   1.12-1
ii  libuuid1   2.25.2-3
ii  lsb-base   4.1+Debian13+nmu1
ii  policykit-10.105-8
ii  udev   215-7
ii  wpasupplicant  2.3-1

Versions of packages network-manager recommends:

Bug#773525: [Pkg-utopia-maintainers] Bug#773525: Randomly excludes available connections [when there are too many?]

2014-12-19 Thread Michael Biebl
Control: severity -1 important
Control: tags -1 moreinfo

Am 19.12.2014 um 15:32 schrieb Pietro Battiston:
 Package: network-manager
 Version: 0.9.10.0-4
 Severity: grave
 
 Copypasted from a shell:
 
 pietro@debiousci:~$ for i in `seq 1 10`; do nmcli c | wc; done
 127 637   12827
 127 637   12827
 127 627   12827
 126 628   12726
 127 629   12573
 127 634   12828
 127 629   12827
 127 630   12319
 127 631   12827
 127 627   12827
 
 
 I am clearly not changing my list of available connections (so quick!). So 
 what
 is happening is that network-manager is dropping some of my registered
 connections, in a random way. Initially I though it is unable to handle more
 than 127, but then I saw that sometimes it only lists 126. The output of
 nmcli c is otherwise almost sane (see below).
 
 Some connections show up more frequently, some less. Consider for instance:
 
 pietro@debiousci:~$ for i in `seq 1 10`; do nmcli c | grep -i condividi; done 
 |
 sort
 Condividi 8a006f93-95ac-4683-a683-56413cbb95bb
 802-3-ethernet   --
 Condividi 8a006f93-95ac-4683-a683-56413cbb95bb
 802-3-ethernet   --
 Condividi 8a006f93-95ac-4683-a683-56413cbb95bb
 802-3-ethernet   --
 Condividi cab18fac-376f-42cf-9349-d9b4170dacce
 802-3-ethernet   --
 condividi con dnsmasq d54c2a91-f654-4d52-bdbd-cf9d8efdd9e5
 802-3-ethernet   --
 condividi  daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 condividi daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 condividi   daa501b5-87eb-4a3f-a6d5-4fa73d042a66
 802-3-ethernet   --
 
 So
 - one connection, Condividi, is shown 3 times out of 10
 - one connection, condividi con dnsmasq, is shown 1 time only
 - one connection, condividi, is shown most of the times... with different
 space paddings
 
 Different runs of the above command will clearly give different results, but
 some connections are indeed more rare - i.e. condividi con dnsmasq usually
 shows in none of the 10 tries - and some exhibit (even more than 2) different
 space paddings. The wireless connection I need to use at work shows up more or
 less once every 100 tries. Which, by the way, is very annoying: it usually
 disables autoconnect, makes it virtually impossible to use 
 gnome-control-center
 (or the GNOME 3 drop-down menu) to connect, and makes it very hard and time
 consuming also with nmcli c up (nm-connection-editor is also affected).
 
 This is why the bug is grave: in particular, if a remote server relies on
 network-manager in order to connect at startup... you'd better hope it is not
 too remote.

Not really, grave means, the package is unusable, which it clearly i'snt.

 The bug was present also with 0.9.10.0-3. My rough guess is that the
 problematic upgrade was located between July and September.
 

Can you pinpoint the exact version please.


 pietro@debiousci:~$ ls /etc/NetworkManager/system-connections | wc
 431 8918594

How did you generate 431 connections? Did you copy files around?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Processed: Re: [Pkg-utopia-maintainers] Bug#773525: Randomly excludes available connections [when there are too many?]

2014-12-19 Thread Debian Bug Tracking System
Processing control commands:

 severity -1 important
Bug #773525 [network-manager] Randomly excludes available connections [when 
there are too many?]
Severity set to 'important' from 'grave'
 tags -1 moreinfo
Bug #773525 [network-manager] Randomly excludes available connections [when 
there are too many?]
Added tag(s) moreinfo.

-- 
773525: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773525
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org