[pve-devel] Regression in ifupdown2 with templates ?

Daniel Berteaud daniel at firewall-services.com
Thu Jul 16 11:17:17 CEST 2020



----- Le 16 Juil 20, à 10:38, Alexandre DERUMIER aderumier at odiso.com a écrit :

>>>error: main exception: a bytes-like object is required, not 'str'
> 
> seem to be a bug here, maybe in template parsing.
> 
> Maybe this commit is fixing it:
> 
> https://github.com/CumulusNetworks/ifupdown2/commit/c44a7a363579d78c42b0cf17ff1b726dcde9296c

That's it !
Installing python3-mako and applying this patch made everything working again. I guess it'll picked up on the next ifupdown2 release (or should this be backported in pve package ?)

Anyway, many thanks Alexandre !

Regards, Daniel


-- 
[ https://www.firewall-services.com/ ] 	
Daniel Berteaud 
FIREWALL-SERVICES SAS, La sécurité des réseaux 
Société de Services en Logiciels Libres 
Tél : +33.5 56 64 15 32 
Matrix: @dani:fws.fr 
[ https://www.firewall-services.com/ | https://www.firewall-services.com ]





More information about the pve-devel mailing list