From patchwork Mon Jul 18 16:48:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo-Andres Hofmann X-Patchwork-Id: 5756 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Lmnx73F9Sz3wvM for ; Mon, 18 Jul 2022 16:49:15 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Lmnx45fZmz1gF; Mon, 18 Jul 2022 16:49:12 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Lmnx44nNlz2y2X; Mon, 18 Jul 2022 16:49:12 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Lmnx30Zc6z2xNg for ; Mon, 18 Jul 2022 16:49:11 +0000 (UTC) Received: from arche.uberspace.de (arche.uberspace.de [185.26.156.147]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4Lmnwx24Lwz1FP for ; Mon, 18 Jul 2022 16:49:05 +0000 (UTC) Received: (qmail 17620 invoked by uid 990); 18 Jul 2022 16:49:04 -0000 From: Leo-Andres Hofmann To: development@lists.ipfire.org Subject: [PATCH] pakfire/functions.pl: Adjust log level Date: Mon, 18 Jul 2022 18:48:54 +0200 Message-Id: <20220718164854.485-1-hofmann@leo-andres.de> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 X-Rspamd-Bar: - X-Rspamd-Report: R_MISSING_CHARSET(0.5) MIME_GOOD(-0.1) MID_CONTAINS_FROM(1) BAYES_HAM(-2.999999) X-Rspamd-Score: -1.599999 Received: from unknown (HELO unkown) (::1) by arche.uberspace.de (Haraka/2.8.28) with ESMTPSA; Mon, 18 Jul 2022 18:49:04 +0200 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1658162945; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dbhKOBVke4+g4pWTPi5QF/9lCaUReysS+ksRwp+TpFI=; b=CsxrOVWhhtjrI3xvsZKhbhGNpUUvFA/HBnmwP03qLUfp222Eemnkzr5yNE5DKdV821fkbu af9XQxrW55QED2C1ojLKkamhZktN4XJotPqAK/ryyqOm9ITnK/e/WTkxbMnU4VbJFxMPT4 R6eckvqFT61H7MgHqbtfOTT61h2WBJyNhXSNoGTLwKZ1LPwJYpOCs3Qz92IGecmXge/niH lgIjLUc+U6CCpsaVpFubyU07kq4IaK3CsIKamJ7MTQQWSyT67ccCTIMvvyQmrly3cZ5O06 Jv3xB+Ly0luhktWR7W8nA3XEV2dvnFcIVHTJEj+t1yfpUTgTcY5FWWLEeSHk2Q== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=none; dmarc=pass (policy=quarantine) header.from=leo-andres.de; spf=pass (mail01.ipfire.org: domain of hofmann@leo-andres.de designates 185.26.156.147 as permitted sender) smtp.mailfrom=hofmann@leo-andres.de ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1658162945; a=rsa-sha256; cv=none; b=cr6d5UcWl4rCA9XD+mKofSWszPyFCE657jeDwJMlZ5e9QZ76VEHHbCslXMxgLzm+v7N5o5 iR3e6myWTzzSnEo1kuN8UFfitqdPbOseH1Bf00oZstcD6d7f9DimMkTjc0DcTo7pMmApru Ov2qxFKHo71PDotwxSIAMrHEqeved+XEg67G2bDQPgXtLKAS3E4eRK0sE4O8g2xKvwuf5H cXKGQeWI3JcIP4i8WKugv+MHJvh/1qHwAlEONlZpil/o8ru/Oc4tcDQOXCa6ROm4KZrzWH I7JsPX/hu4XllFytrOzEI6ICWo39m5cDfBKtIUKgMp+3W89mRVb18m/7ysFfkg== X-Rspamd-Queue-Id: 4Lmnwx24Lwz1FP Authentication-Results: mail01.ipfire.org; dkim=none; dmarc=pass (policy=quarantine) header.from=leo-andres.de; spf=pass (mail01.ipfire.org: domain of hofmann@leo-andres.de designates 185.26.156.147 as permitted sender) smtp.mailfrom=hofmann@leo-andres.de X-Rspamd-Server: mail01.haj.ipfire.org X-Spamd-Result: default: False [-2.76 / 11.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-0.95)[-0.952]; R_MISSING_CHARSET(0.50)[]; MX_INVALID(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[leo-andres.de,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:185.26.156.0/24:c]; MIME_GOOD(-0.10)[text/plain]; IP_REPUTATION_HAM(-0.01)[asn: 205766(0.00), country: DE(-0.01), ip: 185.26.156.147(0.00)]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:205766, ipnet:185.26.156.0/24, country:DE]; RCVD_IN_DNSWL_NONE(0.00)[185.26.156.147:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" The informative pakfire message "No new upgrades available. You are on release ..." does not mean that an error has happened. This patch adjusts the log level prefix to "info" accordingly. Reported-by: Matthias Fischer Signed-off-by: Leo-Andres Hofmann Reviewed-by: Adolf Belka --- src/pakfire/lib/functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 24c55fd4a..505988af9 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -797,7 +797,7 @@ sub upgradecore { system("echo $core_release > $Conf::coredir/mine"); } else { - message("CORE ERROR: No new upgrades available. You are on release $Conf::core_mine."); + message("CORE INFO: No new upgrades available. You are on release $Conf::core_mine."); } }