Summary: | sys-kernel/genkernel-next-70 - 00-crypt.sh appends multiple -d to cryptsetup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Viz <viz> |
Component: | Current packages | Assignee: | Ettore Di Giacinto (RETIRED) <mudler> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to fix 00-crypt.sh |
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=e0ee3888e7f008636c60f9536bddaf22bffb8b70 commit e0ee3888e7f008636c60f9536bddaf22bffb8b70 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-12-14 00:47:20 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-12-14 00:47:20 +0000 initrd.scripts: openLUKS(): Reset cryptsetup_options on each iteration Bug: https://bugs.gentoo.org/702580 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> defaults/initrd.scripts | 4 +++- defaults/unlock-luks.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) Thank you for the report. sys-kernel/genkernel had a similar problem! Package removed. |
Created attachment 599240 [details, diff] Patch to fix 00-crypt.sh Every time LUKS key failed to get decrypted, 00-crypt.sh appends another `-d` to `cryptsetup_opts` with `cryptsetup_opts="${cryptsetup_opts} -d ${mntkey}${luks_key}"`. This is expected to be reset each time. Attached a patch to fix this.