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

Bug#1092977: marked as done (debian-installer: systemd-cryptsetup package not installed on encrypted system)



Your message dated Sun, 25 May 2025 18:05:05 +0000
with message-id <E1uJFib-0057Fg-7X@fasolo.debian.org>
and subject line Bug#1092977: fixed in partman-crypto 132
has caused the Debian Bug report #1092977,
regarding debian-installer: systemd-cryptsetup package not installed on encrypted system
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 owner@bugs.debian.org
immediately.)


-- 
1092977: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092977
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: testing
Severity: normal
Tags: d-i
X-Debbugs-Cc: therealmrfox@duck.com

Dear Maintainer,

   * What led up to the situation?

(Possible dupe of 1092968)

I installed Debian testing from a live CD.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

During the installation process, I set up 2 encrypted partitions:
- btrfs on LVM on LUKS for the root file system
- swap on an encrypted partition with a random key

   * What was the outcome of this action?

The system took an extremely long time to boot, which I eventually traced down to a timeout (~30 seconds) because the encrypted swap device did not exist
(i.e., cryptsetup never opened it, so there was no entry in /dev/mapper/).

The encrypted partition for the root file system correctly prompted for the passphrase when booting, and worked completely normally.

The installer *did* create the correct entries in /etc/crypttab:

    nvme0n1p7_crypt /dev/nvme0n1p7 /dev/urandom cipher=aes-xts-plain64,size=256,swap,discard,x-initrd.attach

and /etc/fstab:

   /dev/mapper/nvme0n1p7_crypt    none    swap    sw    0   0

However, the installer did *not* install the required systemd-cryptsetup package. Once this package was installed, the problem immediately went away.

   * What outcome did you expect instead?

systemd-cryptsetup package should be installed.

Note that this bug is similar to 1092968, though it differs from it in that the crypttab entry was added by the installer itself, not the user later. 
I am quite puzzled how the resulting system was able to decrypt one partition, but not the other.



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.6-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: partman-crypto
Source-Version: 132
Done: Cyril Brulebois <kibi@debian.org>

We believe that the bug you reported is fixed in the latest version of
partman-crypto, 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 1092977@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated partman-crypto 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 25 May 2025 19:44:41 +0200
Source: partman-crypto
Architecture: source
Version: 132
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Closes: 1092977
Changes:
 partman-crypto (132) unstable; urgency=medium
 .
   [ Holger Wansing ]
   * Fix incorrect lintian-override.
 .
   [ Updated translations ]
   * Greek (el.po) by galaxico
 .
   [ Cyril Brulebois ]
   * Install systemd-cryptsetup alongside cryptsetup-initramfs. While the
     latter is sufficient if one picks guided partitioning with an
     encrypted LVM layout, other use cases might require the former,
     originally bundled together within systemd (Closes: #1092977).
Checksums-Sha1:
 8e06e512d9562b39a269203c71b12aeed226ba75 1795 partman-crypto_132.dsc
 52abc4dde58f717a8e608f80dfdda346db7f178f 310720 partman-crypto_132.tar.xz
 38a118fa6768ed02c1302113643233a23151ff43 6885 partman-crypto_132_source.buildinfo
Checksums-Sha256:
 2b9ec534ab14351f49bab6a55639dcd63b474e1aca136fd195cb79809f41fd32 1795 partman-crypto_132.dsc
 643d333afb5ef0289108b96ca719ab18afcca9f8a6370998811f97afad1ed9f0 310720 partman-crypto_132.tar.xz
 7c90ac8f27be4b91cdfc126bbf656664f412a0978fa134e5da8f14b2ae598d5d 6885 partman-crypto_132_source.buildinfo
Files:
 28c7b6b6d667a934adb09339dc355d8e 1795 debian-installer optional partman-crypto_132.dsc
 261d9d019e72452b859de7f0ea921354 310720 debian-installer optional partman-crypto_132.tar.xz
 f4054beb0bb31c4d0c6cdea2468becb5 6885 debian-installer optional partman-crypto_132_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmgzV2EQHGtpYmlAZGVi
aWFuLm9yZwAKCRD/kUrwwrNVIKCnD/40p7NUGDhnupzH7S9z7kYmhFULSJpC8/8L
IPDC41ivdCA1fOowF9RQWvcOL/tvt0yb9vPLCWnYtQpyJLmHLzOAoeqZNSmNtPSX
H3YIXAUdUV8/GCJerpSI5J9V3MaJvlOTZjylAZfTqUn/v5DkKn7981uXGruGBSIZ
cS8eeb1C/NFfoQWBMMYaXXFlqiZlpB2HPlBJUMoUffscY6mafBd3HR5x90tfzrwc
3XraBgiTukXlWqsGrE50MOhyohGaPAo7GUz17rOyyRZK1k+BQOl/z41zhJf/RbGq
7NKnFZpa5F13TYOKiNSDx8584SkvUZnEkqsh/xxrXTZRKQmpveUcvtuL7LDulX2+
ByZlSrkX/iUBQP7RNHWp5Ig4VdqKV7ZZG7DqWNPxijNkYiAuW1Chpp55mAHxTL5S
bykOIVbnW1lQypMFK9nDH6UWRXBtwZuK224HcpfEul7467gmUyQROZd7PE23QyjX
WVA5sRr8PY4XRTW8CD820cTwI5aDsWY7A4lqgk+ZVd1W6KOG9Q6YXLSu9caUBoTy
8kNVdNcRKOS9EYOgjSc8bbfwc65JxEyQQ/Ge04omLHpIjrbwcOwn+5P/Num7lCPT
cPrPW5oVGLGqoQRznG197ytAWsi8+0TSS7zUvA2OhTf+V06naZ2kuzAHicHZ17Fn
4e35PGW8hg==
=+JED
-----END PGP SIGNATURE-----

Attachment: pgpXRiBy_EdUF.pgp
Description: PGP signature


--- End Message ---

Reply to: