From unknown Mon Aug 18 11:29:22 2025 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 From unknown Mon Aug 18 11:29:22 2025 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 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62409 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62409@debbugs.gnu.org Received: via spool by 62409-submit@debbugs.gnu.org id=B62409.167960379017877 (code B ref 62409); Thu, 23 Mar 2023 20:37:02 +0000 Received: (at 62409) by debbugs.gnu.org; 23 Mar 2023 20:36:30 +0000 Received: from localhost ([127.0.0.1]:39422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfRfi-0004eH-HQ for submit@debbugs.gnu.org; Thu, 23 Mar 2023 16:36:30 -0400 Received: from mail-qt1-f179.google.com ([209.85.160.179]:36459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfRfg-0004e4-Ba for 62409@debbugs.gnu.org; Thu, 23 Mar 2023 16:36:28 -0400 Received: by mail-qt1-f179.google.com with SMTP id hf2so24160110qtb.3 for <62409@debbugs.gnu.org>; Thu, 23 Mar 2023 13:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679603781; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=DyxXK4nPTELBg5YLkEqmP83IPPydeJAtJjuAKqMC/aY=; b=JSoV/ipTIKKPsDiXNmswlWOWbh4tn2X0pexXKUATS4+3pd12WX1UCL/sy2vp0d+6UD y878lClmxG8ImfvkiYR1Mr3EagDJHypXAsvKwNOeiWHRpVxw6IOQQdLjyAfJC3U7EYGP Mlzi0w/yaRax5B5XMWNwEs0gqEHvf6qxprdpakGxEdXKBolKJt/pUlFWVCJGk9bAR2as KbDdz8jqIH6a+O52VB0q1lMG+XjhvjAhywGP7x1/1Z5w6AoNhafDuvE4u0vh9Rl5evxc VLql9M/BhBf31vBDURKL+yi8s8DQtU8kX9qAFWI1H4ju4u5HoW+QguxL3BDxs4lPl5p8 jfZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679603781; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DyxXK4nPTELBg5YLkEqmP83IPPydeJAtJjuAKqMC/aY=; b=1hBzpJfU+XjL477jjRA7QlDXFHxcqN/XtW23deREcifZdO1FpGpZqx6foClxWLHlE/ 2l/MiLwHC+G+kVMwqiLI18nnqnUvhu3f8IaSDrI8r6gBr+fQRW1D1Q2WI2v+bK6+PP+4 +9JtksWkLq+IFDAiwN9cU0iou+lx2jEnpOwINfph+tCf48Mi/vCN8U/qZ1GvkH2sRyrE QWZk6M3JS6TxCmb1dBlXqBheNvsq5PgWnPJzcI3p7E1PSDGgyb3DLTOPhtlFs5GqQtte hHaSttbK/SgrjMd2tqTM/tqRsChKoiawMu6eZ7Qh68HqDMvToFzrM5U5qBwxICxr2P74 KjmQ== X-Gm-Message-State: AAQBX9eqMDkxqdsT9KRRhjPlvWFlDp/kLifpUfCT0F52zmJK0IFVBUE2 CmK+cpTLbP8kZck5bvB9f4GpTbvTZ3k= X-Google-Smtp-Source: AK7set8oI5R8cWD3W2MfxdQpc1WjuBa8H6YHPs3UoJsdbH24m0HHKsKKvfdw9bYak43no2ClR12eUA== X-Received: by 2002:a05:622a:24e:b0:3b6:2e9b:cf2b with SMTP id c14-20020a05622a024e00b003b62e9bcf2bmr1328964qtx.14.1679603781043; Thu, 23 Mar 2023 13:36:21 -0700 (PDT) Received: from hurd (dsl-155-54.b2b2c.ca. [66.158.155.54]) by smtp.gmail.com with ESMTPSA id g1-20020a37b601000000b00743592b4745sm13591967qkf.109.2023.03.23.13.36.19 for <62409@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 13:36:20 -0700 (PDT) From: Maxim Cournoyer References: <87o7oje2kx.fsf@gmail.com> Date: Thu, 23 Mar 2023 16:36:13 -0400 In-Reply-To: <87o7oje2kx.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 23 Mar 2023 14:37:34 -0400") Message-ID: <87r0tf2ojm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, [...] > 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]. I tried patching the /sbin/modprobe reference to kmod's bin/modprobe, but I now get: --8<---------------cut here---------------start------------->8--- Mar 23 16:34:02 localhost NetworkManager[404]: [1679603642.2656] modprobe: '/gnu/store/liq8rjgfwaa80mrmm0lq1kq7wbh7xb6l-kmod-29/bin/modprobe --use-blacklist ip_tables' exited with error 256 (modprobe: FATAL: Module ip_tables not found in directory /lib/modules/5.15.103-gnu) --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim From unknown Mon Aug 18 11:29:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#62409: closed (Re: bug#62409: NetworkManager errors in system log when using shared connection) Message-ID: References: <87o7oj2mui.fsf@gmail.com> <87o7oje2kx.fsf@gmail.com> X-Gnu-PR-Message: they-closed 62409 X-Gnu-PR-Package: guix Reply-To: 62409@debbugs.gnu.org Date: Thu, 23 Mar 2023 21:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1679606042-21639-1" This is a multi-part message in MIME format... ------------=_1679606042-21639-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62409: NetworkManager errors in system log when using shared connection which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62409@debbugs.gnu.org. --=20 62409: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62409 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1679606042-21639-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62409-done) by debbugs.gnu.org; 23 Mar 2023 21:13:08 +0000 Received: from localhost ([127.0.0.1]:39436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfSF9-0005bZ-PC for submit@debbugs.gnu.org; Thu, 23 Mar 2023 17:13:08 -0400 Received: from mail-qv1-f47.google.com ([209.85.219.47]:42850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfSF2-0005au-1A for 62409-done@debbugs.gnu.org; Thu, 23 Mar 2023 17:13:05 -0400 Received: by mail-qv1-f47.google.com with SMTP id x8so281397qvr.9 for <62409-done@debbugs.gnu.org>; Thu, 23 Mar 2023 14:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679605974; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=k+Ktd4U1uhi0fKEF1T5F8dPHHTJ8QTv+XZH+6n/wxjE=; b=oNmhjPY/mdTBixXMfVWAQOiHbwYyDmeF+7Xi4haSgEsTjoBj0eDGjl2oywpFacHYIY X7ldf/7K4yZQDEVhFDx/KALyhjBfF4bkkYXEI7o5yB5q9HUXXX690etzPCuAAlYNESpD 1ytfBHEPeeHNM8c95bTFuin4b2xcR2iof1JcDBfCA+yF8bxMh/hPM3Gf1zmHPguXtaeK mNvTBkA0F/VTpjbHhXHFTbo6dH6ZX2czz1ZCMjrG5wzXAwnSXcQc5tKiR4nmQhECrmdZ aZWFVZiTmaqmDchal2A67pX359s3NkVpZK6mjqLMKSxWcb61q+fEE55rcNECXN7D8Z/R w7Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679605974; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=k+Ktd4U1uhi0fKEF1T5F8dPHHTJ8QTv+XZH+6n/wxjE=; b=egMWRezCHqwKcc4N8+SFhcsl0y/ibTXYUcYaUkVfn1Xsh8/4+Qc9MxwKqEwrFazl+w FMde5i6RVBhfru9J6eXreaXW/EnkYRHA5asqnDRVcNhQjaG+ViLyS7x+lg8WkFJf7gD8 FrW6yZOvcynBBazqXH2Ll8NBWc3moaGiNBAx0j5VXgzd2lcBYnOOn3wOhCYd5jy86QfB UHALicPdI0EJ8uLIwaHjWkesT5v4vKsPPffBw1gzs7cIPw2akopY1XCluk1PZc3FXYPR S0lVOP+3Gs3pXVINglIaU9EDDmVBYylX2lcL9UgqVGTM8Jc538RGN+RFJhlItrlb3ouK TDtw== X-Gm-Message-State: AAQBX9e47jkt+95BC5/ZRttfm/4jRVwsBPA7JsJ4H+Ht/ts9OR4ecvSh zm2LU3cSpfNh6evgS0WaMb06QdfFwG4= X-Google-Smtp-Source: AKy350YbjfXzVp1Bgc7BkBrk1Y3qjspoP8azC80xm1N91EjpRc8RQv9cMmGl6ozPyLbkb3MxZx8h8Q== X-Received: by 2002:ad4:5be2:0:b0:56a:d94d:6deb with SMTP id k2-20020ad45be2000000b0056ad94d6debmr383093qvc.25.1679605974187; Thu, 23 Mar 2023 14:12:54 -0700 (PDT) Received: from hurd (dsl-155-54.b2b2c.ca. [66.158.155.54]) by smtp.gmail.com with ESMTPSA id p16-20020a05620a057000b00746476405bbsm13647329qkp.122.2023.03.23.14.12.53 for <62409-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 14:12:53 -0700 (PDT) From: Maxim Cournoyer To: 62409-done@debbugs.gnu.org Subject: Re: bug#62409: NetworkManager errors in system log when using shared connection References: <87o7oje2kx.fsf@gmail.com> <87r0tf2ojm.fsf@gmail.com> Date: Thu, 23 Mar 2023 17:12:53 -0400 In-Reply-To: <87r0tf2ojm.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 23 Mar 2023 16:36:13 -0400") Message-ID: <87o7oj2mui.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62409-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Maxim Cournoyer writes: > Hi, > > [...] > >> 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]. > > I tried patching the /sbin/modprobe reference to kmod's bin/modprobe, > but I now get: > > --8<---------------cut here---------------start------------->8--- Mar 23 > 16:34:02 localhost NetworkManager[404]: [1679603642.2656] > modprobe: > '/gnu/store/liq8rjgfwaa80mrmm0lq1kq7wbh7xb6l-kmod-29/bin/modprobe > --use-blacklist ip_tables' exited with error 256 (modprobe: FATAL: > Module ip_tables not found in directory /lib/modules/5.15.103-gnu) > --8<---------------cut here---------------end--------------->8--- Fixed with: ef71e32909 origin/master services: network-manager: Set LINUX_MODULE_DIRECTORY environment variable. e682932636 gnu: network-manager: Patch modprobe file name. Closing! -- Thanks, Maxim ------------=_1679606042-21639-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 To: bug-guix Subject: NetworkManager errors in system log when using shared connection 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 ------------=_1679606042-21639-1--