Message ID | 20200930132623.27964-1-ummeegge@ipfire.org |
---|---|
State | Dropped |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> 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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4C1cV31dfzz3wh7 for <patchwork@web04.haj.ipfire.org>; Wed, 30 Sep 2020 13:26:35 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4C1cV201xfzn4; Wed, 30 Sep 2020 13:26:33 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4C1cV160k4z2y37; Wed, 30 Sep 2020 13:26:33 +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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4C1cV05pcnz2xcW for <development@lists.ipfire.org>; Wed, 30 Sep 2020 13:26:32 +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 ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4C1cV00v4Xzn4; Wed, 30 Sep 2020 13:26:32 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1601472392; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=rn9c7rxaQcUdhEPwLDbuO7prWuxqgK1BJz6ldw9XxgA=; b=TRgC6QT+7AN+1Y/4LU9lTbdqzOGOUAl4AHAxwqgzumozJNiVNDeh/hSeKsVzEhMq7T2238 5P0lugJHKTORlBCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1601472392; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=rn9c7rxaQcUdhEPwLDbuO7prWuxqgK1BJz6ldw9XxgA=; b=u2rhPLzeTEnjEhW2N9FOhkXo41usUplaHWT/rCbwKbTnR8xB4avatZqqzJIluvXXKEJqnO EerLG31AYJTz6Wo2TG4IjnCcL2qHTIUgB9oa08RMnMbtjv9XFxTGM/k/qsIuUuNsJkhttM Exb+wdQSZd0Hi3FPEuyPgLZ1gCJNfspBcUDQu3lrLoAnHnSw4Sclf370Ufl85d7nxoUOpX AXVBWcMqJPqAYmXptNpMcAYAgkwLOimYAlJ3mdzgUnTgU48YKfE4HfcXHWfe/gZxOttQhD KGeEgGBPkY29xUim4DlP5YI1dqZWfEC9oFB/kd5pTW+B7dyHocrz6cchaMupSQ== From: Erik Kapfer <ummeegge@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] exclude_configs: Exclude the configurations Date: Wed, 30 Sep 2020 15:26:23 +0200 Message-Id: <20200930132623.27964-1-ummeegge@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=ummeegge@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Series |
exclude_configs: Exclude the configurations
|
|
Commit Message
ummeegge
Sept. 30, 2020, 1:26 p.m. UTC
The configuration files from delivered updates of keepalived, nginx and stunnel should be excluded while updating process.
Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
---
config/rootfiles/core/151/exclude | 3 +++
1 file changed, 3 insertions(+)
Comments
Hi Erik, This should not be necessary in the Core Update. There should rather be a backup job that backs up /etc/nginx and restores it after the new version has been installed. Do those packages not have properly functioning backup include files? -Michael > On 30 Sep 2020, at 14:26, Erik Kapfer <ummeegge@ipfire.org> wrote: > > The configuration files from delivered updates of keepalived, nginx and stunnel should be excluded while updating process. > > Signed-off-by: Erik Kapfer <ummeegge@ipfire.org> > --- > config/rootfiles/core/151/exclude | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/config/rootfiles/core/151/exclude b/config/rootfiles/core/151/exclude > index e7500a03d..f68a02e4b 100644 > --- a/config/rootfiles/core/151/exclude > +++ b/config/rootfiles/core/151/exclude > @@ -8,10 +8,13 @@ etc/ipsec.conf > etc/ipsec.secrets > etc/ipsec.user.conf > etc/ipsec.user.secrets > +etc/keepalived/keepalived.conf > etc/localtime > +etc/nginx > etc/shadow > etc/snort/snort.conf > etc/ssl/openssl.cnf > +etc/stunnel/stunnel.conf > etc/sudoers > etc/sysconfig/firewall.local > etc/sysconfig/rc.local > -- > 2.12.2 >
Am Mittwoch, den 30.09.2020, 14:28 +0100 schrieb Michael Tremer: > Hi Erik, > > This should not be necessary in the Core Update. There should rather > be a backup job that backs up /etc/nginx and restores it after the > new version has been installed. > > Do those packages not have properly functioning backup include files? Yes they have, you are absolutely right. Patch is not needed... Sorry for that noise. > > -Michael > > > On 30 Sep 2020, at 14:26, Erik Kapfer <ummeegge@ipfire.org> wrote: > > > > The configuration files from delivered updates of keepalived, nginx > > and stunnel should be excluded while updating process. > > > > Signed-off-by: Erik Kapfer <ummeegge@ipfire.org> > > --- > > config/rootfiles/core/151/exclude | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/config/rootfiles/core/151/exclude > > b/config/rootfiles/core/151/exclude > > index e7500a03d..f68a02e4b 100644 > > --- a/config/rootfiles/core/151/exclude > > +++ b/config/rootfiles/core/151/exclude > > @@ -8,10 +8,13 @@ etc/ipsec.conf > > etc/ipsec.secrets > > etc/ipsec.user.conf > > etc/ipsec.user.secrets > > +etc/keepalived/keepalived.conf > > etc/localtime > > +etc/nginx > > etc/shadow > > etc/snort/snort.conf > > etc/ssl/openssl.cnf > > +etc/stunnel/stunnel.conf > > etc/sudoers > > etc/sysconfig/firewall.local > > etc/sysconfig/rc.local > > -- > > 2.12.2 > >
diff --git a/config/rootfiles/core/151/exclude b/config/rootfiles/core/151/exclude index e7500a03d..f68a02e4b 100644 --- a/config/rootfiles/core/151/exclude +++ b/config/rootfiles/core/151/exclude @@ -8,10 +8,13 @@ etc/ipsec.conf etc/ipsec.secrets etc/ipsec.user.conf etc/ipsec.user.secrets +etc/keepalived/keepalived.conf etc/localtime +etc/nginx etc/shadow etc/snort/snort.conf etc/ssl/openssl.cnf +etc/stunnel/stunnel.conf etc/sudoers etc/sysconfig/firewall.local etc/sysconfig/rc.local