[PVE-User] PVE 8 on Bookworm, ifupdown2 fails

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Mon Jun 26 11:20:28 CEST 2023


ok, was able to reproduce with a segfaulting script

this patch should fix it:

https://github.com/CumulusNetworks/ifupdown2/pull/267/files


adding import traceback  in /usr/share/ifupdown2/ifupdown/scheduler.py





Le lundi 26 juin 2023 à 08:51 +0000, DERUMIER, Alexandre a écrit :
> yep, proxmox don't use systemd-resolvd.
> 
> But I think the traceback is a bug in ifupdown2.
> 
> It's used to log debug info, but maybe the module is not yet loaded
> when the scripts in /etc/network/if-up.d/ are exec.
> 
> I think I have seen a report about traceback on the forum some days
> ago.
> 
> I'll try to reproduce on my side, maybe if the traceback is fixed,
> ifupdown2 will simply skip the error and continue.
> 
> 
> Thanks for the report !
> 
> 
> Le lundi 26 juin 2023 à 10:47 +0200, Daniel Berteaud a écrit :
> > 
> > 
> > ----- Le 26 Juin 23, à 10:45, DERUMIER, Alexandre
> > alexandre.derumier at groupe-cyllene.com a écrit :
> > 
> > > debug: lo: up : running script /etc/network/if-up.d/resolved
> > > info: executing /etc/network/if-up.d/resolved
> > > error: name 'traceback' is not defined
> > > 
> > > mmm, it seem to have because of this script "/etc/network/if-
> > > up.d/resolved"
> > > 
> > > 
> > > not sure, do you use systemd-resolvd or something like that ?
> > > 
> > > 
> > > can you try to remove it ?  (and before, can you send the content
> > > of
> > > this file ?)
> > 
> > Well, I just saw that systemd-resolved was enabled. Disabling it
> > fixed the issue. Thanks for pointing me in the right direction :-)
> > Attached is the resolved script
> > 
> > Cheers,
> > Daniel
> > 
> > 
> 
> _______________________________________________
> pve-user mailing list
> pve-user at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user



More information about the pve-user mailing list