[Bug 1713175] Re: fsck should check before running on an encrypted LUKS partition
asi
1713175 at bugs.launchpad.net
Sat Aug 26 15:18:07 UTC 2017
One day cryptsetup will link to liblkid, adding two "use friendly" things in luksFormat
- warn if it detects something on disk before destroying it
- run wipefs to really destroy all the magic strings there (as Teo suggested)
So valid feature request also on the cryptsetup side, with the same low-
priority though :-)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1713175
Title:
fsck should check before running on an encrypted LUKS partition
Status in cryptsetup package in Ubuntu:
Confirmed
Status in e2fsprogs package in Ubuntu:
New
Status in util-linux package in Ubuntu:
New
Bug description:
fsck.ext4 runs on a LUKS partition and starts to correct inode
entries, rendering the partition corrupted and useless. It seems like
it should defensively check where it is an isLuks partition using
"cryptsetup isLuks /dev/sda1" before continuing to modify it.
I hope such a defensive check can be added.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1713175/+subscriptions
More information about the foundations-bugs
mailing list