[PVE-User] PVE 8 on Bookworm, ifupdown2 fails
Daniel Berteaud
dani at lapiole.org
Mon Jun 26 10:42:12 CEST 2023
----- Le 26 Juin 23, à 10:32, DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com a écrit :
>
>>>Most of the installation went fine, except a few minor issues (like :
>>>had to create /run/network dir manually, as ifupdown2 would fail its
>>>installation and prevent some other package to install)
>
> mmm, this is strange, ifupdown2 is creating the directory at service
> start
>
>
> /usr/share/ifupdown2/sbin/start-networking: [ ! -e /run/network ]
> && mkdir -p /run/network &>/dev/null
The directory must exists during package config, I guess before the service is started
>
>>>Anyway, now most things are working, except I cannot update network
>>>configuration (nor can I apply SDN changes). If I run ifreload -a I
> get
>
>>>root at maurice:~# ifreload -a
>>>error: name 'traceback' is not defined
>
> seem to be a missing python lib
>
> (just to be sure , what is the output of "ifreload -a -d" ) ?
Attached is the result of the command with debug.
>
> python3 is installed right ?
>
> dpkg -l|grep python ?
Yes, python3.11 is installed. Attached is the result of the dpkg command
> (maybe the /run/network is not created, because ifupdown2 is crashing)
/run/network now does exist
--
Daniel Berteaud
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dpkg grep python.txt
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20230626/5f35a5ee/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ifreload.txt
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20230626/5f35a5ee/attachment-0003.txt>
More information about the pve-user
mailing list