#1060394 network setup for bookworm uses eth0 instead of enX0

Package:
xen-tools
Source:
xen-tools
Submitter:
Valentin Kleibel
Date:
2024-04-09 10:51:03 UTC
Severity:
normal
Tags:
#1060394#5
Date:
2024-01-10 16:29:01 UTC
From:
To:
Dear Maintainers,

The default network interface naming scheme for bookworm don-U's is
enX[num] but the network setup script used to fill
/etc/network/interfaces still assumes eth0 for the first network interface.

I think either the script
/usr/share/xen-tools/common/40-setup-networking-deb should be changed or
a changed copy should be used for
/usr/share/xen-tools/bookworm.d/40-setup-networking instead of the symlink.

I've attached a simple patch that i used creating new bookworm domUs.

Thanks for your work,
Valentin

#1060394#10
Date:
2024-04-09 09:45:10 UTC
From:
To:
Hello,

Indeed, we meet the same issue, and the proposed patch is what we'll be
using.

Samuel

Valentin Kleibel, le mer. 10 janv. 2024 17:29:01 +0100, a ecrit:

#1060394#15
Date:
2024-04-09 09:52:22 UTC
From:
To:
(Though of course the patch needs to be applied to a new copy of
40-setup-networking-deb that only the bookworm profile uses, and not the
previous versions of debian)

Samuel

Samuel Thibault, le mar. 09 avril 2024 11:45:10 +0200, a ecrit: