Your message dated Thu, 20 Feb 2020 21:05:00 +0000
with message-id <[email protected]>
and subject line Bug#945239: fixed in fai 5.9.2
has caused the Debian Bug report #945239,
regarding setup-storage: preserve_always is ignored
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
945239: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945239
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fai-setup-storage
Version: 5.8.9
Severity: important
Dear Maintainer,
consider the following disk config:
disk_config disk1 disklabel:gpt bootable:1 fstabkey:uuid align-at:4k
preserve_always:4
primary /boot/efi 512 vfat rw
primary swap 1G swap sw
primary - 32G - -
primary /home 32G- btrfs subvol=@home,defaults,rw,relatime,compress,nodev
disk_config btrfs fstabkey:uuid
btrfs single / disk1.3
subvol=@buster,defaults,rw,relatime,compress
btrfs single /var/cache disk1.3
subvol=@buster-var-cahce,defaults,rw,relatime,compress
When installing the releevant part of the log is this:
Calling task_partition
Starting setup-storage 2.2
Using config file: /var/lib/fai/config/disk_config/DISK_DESKTOP_GEN2T
/dev/nvme0n1p4 will be preserved
Adding mkfs command for '/dev/nvme0n1p3'.
Adding mkfs command for '/dev/nvme0n1p4'.
Executing: wipefs -af /dev/nvme0n1p1
Executing: wipefs -af /dev/nvme0n1p2
Executing: wipefs -af /dev/nvme0n1p3
Executing: parted -s /dev/nvme0n1 mklabel gpt
Executing: parted -s /dev/nvme0n1 mkpart primary "fat32" 1048576B 537919487B
Executing: parted -s /dev/nvme0n1 set 1 boot on
Executing: parted -s /dev/nvme0n1 mkpart primary "linux-swap" 537919488B
1611661311B
Executing: parted -s /dev/nvme0n1 mkpart primary "" 1611661312B 35971399679B
Executing: parted -s /dev/nvme0n1 mkpart primary "btrfs" 35971399680B
512110170111B
Executing: mkfs.vfat /dev/nvme0n1p1
Executing: mkswap /dev/nvme0n1p2
Executing: mkfs.btrfs -d single -f /dev/nvme0n1p3
Executing: mount /dev/nvme0n1p3 /mnt
Executing: btrfs subvolume create /mnt/@buster-var-cahce
Executing: umount /dev/nvme0n1p3
Executing: mkfs.btrfs -d single -f /dev/nvme0n1p4
Executing: mount /dev/nvme0n1p4 /mnt
Executing: btrfs subvolume create /mnt/@home
Executing: umount /dev/nvme0n1p4
Executing: mount /dev/nvme0n1p3 /mnt
Executing: btrfs subvolume create /mnt/@buster
Executing: umount /dev/nvme0n1p3
Executing: parted /dev/nvme0n1 set 1 boot on
/dev/nvme0n1p3 UUID=b9e3ce83-aed9-4d3b-95eb-e86e2ab59d8a
/dev/nvme0n1p4 UUID=299d92a3-5d95-49e6-b18d-b73f2e4cc9ab
/dev/nvme0n1p3 UUID=b9e3ce83-aed9-4d3b-95eb-e86e2ab59d8a
/dev/nvme0n1p1 UUID=D380-1F2F
/dev/nvme0n1p2 UUID=ffcd663e-26a5-456c-86a0-61ce08a98f0a
As you can see wipefs honors the preserve_always, however the subsequent
mkfs calls do not, and the partition is recreated.
This appears to be a bug.
Cheers Jens
-- System Information:
Debian Release: 10.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages fai-setup-storage depends on:
ii e2fsprogs 1.44.5-1+deb10u2
pn liblinux-lvm-perl <none>
pn libparse-recdescent-perl <none>
ii parted 3.2-25
ii perl 5.28.1-6
Versions of packages fai-setup-storage recommends:
ii lvm2 2.03.02-3
pn mdadm <none>
Versions of packages fai-setup-storage suggests:
pn cryptsetup <none>
ii dmsetup 2:1.02.155-3
pn dosfstools <none>
pn jfsutils <none>
pn ntfs-3g <none>
pn reiserfsprogs <none>
pn xfsprogs <none>
--- End Message ---
--- Begin Message ---
Source: fai
Source-Version: 5.9.2
Done: Thomas Lange <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fai, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Lange <[email protected]> (supplier of updated fai package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 20 Feb 2020 21:37:26 +0100
Source: fai
Architecture: source
Version: 5.9.2
Distribution: unstable
Urgency: low
Maintainer: Thomas Lange <[email protected]>
Changed-By: Thomas Lange <[email protected]>
Closes: 945239
Changes:
fai (5.9.2) unstable; urgency=low
.
[ Thomas Lange ]
* upgrade standards version to 4.5.0, no changes
* use debhelper-compat instead of debian/compat
* fai-make-nfsroot: handle new packages dracut-live and dracut-squash,
make sure initrd will only be generated once
* fai-nfsroot.preinst: rename file to insserv does not complain
* NFSROOT: add pigz, used by dracut, add nmve tool
* task_sysinfo: list nvme devices
* task_inventory: list nvme devices and virtual disks
* 20-removable_media: no more entry for floppy in fstab
* setup-storage: fix preserve with btrfs fs, Closes: #945239
do not sync md devices after they are created,
this only applies during an installation from nfsroot
replaces mountdisks.DEFAULT
* Init.pm: print debug info also at the end
.
[ Donovan Keohane ]
* fai-mirror: check if list is empty before calling reprepro
* man pages: lots of proof reading
* get-config-dir, fai-divert: Migrate which to command -v
* Prefer 'grep -E' over 'egrep'
.
[ Carsten Aulbert ]
* fai-monitor: Add two more options to allow for custom strftime strings
Checksums-Sha1:
e76e7c6376904c609004918828b1d5793f1cb7f7 1939 fai_5.9.2.dsc
14540603355db6db847f05b17cc36af2f72bdc63 285396 fai_5.9.2.tar.xz
24d50f2781c8c5bdf0c473a2ca6310bb897e88ee 13011 fai_5.9.2_amd64.buildinfo
Checksums-Sha256:
a3ef716eaf9d80c8a7c847335d05706e4ba48c3819a0afddc213d77afeba71f8 1939
fai_5.9.2.dsc
1b33012381be4e7fecb64146cdfd398394f30e4a02cc5a758a059d579423cb0b 285396
fai_5.9.2.tar.xz
04af724bf25483551ab13f9bbb174387e2bf5b0b8f075748b690fe315cfb03e2 13011
fai_5.9.2_amd64.buildinfo
Files:
c2cbaa6b9d8cf97aeff02ec4fc6e9133 1939 admin optional fai_5.9.2.dsc
ffb9d54838be3634c58700af9a4a17bd 285396 admin optional fai_5.9.2.tar.xz
266e638cb6a56458cb1abc4faf82bf8e 13011 admin optional fai_5.9.2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAl5O7tMRHGxhbmdlQGRl
Ymlhbi5vcmcACgkQK/jZ/gdLzeSFTRAAtF+8Q2JODzO4IbEPFAEbl6xrY7UQCNTs
SrvGlnEEVClbAoKBYrvL2gwBQFvisA2wvlQ8aw2Hzum01SDAgIF+zkUfjJ7KzET5
ThRY4i7meEDUnfk5Tmzbl75zEA4JTCmjcdEu6F/YR3byn4EU5IuSi9cNSMp7xkNf
7XEYKoI4Udrr7oBtUS+Mzp6LKBm5xIT/RrNYKWKJHa+FBbCQPht25CNkco44y0Is
awfwCa86ynKbih0WMWIfPEc0rzu1Z0hj9XAQRv4kBgwCMA+g5bf4wKj/xVy1dzBH
+qzPD2ryfDP3N/O/riLYku5cPXyj9FMVXQY/ikDqkx3x/EJ2Ii2G5knqW3b7AHQZ
n02R86qSDuWETCSAa5jvev1i7bcIegP0XNiJ9RCMV5CQa9khfZsQDKLhdVeK4EqQ
KNZe304e0VlvrJZ/lipTntKfMjaWpESz11DYVpHTHdUrXGOn3VMXxtFRnD2wHxPe
6rFn+JdbFdRywd11f9Jr2MEL0gLYpUa6irma8QooHytXcLrPTUSHWIJ1p7i/hSrT
UtG02oaZg+VSoX/ALEhvHKD7tny8AKe/hYVnBdXOjfdS0OKxuRQ3W6kCh6rs13Dj
H3V/DKgzE3GjkK+7WP+87f+K0utq25/bz5Kx3ee4ngIy/L9tvIA48eA9+5tVVPXY
4Gz7QysUkw0=
=GslO
-----END PGP SIGNATURE-----
--- End Message ---