[Pkg-utopia-maintainers] Bug#951531: network-manager: unable to activate wired connection when network-manager manages it

kiemlicz stanislaw.dev at gmail.com
Mon Feb 17 20:23:02 GMT 2020


Package: network-manager
Version: 1.14.6-2+deb10u1
Severity: grave
Justification: renders package unusable

Dear Maintainer,


   * What led up to the situation?
(Default Debian 10.3 installation with Plasma)
I wanted NetworkManager to manage my connection.
I've disabled /etc/network/interfaces like so:
```
#loopback
auto lo
iface lo inet loopback

#
#auto eno1
#allow-hotplug eno1
#iface eno1 inet dhcp
```
I've added the connection to the NetworkManager from GUI, reboot the system
The NetworkManager GUI constantly loops: activating -> deactivating ->
activating...
journalctl:
```
Feb 17 21:06:01 EDIT kernel: e1000e: eno1 NIC Link is Up 1000 Mbps Full Duplex,
Flow Control: Rx/Tx
Feb 17 21:06:01 EDIT kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes
ready
Feb 17 21:06:01 EDIT NetworkManager[720]: <info>  [1581969961.4093] device
(eno1): carrier: link connected
Feb 17 21:06:01 EDIT NetworkManager[720]: <info>  [1581969961.4099] device
(eno1): state change: unavailable -> disconnected (reason 'carrier-changed',
sys-iface-state: 'managed')
Feb 17 21:06:01 EDIT NetworkManager[720]: <info>  [1581969961.4123] manager:
startup complete
Feb 17 21:06:01 EDIT systemd[1]: Started Network Manager Wait Online.
-- Subject: A start job for unit NetworkManager-wait-online.service has
finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit NetworkManager-wait-online.service has finished
successfully.
--
-- The job identifier is 108.
Feb 17 21:06:01 EDIT systemd[1]: Reached target Network is Online.
-- Subject: A start job for unit network-online.target has finished
successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit network-online.target has finished successfully.
--
-- The job identifier is 105.
```
<CUT>
```
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.4523] keyfile:
add connection /etc/NetworkManager/system-connections/eno1.nmconnection
(db0f6d02-5fca-4290-b3da-dbbd02728756,"eno1")
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.4527] audit:
op="connection-add" uuid="db0f6d02-5fca-4290-b3da-dbbd02728756" name="eno1"
pid=1765 uid=1000 result="success"
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.4530] policy:
auto-activating connection 'eno1' (db0f6d02-5fca-4290-b3da-dbbd02728756)
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.4561] device
(eno1): Activation: starting connection 'eno1' (db0f6d02-5fca-4290-b3da-
dbbd02728756)
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.4562] device
(eno1): state change: disconnected -> prepare (reason 'none', sys-iface-state:
'managed')
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.4564] manager:
NetworkManager state is now CONNECTING
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.5545] device
(eno1): state change: prepare -> config (reason 'none', sys-iface-state:
'managed')
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.5552] device
(eno1): state change: config -> ip-config (reason 'none', sys-iface-state:
'managed')
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.5582] dhcp4
(eno1): activation: beginning transaction (timeout in 45 seconds)
Feb 17 21:07:02 EDIT NetworkManager[720]: <info>  [1581970022.5593] dhcp4
(eno1): dhclient started with pid 1773
Feb 17 21:07:02 EDIT avahi-daemon[717]: Joining mDNS multicast group on
interface eno1.IPv6 with address fe80::f9f0:2e76:1ffa:d4e5.
Feb 17 21:07:02 EDIT avahi-daemon[717]: New relevant interface eno1.IPv6 for
mDNS.
Feb 17 21:07:02 EDIT avahi-daemon[717]: Registering new address record for
fe80::f9f0:2e76:1ffa:d4e5 on eno1.*.
Feb 17 21:07:02 EDIT dhclient[1773]: DHCPDISCOVER on eno1 to 255.255.255.255
port 67 interval 6
Feb 17 21:07:03 EDIT ntpd[798]: error resolving pool 2.debian.pool.ntp.org:
Temporary failure in name resolution (-3)
Feb 17 21:07:04 EDIT ntpd[798]: error resolving pool 1.debian.pool.ntp.org:
Temporary failure in name resolution (-3)
Feb 17 21:07:06 EDIT ntpd[798]: error resolving pool 3.debian.pool.ntp.org:
Temporary failure in name resolution (-3)
Feb 17 21:07:08 EDIT NetworkManager[720]: <info>  [1581970028.5620] device
(eno1): state change: ip-config -> unavailable (reason 'carrier-changed', sys-
iface-state: 'managed')
Feb 17 21:07:08 EDIT NetworkManager[720]: <info>  [1581970028.5946] dhcp4
(eno1): canceled DHCP transaction, DHCP client pid 1773
Feb 17 21:07:08 EDIT NetworkManager[720]: <info>  [1581970028.5947] dhcp4
(eno1): state changed unknown -> done
Feb 17 21:07:08 EDIT avahi-daemon[717]: Withdrawing address record for
fe80::f9f0:2e76:1ffa:d4e5 on eno1.
Feb 17 21:07:08 EDIT avahi-daemon[717]: Leaving mDNS multicast group on
interface eno1.IPv6 with address fe80::f9f0:2e76:1ffa:d4e5.
Feb 17 21:07:08 EDIT avahi-daemon[717]: Interface eno1.IPv6 no longer relevant
for mDNS.
Feb 17 21:07:08 EDIT NetworkManager[720]: <info>  [1581970028.5980] manager:
NetworkManager state is now CONNECTED_LOCAL
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.1432] device
(eno1): carrier: link connected
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.1438] device
(eno1): state change: unavailable -> disconnected (reason 'carrier-changed',
sys-iface-state: 'managed')
Feb 17 21:07:09 EDIT kernel: e1000e: eno1 NIC Link is Up 1000 Mbps Full Duplex,
Flow Control: Rx/Tx
Feb 17 21:07:09 EDIT kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes
ready
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.1459] policy:
auto-activating connection 'eno1' (db0f6d02-5fca-4290-b3da-dbbd02728756)
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.1479] device
(eno1): Activation: starting connection 'eno1' (db0f6d02-5fca-4290-b3da-
dbbd02728756)
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.1480] device
(eno1): state change: disconnected -> prepare (reason 'none', sys-iface-state:
'managed')
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.1482] manager:
NetworkManager state is now CONNECTING
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.2405] device
(eno1): state change: prepare -> config (reason 'none', sys-iface-state:
'managed')
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.2423] device
(eno1): state change: config -> ip-config (reason 'none', sys-iface-state:
'managed')
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.2432] dhcp4
(eno1): activation: beginning transaction (timeout in 45 seconds)
Feb 17 21:07:09 EDIT NetworkManager[720]: <info>  [1581970029.2461] dhcp4
(eno1): dhclient started with pid 1780
Feb 17 21:07:09 EDIT avahi-daemon[717]: Joining mDNS multicast group on
interface eno1.IPv6 with address fe80::f9f0:2e76:1ffa:d4e5.
Feb 17 21:07:09 EDIT avahi-daemon[717]: New relevant interface eno1.IPv6 for
mDNS.
Feb 17 21:07:09 EDIT avahi-daemon[717]: Registering new address record for
fe80::f9f0:2e76:1ffa:d4e5 on eno1.*.
Feb 17 21:07:09 EDIT dhclient[1780]: DHCPDISCOVER on eno1 to 255.255.255.255
port 67 interval 8
Feb 17 21:07:15 EDIT NetworkManager[720]: <info>  [1581970035.2432] device
(eno1): state change: ip-config -> unavailable (reason 'carrier-changed', sys-
iface-state: 'managed')
Feb 17 21:07:15 EDIT NetworkManager[720]: <info>  [1581970035.2758] dhcp4
(eno1): canceled DHCP transaction, DHCP client pid 1780
Feb 17 21:07:15 EDIT NetworkManager[720]: <info>  [1581970035.2759] dhcp4
(eno1): state changed unknown -> done
Feb 17 21:07:15 EDIT avahi-daemon[717]: Withdrawing address record for
fe80::f9f0:2e76:1ffa:d4e5 on eno1.
Feb 17 21:07:15 EDIT avahi-daemon[717]: Leaving mDNS multicast group on
interface eno1.IPv6 with address fe80::f9f0:2e76:1ffa:d4e5.
Feb 17 21:07:15 EDIT avahi-daemon[717]: Interface eno1.IPv6 no longer relevant
for mDNS.
Feb 17 21:07:15 EDIT NetworkManager[720]: <info>  [1581970035.2796] manager:
NetworkManager state is now CONNECTED_LOCAL
Feb 17 21:07:16 EDIT NetworkManager[720]: <info>  [1581970036.0163] device
(eno1): carrier: link connected
Feb 17 21:07:16 EDIT NetworkManager[720]: <info>  [1581970036.0167] device
(eno1): state change: unavailable -> disconnected (reason 'carrier-changed',
sys-iface-state: 'managed')
```
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
1. `systemct restart NetworkManager` only when stuck in activating ->
deactivating -> activating works
2. Disconnect, uncheck: Allow auto-negotiation (OFF) leave default speed 100
Mbit/s, connect
   * What was the outcome of this action?
