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

Bug#845376: debian-installer: don't add "swap" flag in crypttab if pasword is not random

Package: debian-installer
Severity: normal

Dear Maintainer,

I installed Debian (8.6) on a laptop.

I created two encrypted partition. One for the root filesystem and the
I marked in partman to be used as swap. I chose not to use /dev/urandom
as keyfile because I wanted the swap to hold hibernation image.

One of the flags in the fourth field in crypttab for the swap partition
is "swap". I am afraid (I haven't tested it) that boot scripts would run
mkswap and erase hibernation image.

The "swap" flag in the crypttab set only if one chooses to use random

-- System Information:
Debian Release: 8.6
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-586
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Było mi bardzo miło.                                  --- Rurku. --- ...
>Łukasz<                                --- To dobrze, że mnie słuchasz.

Attachment: pgpqAz98jjMKd.pgp
Description: PGP signature

Reply to: