[Bug 1955317] Re: Default /etc/crypttab is using dev/sd*instead of uuid for swap partition
Jan Büddefeld
1955317 at bugs.launchpad.net
Sun Dec 19 09:32:02 UTC 2021
I didn’t know that. But wouldn’t it be possible to use at least a label
name of the partition instead?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1955317
Title:
Default /etc/crypttab is using dev/sd*instead of uuid for swap
partition
Status in ubiquity package in Ubuntu:
New
Bug description:
I'm not quite sure if this is the right category so excuse me, if I'm
wrong here.
I've installed Ubuntu 21.10 using the latest installer. During the
installation I've enabled zfs and encryption. The installer created a
/etc/crypttab file that looks like this:
cryptoswap /dev/sda2 /dev/urandom swap,initramfs
This is really bad because the disk behind /dev/sda may change and
unfortunately did change in my case. This can lead to data lost on
other disks.
I would suggest to use the UUID instead of "/dev/sda2".
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19
Uname: Linux 5.13.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Dec 18 22:23:35 2021
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2021-12-18 (0 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
Symptom: installation
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1955317/+subscriptions
More information about the foundations-bugs
mailing list