[Pkg-utopia-maintainers] Bug#854186: network-manager: DHCP connection stopped working (however, it works perfectly by using the console)

Marco Presi marco.presi at gmail.com
Sat Feb 4 19:22:37 UTC 2017


Package: network-manager
Version: 1.6.0-1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Apparently nothing, probably an upgrade made few days ago

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I ran, as usual, "apt dist-uprgade"

   * What was the outcome of this action?

Few days later, as soon as I started my Gnome session, the network-manager
applet shows that the system tries to connect to
the DHCP server running on my local router.

   * What outcome did you expect instead?

I expected a fast dhcp connection as usual.


*** End of the template - remove these template lines ***

I am able to connect by first stopping the interface by using the GNOME applet.
Then I am able to set up the connection by using the command line (e.g. by
running dhclient).
When I run dhclient, the system connect almost instantaneously, and the GNOME
applet change status indicating that
the dhcp server assigned an IP (and the DNS as well).

Here is the output of "tail -f /var/log/messages" when I try to activate the
eth interface through the GNOME applet:

Feb  4 20:18:59 irmafamily NetworkManager[507]: <info>  [1486235939.2952]
device (enp2s0): Activation: starting connection 'Connessione via cavo 1'
(3ffb3114-1734-39d2-be00-fb3b00bee8e8)
Feb  4 20:18:59 irmafamily NetworkManager[507]: <info>  [1486235939.2953]
audit: op="connection-activate" uuid="3ffb3114-1734-39d2-be00-fb3b00bee8e8"
name="Connessione via cavo 1" pid=3488 uid=1000 result="success"
Feb  4 20:18:59 irmafamily NetworkManager[507]: <info>  [1486235939.2954]
device (enp2s0): state change: disconnected -> prepare (reason 'none') [30 40
0]
Feb  4 20:18:59 irmafamily NetworkManager[507]: <info>  [1486235939.2955]
manager: NetworkManager state is now CONNECTING
Feb  4 20:18:59 irmafamily NetworkManager[507]: <info>  [1486235939.2957]
device (enp2s0): state change: prepare -> config (reason 'none') [40 50 0]
Feb  4 20:18:59 irmafamily NetworkManager[507]: <info>  [1486235939.2960]
device (enp2s0): state change: config -> ip-config (reason 'none') [50 70 0]
Feb  4 20:18:59 irmafamily NetworkManager[507]: <info>  [1486235939.2962] dhcp4
(enp2s0): activation: beginning transaction (timeout in 45 seconds)
Feb  4 20:18:59 irmafamily NetworkManager[507]: <info>  [1486235939.2973] dhcp4
(enp2s0): dhclient started with pid 4189
Feb  4 20:18:59 irmafamily gnome-shell[602]: ((libnm-util/nm-
connection.c:1549)): assertion '<dropped>' failed
Feb  4 20:18:59 irmafamily gnome-shell[832]: ((libnm-util/nm-
connection.c:1549)): assertion '<dropped>' failed

Here it follows the output of "tail -f /var/log/messages" when I activate the
eth interface by running dhclient:

Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7153]
keyfile: add connection in-memory
(ab188d84-7201-45ac-8f69-2a405cdfc859,"enp2s0")
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7168]
device (enp2s0): Activation: starting connection 'enp2s0'
(ab188d84-7201-45ac-8f69-2a405cdfc859)
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7172]
device (enp2s0): state change: disconnected -> prepare (reason 'none') [30 40
0]
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7180]
device (enp2s0): state change: prepare -> config (reason 'none') [40 50 0]
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7183]
device (enp2s0): state change: config -> ip-config (reason 'none') [50 70 0]
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7321]
device (enp2s0): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7701]
device (enp2s0): state change: ip-check -> secondaries (reason 'none') [80 90
0]
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7707]
device (enp2s0): state change: secondaries -> activated (reason 'none') [90 100
0]
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7710]
manager: NetworkManager state is now CONNECTED_LOCAL
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7953]
manager: NetworkManager state is now CONNECTED_GLOBAL
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7956]
policy: set 'enp2s0' (enp2s0) as default for IPv4 routing and DNS
Feb  4 20:20:14 irmafamily NetworkManager[507]: <info>  [1486236014.7958]
device (enp2s0): Activation: successful, device activated.
Feb  4 20:20:14 irmafamily gnome-shell[602]: ((libnm-util/nm-
connection.c:1549)): assertion '<dropped>' failed
Feb  4 20:20:14 irmafamily gnome-shell[832]: ((libnm-util/nm-
connection.c:1549)): assertion '<dropped>' failed


I am also attaching the NetworkManager conf file (it always worked, I never
changed it):

root at irmafamily:~# cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false


Thanks,

Marco



-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                3.115
ii  dbus                   1.10.14-1
ii  init-system-helpers    1.47
ii  libaudit1              1:2.6.7-1
ii  libbluetooth3          5.43-1
ii  libc6                  2.24-9
ii  libglib2.0-0           2.50.2-2
ii  libgnutls30            3.5.8-3
ii  libgudev-1.0-0         230-3
ii  libjansson4            2.9-1
ii  libmm-glib0            1.6.4-1
ii  libndp0                1.6-1
ii  libnewt0.52            0.52.19-1
ii  libnl-3-200            3.2.27-1
ii  libnm0                 1.6.0-1
ii  libpam-systemd         232-15
ii  libpolkit-agent-1-0    0.105-17
ii  libpolkit-gobject-1-0  0.105-17
ii  libreadline7           7.0-2
ii  libselinux1            2.6-3
ii  libsoup2.4-1           2.56.0-2
ii  libsystemd0            232-15
ii  libteamdctl0           1.26-1
ii  libuuid1               2.29.1-1
ii  lsb-base               9.20161125
ii  policykit-1            0.105-17
ii  udev                   232-15
ii  wpasupplicant          2.6-3

Versions of packages network-manager recommends:
ii  crda             3.18-1
ii  dnsmasq-base     2.76-5
ii  iptables         1.6.0+snapshot20161117-5
ii  iputils-arping   3:20161105-1
ii  isc-dhcp-client  4.3.5-3
ii  modemmanager     1.6.4-1
ii  ppp              2.4.7-1+4

Versions of packages network-manager suggests:
pn  libteam-utils  <none>

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list