From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id A75FA638A6 for ; Thu, 16 Jul 2020 11:17:50 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 94DEE11AB7 for ; Thu, 16 Jul 2020 11:17:20 +0200 (CEST) Received: from pmg.fws.fr (pmg.fws.fr [51.91.175.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 6BC5511AA7 for ; Thu, 16 Jul 2020 11:17:19 +0200 (CEST) Received: from pmg.fws.fr (localhost [127.0.0.1]) by pmg.fws.fr (Proxmox) with ESMTP id 0AFBFC1A1B; Thu, 16 Jul 2020 11:17:19 +0200 (CEST) Received: from zmproxy.fws.fr (zmproxy.fws.fr [10.29.1.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pmg.fws.fr (Proxmox) with ESMTPS id E856FC06B3; Thu, 16 Jul 2020 11:17:17 +0200 (CEST) Received: from zmproxy.fws.fr (localhost [127.0.0.1]) by zmproxy.fws.fr (Postfix) with ESMTPS id DA9148B3580; Thu, 16 Jul 2020 11:17:17 +0200 (CEST) Received: from zmproxy.fws.fr (localhost [127.0.0.1]) by zmproxy.fws.fr (Postfix) with ESMTPS id BFB5C8B79CD; Thu, 16 Jul 2020 11:17:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmproxy.fws.fr BFB5C8B79CD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=firewall-services.com; s=7DAD15A2-D84A-11E9-8F77-BEC4FAA34EBC; t=1594891037; bh=C1AyVYySmCXg9ebe/FXzDd/odnHJRgE6Ccz1g4ntu04=; h=Date:From:To:Message-ID:MIME-Version; b=MKTNjB/ilmlqlN5YA+HZEjwAdJj8jxLdNSfKLN69xfNv+i9Nz9YWg1sXI0DiTHVJU JZSKzUmFk3IGlUBZvIuQnIwKJ+3SS+V85DQq8YsEOkRBcwreXa30jm6s95YK+3i28V IVK4bRvTtdx9katZmleR7AMhT8i5nccxMURnAdLjRZ/NnSj3zgN/u3qbyTJtwkgfsm rkE73lEOaNTFCV2mLh2jP2Lh+5qXmxYmRwSinAdh8sKFO6f+fuw8hdYgH/3i0P9I2X FvvaG+ANKwWvwAwTw8TlK9qXsdEIzElvxfUXkiuLPJhUc+FopUsawAyPJP4XduD89/ VhsorqBTEVBew== Received: from zmstore.fws.fr (zmstore.fws.fr [10.29.3.15]) by zmproxy.fws.fr (Postfix) with ESMTP id B615D8B3580; Thu, 16 Jul 2020 11:17:17 +0200 (CEST) Date: Thu, 16 Jul 2020 11:17:17 +0200 (CEST) From: Daniel Berteaud To: Proxmox VE development discussion Cc: pve-devel Message-ID: <1359935286.41830.1594891037513.JavaMail.zimbra@fws.fr> In-Reply-To: <481819632.318664.1594888699107.JavaMail.zimbra@odiso.com> References: <820036375.40230.1594879482824.JavaMail.zimbra@fws.fr> <1483212253.316617.1594884577550.JavaMail.zimbra@odiso.com> <1933994694.40972.1594887289529.JavaMail.zimbra@fws.fr> <481819632.318664.1594888699107.JavaMail.zimbra@odiso.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.29.1.17] X-Mailer: Zimbra 8.8.15_GA_3955 (ZimbraWebClient - GC83 (Linux)/8.8.15_GA_3953) Thread-Topic: Regression in ifupdown2 with templates ? Thread-Index: y1zPifgoAsMRQ2wzUpPChB4QySALrCLwFjrjsvcTVaGMrTTlcW5pEQXw X-SPAM-LEVEL: Spam detection results: 0 AWL 0.002 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] Regression in ifupdown2 with templates ? X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2020 09:17:50 -0000 ----- Le 16 Juil 20, =C3=A0 10:38, Alexandre DERUMIER aderumier@odiso.com a= =C3=A9crit : >>>error: main exception: a bytes-like object is required, not 'str' >=20 > seem to be a bug here, maybe in template parsing. >=20 > Maybe this commit is fixing it: >=20 > https://github.com/CumulusNetworks/ifupdown2/commit/c44a7a363579d78c42b0c= f17ff1b726dcde9296c That's it ! Installing python3-mako and applying this patch made everything working aga= in. I guess it'll picked up on the next ifupdown2 release (or should this b= e backported in pve package ?) Anyway, many thanks Alexandre ! Regards, Daniel --=20 [ https://www.firewall-services.com/ ] =09 Daniel Berteaud=20 FIREWALL-SERVICES SAS, La s=C3=A9curit=C3=A9 des r=C3=A9seaux=20 Soci=C3=A9t=C3=A9 de Services en Logiciels Libres=20 T=C3=A9l : +33.5 56 64 15 32=20 Matrix: @dani:fws.fr=20 [ https://www.firewall-services.com/ | https://www.firewall-services.com ]