[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1093907: Installation Report: Weekly Build 20250120-03:23: /etc/network/interfaces Set Up Incorrectly.



Package: installation-reports

Boot method: CD-ROM image
Image version:  Debian GNU/Linux testing "Trixie" - Official Snapshot
amd64 NETINST with firmware 20250120-03:23 (the weekly build,
https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-netinst.iso)
Date: 2025-01-23 11:51

Machine: Virtual qemu machine running on Debian 12 controlled by
Virtual Machine Manager
Partitions:
root@testing:/var/log/installer# df -Tl
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.4G     0  1.4G   0% /dev
tmpfs          tmpfs     292M  668K  291M   1% /run
/dev/vda1      ext4      4.5G  1.6G  2.7G  37% /
tmpfs          tmpfs     1.5G     0  1.5G   0% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     1.0M     0  1.0M   0%
/run/credentials/systemd-journald.service tmpfs          tmpfs     1.5G
  20K  1.5G   1% /tmp tmpfs          tmpfs     292M  8.0K  292M   1%
/run/user/0 /dev/sda1      vfat      1.9G   17M  1.9G   1%
/media/installer tmpfs          tmpfs     1.0M     0  1.0M   0%
/run/credentials/getty@tty1.service /dev/sr0       iso9660   798M  798M
    0 100% /media/cdrom0 root@testing:/var/log/installer# 


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [E]
Detect media:           [O]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [ ]
Install boot loader:    [O]
Overall install:        [O]

Comments/Problems:

The installation was preseeded using a configuration that has worked
well on this and other machines. Normally the network setup runs
correctly. However this time the Ethernet was changed from eth0 to
enp1s0, as usual, but the entry in /etc/network/interfaces was for
eth0.

e/b/i:
--------------------------------------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
--------------------------------------------------

A simple sed command set things to right, and the VM is now working
nominally.

sed -i~ -e"s/eth0/enp1s0/g" /etc/network/interfaces

I usually run a script that replaces the ifupdown and related packages
with systemd-networkd. I am hesitant to do that now in case the above
problem has created problems for systemd-networkd. Since it is a
throw-away machine I can do this experiment.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Attachment: hardware-summary
Description: Binary data

Attachment: syslog
Description: Binary data


Reply to: