From patchwork Mon Feb 12 23:23:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Birr X-Patchwork-Id: 1897987 X-Patchwork-Delegate: ynezz@true.cz Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=sWa2rU5X; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=bq01c9h9; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TYgZc43jYz23hT for ; Tue, 13 Feb 2024 10:26:30 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:To:From:MIME-Version:Date:Message-ID:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=PYtQDuBWTvK5RtrThLwU2qg2RbJt54bwaj0MAFgLFhA=; b=sWa 2rU5Xynu36UjrZEln50VIcWn8ainW9ReJDU6GGkVfi1QpVCGcLQMb16yX/lQIbv467pq/xmLzIekk s8KqCF1BfwQPpF6NlsezmCwZX9KBPwZFgf9N5BSS2t8jA6GwnKg3SEW+ie930F0vmJzgHRBRLvx43 d50XkeEVT7LqaQ4c5wa9CJE7hepQPZOXNUHpUOC6erb3LvDhKTvcGdRxVPkDA6jbUmZ1Y1GfHkJxe BrCG+5UwjSL2mD8at6XuZ/YzvUaZ9suqmdUXvA2sbTmWdAlzYbn7jmZgQE7y79ihlIJvgZL0nm1tj LgMD1rH/R79FPUiNJPW2wzQpvUfn8bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZfeQ-00000007GG6-1pl8; Mon, 12 Feb 2024 23:23:50 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZfeM-00000007GFV-1MvS for openwrt-devel@lists.openwrt.org; Mon, 12 Feb 2024 23:23:47 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6e0eacc5078so709734b3a.0 for ; Mon, 12 Feb 2024 15:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707780223; x=1708385023; darn=lists.openwrt.org; h=subject:to:from:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=KpsX/cQnIwQDXjMZEdxGTA3i+cbXiddY5VQEFLzW4bU=; b=bq01c9h9mKqJCXm7NlfqJ+eP/vW43x/g10B2KUIo41uWW6bQ8gb1CHcgWvjX7RF3Mc Vzr2z5JFxBJuIga8lvKkOKGNx3T1hlBCZjY8KiTxKO+583lF2tEELhXprmiot2z6Rn8H p3IdKbVZciO3m80vpneUDfDMCNHq6CTaHRAWGlCPaLWxPlMho/cbMdnKrJnZnFBClONW NlQYHGLLeYHwGSFuESflPVy3jNwzD9rasHYeXWXELoQJ0Od605uC5ss/ze3k+Mn/kBD8 CL8++ZhQQIVPqR9YgYeu7lD578hz5akmpjNqFhng3SqlN2cicxal2kjnJLcxp8oLVmQe D5eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707780223; x=1708385023; h=subject:to:from:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KpsX/cQnIwQDXjMZEdxGTA3i+cbXiddY5VQEFLzW4bU=; b=KtE+2RteirVXGmpz4QUULbaY8i9S9mhajaNGe/uXdTqVF8EXtewd20DeIfB8qmA92L MRxE0ZJwrCglhaIDc86tCGSewL3jkm/w1yp1UpvGpbfhEoA2/K2o4jLFE/eTd7fXO7KO lu1AIFBlVzPbXcS/vkyEwUkh65UEn8OP2+xCx+Wz5bsEucllRDDv9OMsAfB3lIvFd72N QPDX6vdpTFkUaZTMxU+cyZdcjBJjCBY5o8trdRUjtKGNWmcnNAkweBcCIMmTv+vg0uSl g3tuuBIcbAcnSyGIpA4i0UphgPA8wH7kbB3h5Re4MG+ZAWL8cM7UWBhJisIX5nTL0M1Y SuPg== X-Gm-Message-State: AOJu0YzNm3a/qwKy3RlRXWOXaQhqEeAzfO9z1qbjgcZZswO2PvPOevCQ QFLH0z8lmT4vzJUJ9TPXDOCTK4xEO5sZFkjKGhikO87mBPrXFjp1Zw+RR/A= X-Google-Smtp-Source: AGHT+IFq7dbsSOhxzDLdq4QRWlYls4ZMbJ7Kn8TAoQ6GHyEZoYq/2uptZz3F+k5Qr8MP6dfVpCftNw== X-Received: by 2002:a17:902:a3c5:b0:1db:2b08:68f5 with SMTP id q5-20020a170902a3c500b001db2b0868f5mr1025166plb.69.1707780222780; Mon, 12 Feb 2024 15:23:42 -0800 (PST) Received: from localhost (p200300f66709e2acdcb084b67f8e7dc4.dip0.t-ipconnect.de. [2003:f6:6709:e2ac:dcb0:84b6:7f8e:7dc4]) by smtp.gmail.com with ESMTPSA id km14-20020a17090327ce00b001da2926bf46sm875118plb.4.2024.02.12.15.23.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Feb 2024 15:23:42 -0800 (PST) Message-ID: <1ab0c78b-792c-40e8-a3ae-6b22f9b45a9f@gmail.com> Date: Tue, 13 Feb 2024 00:23:34 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB From: Hartmut Birr To: OpenWrt Development List Subject: procd error messages X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_152346_405601_5904553B X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, I let /etc/init.d/network log some more things by changing: --- network.rom 2024-02-12 20:46:51.000000000 +0100 +++ network 2024-02-12 23:18:07.000000000 +0100 @@ -16,8 +16,10 @@ start_service() { init_switch Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:42d listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [osexpert(at)gmail.com] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Hi, I let /etc/init.d/network log some more things by changing: It reports some errors by using logread -e netifd: Mon Feb 12 23:30:27 2024 daemon.err netifd[29247]: device_claim(694): Claim Network device pppoe-wan, new active count: 2 Mon Feb 12 23:30:27 2024 daemon.err netifd[29247]: proto_shell_handler(231): run setup for interface 'wan_6' Mon Feb 12 23:30:27 2024 daemon.err netifd[29247]: __device_add_user(1037): Add user for device 'pppoe-wan', refcount=2 Mon Feb 12 23:30:27 2024 daemon.debug pppd[24514]: Script /lib/netifd/ppp6-up finished (pid 24752), status = 0x0 Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: sh: missing ] Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: device_claim(694): Claim Network alias pppoe-wan, new active count: 2 Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: interface_add_dns_server(1435): Add IPv6 DNS server: 2003:180:2:xxxx::yyyy Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: interface_add_dns_server(1435): Add IPv6 DNS server: 2003:180:2:xxxx::yyyy Mon Feb 12 23:30:45 2024 daemon.err netifd[29247]: interface_queue_event(124): Queue hotplug handler for interface 'wan_6', event 'ifup' Mon Feb 12 23:30:45 2024 daemon.notice netifd: Interface 'wan_6' is now up Mon Feb 12 23:30:50 2024 daemon.err netifd[29247]: task_complete(109): Complete hotplug handler for interface 'wan' Mon Feb 12 23:30:50 2024 daemon.err netifd[29247]: call_hotplug(100): Call hotplug handler for interface 'wan', event 'ifupdate' (pppoe-wan) Mon Feb 12 23:31:05 2024 daemon.err netifd[29247]: sh: missing ] Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: sh: out of range Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: task_complete(109): Complete hotplug handler for interface 'wan' Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: call_hotplug(100): Call hotplug handler for interface 'wan_6', event 'ifup' (pppoe-wan) Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: /sbin/uci: Invalid argument Mon Feb 12 23:31:16 2024 daemon.err netifd[29247]: sh: missing ] Is it possible to let print netifd more informations related to errors from executed commands like: Mon Feb 12 23:31:05 2024 daemon.err netifd[29247]: sh: missing ] Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: sh: out of range Mon Feb 12 23:31:07 2024 daemon.err netifd[29247]: /sbin/uci: Invalid argument I'm not able to identify the executed scripts. Regards, Hartmut --- network.rom 2024-02-12 20:46:51.000000000 +0100 +++ network 2024-02-12 23:18:07.000000000 +0100 @@ -16,8 +16,10 @@ start_service() { init_switch procd_open_instance - procd_set_param command /sbin/netifd + procd_set_param command /sbin/netifd -l 5 -d 15 procd_set_param respawn + procd_set_param stdout 1 + procd_set_param stderr 1 procd_set_param watch network.interface [ -e /proc/sys/kernel/core_pattern ] && { procd_set_param limits core="unlimited"