#1065048 installation-reports: partition tool in d-i remembers choices; 'delete partition' (encrypted Part.) always stays 'yes'

#1065048#5
Date:
2024-02-29 07:51:15 UTC
From:
To:
(Please provide enough information to help the Debian
maintainers evaluate the report efficiently - e.g., by filling
in the sections below.)

Boot method: USB
Image version: http://get.debian.org/cdimage/release/current/amd64/iso-bd/debian-edu-12.5.0-amd64-BD-1.iso 2024-02-10 14:48
http://get.debian.org/cdimage/release/current/amd64/iso-cd/debian-12.5.0-amd64-netinst.iso
http://get.debian.org/cdimage/release/current/amd64/iso-cd/debian-edu-12.5.0-amd64-netinst.iso
http://get.debian.org/cdimage/archive/11.0.0/i386/iso-cd/debian-11.0.0-i386-netinst.iso
and others too
Date: <2024-02-24 15:20>

Machine: Fujitsu Esprimo C710 Intel Core i3-2100T CPU @ 2.50GHz 32GB RAM 120GB SSD 4TB HDD
Partitions: <df -Tl will do; the raw partition table is preferred>


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

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

Comments/Problems: 2nd NIC gets eth0 on reboot, 2nd NIC gets eth1 :-(

randomized encrypted partitions default to 'delete partition' 'yes';
after choosing 'no' the first time it should default to 'no'

The only choice of extended filesystems to format the randomized
encrypted partition with is ext2, which the d-i writes to /etc/fstab.
But the d-i actually formats to ext4, so I end up in emergency mode on
reboot

the d-i also misses to write the 'tmp' parameter for the randomized
encrypted ext4 formatted partition in /etc/crypttab

<Description of the install, in prose, and any thoughts, comments
      and ideas you had during the initial install.>


Please make sure that any installation logs that you think would
be useful are attached to this report. (You can find them in the
installer system in /var/log/ and later on the installed system
under /var/log/installer.) Please compress large files using gzip.

#1065048#10
Date:
2024-02-29 20:13:42 UTC
From:
To:
eth* names are no persistent and may change at any boot.
But ethernet interface should get predictable names like enpXsY or enoX.
In /proc/interrupts we can see enp1s0.

By "randomized" do you mean "plain dm-crypt with random key" ?
device management issues").
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995108>

I had submitted a patch but received no feedback so far.
<https://salsa.debian.org/installer-team/partman-crypto/-/merge_requests/4>

#1065048#15
Date:
2024-03-01 07:57:59 UTC
From:
To:
Hi Pascal,

Pascal Hambourg:
Thank you for the epiphany!
yes
seems so
:-(

Kind regards

readU
Frank