Bug#951531: network-manager: unable to activate wired connection when network-manager manages it
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]: [1581969961.4093] device (eno1): carrier: link connected Feb 17 21:06:01 EDIT NetworkManager[720]: [1581969961.4099] device (eno1): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed') Feb 17 21:06:01 EDIT NetworkManager[720]: [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. ``` ``` Feb 17 21:07:02 EDIT NetworkManager[720]: [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]: [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]: [1581970022.4530] policy: auto-activating connection 'eno1' (db0f6d02-5fca-4290-b3da-dbbd02728756) Feb 17 21:07:02 EDIT NetworkManager[720]: [1581970022.4561] device (eno1): Activation: starting connection 'eno1' (db0f6d02-5fca-4290-b3da- dbbd02728756) Feb 17 21:07:02 EDIT NetworkManager[720]: [1581970022.4562] device (eno1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Feb 17 21:07:02 EDIT NetworkManager[720]: [1581970022.4564] manager: NetworkManager state is now CONNECTING Feb 17 21:07:02 EDIT NetworkManager[720]: [1581970022.5545] device (eno1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Feb 17 21:07:02 EDIT NetworkManager[720]: [1581970022.5552] device (eno1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed') Feb 17 21:07:02 EDIT NetworkManager[720]: [1581970022.5582] dhcp4 (eno1): activation: beginning transaction (timeout in 45 seconds) Feb 17 21:07:02 EDIT NetworkManager[720]: [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]: [1581970028.5620] device (eno1): state change: ip-config -> unavailable (reason 'carrier-changed', sys- iface-state: 'managed') Feb 17 21:07:08 EDIT NetworkManager[720]: [1581970028.5946] dhcp4 (eno1): canceled DHCP transaction, DHCP client pid 1773 Feb 17 21:07:08 EDIT NetworkManager[720]: [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]: [1581970028.5980] manager: NetworkManager state is now CONNECTED_LOCAL Feb 17 21:07:09 EDIT NetworkManager[720]: [1581970029.1432] device
Bug#951524: network-manager: Cannot connect to VPN for unmanaged wired connection: "Could not find source connection."
Package: network-manager Version: 1.14.6-2+deb10u1 Severity: important Dear Maintainer, * What led up to the situation? I want to connect to VPN Default Debian buster installation I've imported VPN connection Trying to connect yields: Feb 17 20:44:16 EDIT NetworkManager[721]: [1581968656.1998] audit: op="connection-activate" uuid="31befe8d-800a-4905-97e4-16cd0aed0c30" name="EDIT" pid=2104 uid=1000 result="fail" reason="Could not find source connection." * What exactly did you do (or not do) that was effective (or ineffective)? I guess it might be caused by the fact that NetworkManager doesn't manage wired connection. Yet it is still not what the user expects. Unfortunately switching the connection to be managed by NetworkManager doesn't help (the wired connection stuck in activating->deactivating loop, I'm going to submit another bug) * What was the outcome of this action? Feb 17 20:44:16 EDIT NetworkManager[721]: [1581968656.1998] audit: op="connection-activate" uuid="31befe8d-800a-4905-97e4-16cd0aed0c30" name="EDIT" pid=2104 uid=1000 result="fail" reason="Could not find source connection." * What outcome did you expect instead? Successful VPN connection 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 adduser3.118 ii dbus 1.12.16-1 ii init-system-helpers1.56+nmu1 ii libaudit1 1:2.8.4-3 ii libbluetooth3 5.50-1 ii libc6 2.28-10 ii libcurl3-gnutls7.64.0-4 ii libglib2.0-0 2.58.3-2+deb10u2 ii libgnutls303.6.7-4+deb10u2 ii libjansson42.12-1 ii libmm-glib01.10.0-1 ii libndp01.6-1+b1 ii libnewt0.520.52.21-4 ii libnm0 1.14.6-2+deb10u1 ii libpam-systemd 241-7~deb10u3 ii libpolkit-agent-1-00.105-25 ii libpolkit-gobject-1-0 0.105-25 ii libpsl50.20.2-2 ii libreadline7 7.0-5 ii libselinux12.8-1+b1 ii libsystemd0241-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-10.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 -- no debconf information