From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QAX9HKScHGRw6QAASxT56A (envelope-from ) for ; Thu, 23 Mar 2023 19:38:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uFACHaScHGRACgEA9RJhRA (envelope-from ) for ; Thu, 23 Mar 2023 19:38:28 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D8898237B8 for ; Thu, 23 Mar 2023 19:38:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfPp6-0000oE-SM; Thu, 23 Mar 2023 14:38:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfPp5-0000nq-1u for bug-guix@gnu.org; Thu, 23 Mar 2023 14:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfPp4-0001iA-PV for bug-guix@gnu.org; Thu, 23 Mar 2023 14:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfPp4-0001Jn-Af for bug-guix@gnu.org; Thu, 23 Mar 2023 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62409: NetworkManager errors in system log when using shared connection Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Mar 2023 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62409 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62409@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.16795966665043 (code B ref -1); Thu, 23 Mar 2023 18:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Mar 2023 18:37:46 +0000 Received: from localhost ([127.0.0.1]:39316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfPon-0001JF-6u for submit@debbugs.gnu.org; Thu, 23 Mar 2023 14:37:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:57342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfPol-0001J6-5q for submit@debbugs.gnu.org; Thu, 23 Mar 2023 14:37:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfPoj-0000lR-HT for bug-guix@gnu.org; Thu, 23 Mar 2023 14:37:41 -0400 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfPoh-0001c3-0I for bug-guix@gnu.org; Thu, 23 Mar 2023 14:37:40 -0400 Received: by mail-qt1-x835.google.com with SMTP id n2so27746124qtp.0 for ; Thu, 23 Mar 2023 11:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679596657; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Xjk+rD2tkoRmg40C9LyYfv+8kv6vcguuz1K7JopXF3g=; b=hmYDlZz6QQSyUhigIEDGv8WwFYcgud+FadEZV+8raQkXjcoDm8GqsNe7O8qmmVY1po 7r1eZe70PYYGXe0vz9URdUIxGHbfxSazkUpXGJrhKqCLnWwk5RQiPBK1FXmnE945ZlD5 59lE1YNwkf1uSgUV3ePQ6kbqNr+jfk1JhZm10pM36VMCVrOpmpwJ0zIVQzH6SvW10141 cmvhWAA2/DC+UF5y1ewoqTU7+HpQHj1SZuCJJI8ydoy25jrpZ5KDaUAhV5IIVFOKTzIR V5dVxZEorT2VGXzy9x24m2tKMIZrSCjhiDkRbgukFOJBKLKkHOusbZd25LZ1cqfm+d4k qwow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679596657; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Xjk+rD2tkoRmg40C9LyYfv+8kv6vcguuz1K7JopXF3g=; b=n1S74r2u+mPQ8eZIYtCzRFqqQjRT8KVgke5l1Zv2xBq0UAUbUYUl49eg54xibesHuu FXSynX7RJT2A/wGvi9ypY55hiNKe0wjIzRxYrJ4bBe/Y2wZCVmS14Li/m+F+/1ikD1l+ QzFU1ozjBjdzfqtcMVNUeQSsuIzoYe2zFu+rC49XCzIVtRfWCfmRpGpQ2K8noq2N5Cz5 Psz/8CNieNQVfneLT2EuEAcjrcvjDvxWc4mWn5WDjJFZxwBeHcST/cREj94x8yZPrk6O mHPw89tvea59d+nVBPIMa+pO+fN7rw5jHUcKO9SasVE/rdy4/dKmKeF+Dx48I4sA681D r8Sw== X-Gm-Message-State: AO0yUKUQMw6MN9aP+bmpvbxO6XFVY5aML0MBE/6TpwWzncdvU1na0sg5 WwRGYiX9KcZQSAH60ShF7oLuGowZh1Uf9g== X-Google-Smtp-Source: AK7set9e75A8AZw+LxocOTXPt7k0JW7TPmCFcNIM6E39WGwWPfoOyKdjW+pWvkDug6X8in843l7+yA== X-Received: by 2002:a05:622a:b:b0:3bf:d950:efc4 with SMTP id x11-20020a05622a000b00b003bfd950efc4mr642125qtw.26.1679596657371; Thu, 23 Mar 2023 11:37:37 -0700 (PDT) Received: from hurd ([2607:fad8:4:3::1004]) by smtp.gmail.com with ESMTPSA id h23-20020ac85157000000b003b848759ed8sm12071300qtn.47.2023.03.23.11.37.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 11:37:36 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 23 Mar 2023 14:37:34 -0400 Message-ID: <87o7oje2kx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x835.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679596708; a=rsa-sha256; cv=none; b=a2oM9N6X2fM0XW2bxIDl5VAk3ZggwdIw3wgok4KIOtfBGb/WWM0YKbhNycAO58m+NOWwZc YHgzvjN/tWxuiPC0mi3vaLhTejlOv8EJ8uz8jiXfgsecNi4tbu+iI0o51JQSQ0/hINZh+Y ohfqTmaE1YimlFA5FQHKl1h7Cvhi79poWT7IN0V9w+cxDvXTmfZyz7Bqm7/ukwxZuSceP5 w9gyK9ZjtuehMCLaXDsZjW3jZQ9LswCCmgjeWj/5NFjWU5qfydwGmlU/r0bFf6Gftol5tB AStqEQTQ8oYbcqqoKHEUrNt6HCEg5WRMwSH+5yMNGQJ6Py/EpnzbuYKAn12jww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hmYDlZz6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679596708; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Xjk+rD2tkoRmg40C9LyYfv+8kv6vcguuz1K7JopXF3g=; b=i7ZGgK01cD2+MJbIUVm3bGQODJdux7xo0IUTrf+A4c9KfX1mNTguwwcVC6kZDVytNfObyN djAhfOrSBerSAkPx0Lnza6lggy6E8jCQks9qbWNLYAL0hXLpnVNyMA0Psen7CR2mcWnebn j+ib3yxGdQKMbLcKpUd8sWkn64FCeFcvtftxqR1ZHuuk879inS8mBLrnRXW22fKo9D3/aN uQa8CYZGhxjsNGZv5Tx80tVO7RKwgeQ564dUbO6LVjSBJyZPUIogIKpWErYVfr4HFcq2L5 4btNXx5sf4eSHvIXXKR97e2ztb3Ky7ThZnyNFCcjqg9WLTSPUhoGK/Cg1q7evg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hmYDlZz6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.85 X-Spam-Score: -0.85 X-Migadu-Queue-Id: D8898237B8 X-TUID: QOfuDmz4+kPQ Hi, I have setup a 'share connection with other computers' type of connection in NetworkManager, via 'sudo -E nm-connection-editor', and it works, e.g. to allow a device connected to my 2nd Ethernet port to get a dynamic IP address and have access to the Internet, but, in /var/log/messages, I see: --8<---------------cut here---------------start------------->8--- Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.2463] p= olicy: auto-activating connection 'shared' (668d9954-eac2-30da-8fc0-d986ab0= 1a36c) Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.2500] d= evice (enp4s0): Activation: starting connection 'shared' (668d9954-eac2-30d= a-8fc0-d986ab01a36c) Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.2504] d= evice (enp4s0): state change: disconnected -> prepare (reason 'none', sys-i= face-state: 'managed') Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.2512] d= evice (enp4s0): state change: prepare -> config (reason 'none', sys-iface-s= tate: 'managed') Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.2604] d= evice (enp4s0): state change: config -> ip-config (reason 'none', sys-iface= -state: 'managed') Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.2739] m= odprobe: '/sbin/modprobe --use-blacklist ip_tables' failed: Failed to execu= te child process =E2=80=9C/sbin/modprobe=E2=80=9D (No such file or director= y) Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.2784] m= odprobe: '/sbin/modprobe --use-blacklist iptable_nat' failed: Failed to exe= cute child process =E2=80=9C/sbin/modprobe=E2=80=9D (No such file or direct= ory) Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.2887] i= ptables: command /gnu/store/xz1arf5cd7ssck431wmfz5y1kgr5vyir-iptables-1.8.7= /sbin/iptables failed: Child process exited with code 1 Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.3429] i= ptables: command /gnu/store/xz1arf5cd7ssck431wmfz5y1kgr5vyir-iptables-1.8.7= /sbin/iptables failed: Child process exited with code 1 Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.3636] i= ptables: command /gnu/store/xz1arf5cd7ssck431wmfz5y1kgr5vyir-iptables-1.8.7= /sbin/iptables failed: Child process exited with code 1 Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.5165] i= ptables: command /gnu/store/xz1arf5cd7ssck431wmfz5y1kgr5vyir-iptables-1.8.7= /sbin/iptables failed: Child process exited with code 1 Mar 23 14:27:32 localhost dbus-daemon[407]: [system] Successfully activated= service 'org.freedesktop.nm_dispatcher' Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.5767] i= ptables: command /gnu/store/xz1arf5cd7ssck431wmfz5y1kgr5vyir-iptables-1.8.7= /sbin/iptables failed: Child process exited with code 1 Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.5817] i= ptables: command /gnu/store/xz1arf5cd7ssck431wmfz5y1kgr5vyir-iptables-1.8.7= /sbin/iptables failed: Child process exited with code 1 Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.6717] d= nsmasq-manager: starting dnsmasq... Mar 23 14:27:32 localhost avahi-daemon[6618]: Joining mDNS multicast group = on interface enp4s0.IPv4 with address 10.42.0.1. Mar 23 14:27:32 localhost avahi-daemon[6618]: New relevant interface enp4s0= .IPv4 for mDNS. Mar 23 14:27:32 localhost avahi-daemon[6618]: Registering new address recor= d for 10.42.0.1 on enp4s0.IPv4. Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.7182] d= evice (enp4s0): state change: ip-config -> ip-check (reason 'none', sys-ifa= ce-state: 'managed') Mar 23 14:27:32 localhost avahi-daemon[6618]: Joining mDNS multicast group = on interface enp4s0.IPv6 with address fe80::f7c4:97a9:80a1:ae41. Mar 23 14:27:32 localhost avahi-daemon[6618]: New relevant interface enp4s0= .IPv6 for mDNS. Mar 23 14:27:32 localhost avahi-daemon[6618]: Registering new address recor= d for fe80::f7c4:97a9:80a1:ae41 on enp4s0.*. Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.7282] d= evice (enp4s0): state change: ip-check -> secondaries (reason 'none', sys-i= face-state: 'managed') Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.7289] d= evice (enp4s0): state change: secondaries -> activated (reason 'none', sys-= iface-state: 'managed') Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.7325] d= evice (enp4s0): Activation: successful, device activated. Mar 23 14:27:32 localhost dnsmasq[3868]: failed to create listening socket = for 10.42.0.1: Address already in use Mar 23 14:27:32 localhost dnsmasq[3868]: FAILED to start up Mar 23 14:27:32 localhost NetworkManager[6477]: [1679596052.7926] d= nsmasq-manager: dnsmasq exited with error: Network access problem (address = in use, permissions) (2) Mar 23 14:27:32 localhost shepherd[1]: [NetworkManager]=20=20 Mar 23 14:27:32 localhost shepherd[1]: [NetworkManager] dnsmasq: failed to = create listening socket for 10.42.0.1: Address already in use=20 Mar 23 14:28:03 localhost NetworkManager[6477]: [1679596083.7771] d= evice (enp4s0): state change: activated -> failed (reason 'ip-config-unavai= lable', sys-iface-state: 'managed') Mar 23 14:28:03 localhost NetworkManager[6477]: [1679596083.7848] d= evice (enp4s0): Activation: failed for connection 'shared' Mar 23 14:28:03 localhost NetworkManager[6477]: [1679596083.7866] d= evice (enp4s0): state change: failed -> disconnected (reason 'none', sys-if= ace-state: 'managed') Mar 23 14:28:03 localhost dbus-daemon[407]: [system] Activating service nam= e=3D'org.freedesktop.nm_dispatcher' requested by ':1.20936' (uid=3D0 pid=3D= 6477 comm=3D"/gnu/store/aby04j5i1bzfgm6hzjb6qcqwz9f1lcfn-networ") (using se= rvicehelper) Mar 23 14:28:03 localhost avahi-daemon[6618]: Withdrawing address record fo= r fe80::f7c4:97a9:80a1:ae41 on enp4s0. Mar 23 14:28:03 localhost avahi-daemon[6618]: Leaving mDNS multicast group = on interface enp4s0.IPv6 with address fe80::f7c4:97a9:80a1:ae41. Mar 23 14:28:03 localhost avahi-daemon[6618]: Interface enp4s0.IPv6 no long= er relevant for mDNS. Mar 23 14:28:03 localhost NetworkManager[6477]: [1679596083.8939] i= ptables: command /gnu/store/xz1arf5cd7ssck431wmfz5y1kgr5vyir-iptables-1.8.7= /sbin/iptables failed: Child process exited with code 1 Mar 23 14:28:03 localhost NetworkManager[6477]: [1679596083.9044] i= ptables: command /gnu/store/xz1arf5cd7ssck431wmfz5y1kgr5vyir-iptables-1.8.7= /sbin/iptables failed: Child process exited with code 1 Mar 23 14:28:03 localhost avahi-daemon[6618]: Withdrawing address record fo= r 10.42.0.1 on enp4s0. Mar 23 14:28:03 localhost avahi-daemon[6618]: Leaving mDNS multicast group = on interface enp4s0.IPv4 with address 10.42.0.1. Mar 23 14:28:03 localhost avahi-daemon[6618]: Interface enp4s0.IPv4 no long= er relevant for mDNS. Mar 23 14:28:03 localhost dbus-daemon[407]: [system] Successfully activated= service 'org.freedesktop.nm_dispatcher' --8<---------------cut here---------------end--------------->8--- This gets repeated spuriously in /var/log/messages. There's at least a problem with /sbin/modprobe not being looked at the right place. Interestingly, it also seems to trigger a crash in Jami, which does some connection refreshing work on events from NetworkManager [0]. [0] https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1044 --=20 Thanks, Maxim