1. works, connection established ethtool reports 1Gb/s
2. works but only when speed is set to 100Mbit/s

   * What outcome did you expect instead?
connections established without issues

Kind regards
Stanley



-- System Information:
Debian Release: 10.3
  APT prefers stable
  APT policy: (1000, 'stable'), (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-0.bpo.2-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager depends on:
ii  adduser                3.118
ii  dbus                   1.12.16-1
ii  init-system-helpers    1.56+nmu1
ii  libaudit1              1:2.8.4-3
ii  libbluetooth3          5.50-1
ii  libc6                  2.28-10
ii  libcurl3-gnutls        7.64.0-4
ii  libglib2.0-0           2.58.3-2+deb10u2
ii  libgnutls30            3.6.7-4+deb10u2
ii  libjansson4            2.12-1
ii  libmm-glib0            1.10.0-1
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.21-4
ii  libnm0                 1.14.6-2+deb10u1
ii  libpam-systemd         241-7~deb10u3
ii  libpolkit-agent-1-0    0.105-25
ii  libpolkit-gobject-1-0  0.105-25
ii  libpsl5                0.20.2-2
ii  libreadline7           7.0-5
ii  libselinux1            2.8-1+b1
ii  libsystemd0            241-7~deb10u3
ii  libteamdctl0           1.28-1
ii  libudev1               241-7~deb10u3
ii  libuuid1               2.33.1-0.1
ii  lsb-base               10.2019051400
ii  policykit-1            0.105-25
ii  udev                   241-7~deb10u3
ii  wpasupplicant          2:2.7+git20190128+0c1e29f-6+deb10u1

Versions of packages network-manager recommends:
ii  crda                         3.18-1
ii  dnsmasq-base [dnsmasq-base]  2.80-1
ii  iptables                     1.8.2-4
ii  isc-dhcp-client              4.4.1-2
ii  modemmanager                 1.10.0-1
ii  ppp                          2.4.7-2+4.1

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

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true


-- no debconf information



More information about the Pkg-utopia-maintainers mailing list