From patchwork Sat Mar 1 12:46:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8486 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 (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Z5Glz2Yv4z3xFJ for ; Sun, 2 Mar 2025 09:26:23 +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 RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Z5Glv17x3z2yC; Sun, 2 Mar 2025 09:26:19 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Z5Glv0fgbz36Vd; Sun, 2 Mar 2025 09:26:19 +0000 (UTC) Received: by mail02.haj.ipfire.org (Postfix, from userid 109) id 4Z5Gln6nSdz347H; Sun, 2 Mar 2025 09:50:14 +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 (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Z4lDx19wXz33lb for ; Sat, 1 Mar 2025 12:46:09 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Z4lDw40mfzL6; Sat, 1 Mar 2025 12:46:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1740833168; 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=X+xgasluwMuV2L7DTTJS8yWUQdVu28crQ9VoMge/Al4=; b=W8K1JmaHgfLu1qkjeLGnjV5d0H+gNHqn+jlTNMUQUN2ypaI9cL7qUxsBw/yl+giZNrt9lE +ikbHWR9/q5m2FfDaOQpjXpxpQ0BAIL2B4k+lE7x3/hOEvyQcSRDGevZCRdkv7x1YFxZyp BBuoonW3lWuV8eJetQNqaHPRRLFxhoqPHAU0nDoeZWCz+lyOp8o16KbM/mn9q5FwU0ASHE YmLQzgJQPZGtMuZQAJRHVWkD5PsQzDM95+9+jxQJrNazQjbmp+BgBiZMaFqMDBLyVOeSYG 27ipScFFUtKeQ7EeV6FWCWIkBHSCoULYr7cs06/CrkgJIaN0kuZ97ZQUsHdcXA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1740833168; 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=X+xgasluwMuV2L7DTTJS8yWUQdVu28crQ9VoMge/Al4=; b=c+zsAwEiQZ9Owgck3TAloCi/r8qaAKfFicAiRTusA94B383uWmU1QqWnFfa7bqvE3F1rQ9 Zp7DfdGSlCsGDoAQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 1/2] exclude: Fix bug13736 - stop backup of qos perl programs Date: Sat, 1 Mar 2025 13:46:01 +0100 Message-ID: <20250301124602.5489-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: BFX5VJYPVPZOQ54ODELWBO6XHJ4RM4J3 X-Message-ID-Hash: BFX5VJYPVPZOQ54ODELWBO6XHJ4RM4J3 X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - The exclude file only had the qos.pl file from the bin directory excluded from the backup. This meant that 5 other perl programs were being backed up and therefore any restore would overwrite new updated versions such as the makeqosscripts.pl file. - This addition to the backup exclude file now excludes all .pl files from the qos/bin directory. - This also means that any restore from earlier backups that included the other .pl files will not restore thosde files. - Tested out on an IPFire physical system. Fixes: bug13736 Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- config/backup/exclude | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/backup/exclude b/config/backup/exclude index 4dc1607a2..fb6477d26 100644 --- a/config/backup/exclude +++ b/config/backup/exclude @@ -5,7 +5,7 @@ var/ipfire/ethernet/settings var/ipfire/firewall/bin/* var/ipfire/ovpn/openssl/* var/ipfire/proxy/calamaris/bin/* -var/ipfire/qos/bin/qos.pl +var/ipfire/qos/bin/*.pl var/ipfire/suricata/oinkmaster.conf var/ipfire/suricata/ruleset-sources var/ipfire/urlfilter/blacklists/*/*.db