Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693006 - genkernel: initrd GPG decryption fails in genkernel-4.0.0_beta14
Summary: genkernel: initrd GPG decryption fails in genkernel-4.0.0_beta14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-28 13:38 UTC by Matthias Gerstner
Modified: 2019-08-31 21:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Gerstner 2019-08-28 13:38:31 UTC
I more or less accidentally updated to genkernel-4.0.0_beta14 ebuild and noticed that the initrd GPG decryption support no longer works. I'm getting the following warning during boot:

```
GPG-encrypted key file provided but gpg program is missing. Was initramfs built without --gpg parameter?
```

This comes from the file `defaults/initrd.scripts` where it tests for `/sbin/gpg`, while the gpg binary seems to have moved to a different location within `/usr`.
Comment 1 Larry the Git Cow gentoo-dev 2019-08-29 20:49:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1f0028b52e110602975aa6bc25ca52d58bc9ea91

commit 1f0028b52e110602975aa6bc25ca52d58bc9ea91
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-08-29 20:46:33 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-08-29 20:46:33 +0000

    initrd.scripts: openLUKS(): gpg was moved to /usr/bin
    
    Bug: https://bugs.gentoo.org/693006
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 defaults/initrd.scripts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2019-08-31 21:11:00 UTC
Thank you for the report. I hope you like genkernel-4 apart from this problem.

Fix is in >=sys-kernel/genkernel-4.0.0_beta15!