Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691502 - sys-apps/systemd-243_rc1-r1 - systemd-cryptsetup-generator: Assertion 'keyspec' failed
Summary: sys-apps/systemd-243_rc1-r1 - systemd-cryptsetup-generator: Assertion 'keyspe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-05 16:57 UTC by Marcin Kowalski
Modified: 2019-08-11 16:28 UTC (History)
0 users

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


Attachments
Patch based on fix at github (fef716b28be6e866b8afe995805d5ebe2af6bbfa.patch,1.70 KB, patch)
2019-08-08 13:54 UTC, Ferry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kowalski 2019-08-05 16:57:12 UTC
This happens at boot, and i never get asked for luks password: 


sie 05 18:27:50 box systemd-cryptsetup-generator[740]: Assertion 'keyspec' failed at src/cryptsetup/cryptsetup-generator.c:53, function split_keyspec(). Aborting.
sie 05 18:27:50 box systemd[733]: /lib/systemd/system-generators/systemd-cryptsetup-generator terminated by signal ABRT.


Downgrading systemd fixes the issue. Downgrading cryptsetup or upgrading has no effect.

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2019-08-05 17:45:03 UTC
Please report this upstream.

https://github.com/systemd/systemd/issues
Comment 2 Marcin Kowalski 2019-08-06 06:05:49 UTC
for reference, https://github.com/systemd/systemd/issues/13270
Comment 3 Marcin Kowalski 2019-08-06 09:01:25 UTC
seems patched upstream, needs package bump in gentoo

https://github.com/systemd/systemd/issues/13270#issuecomment-518527808
Comment 4 Ferry 2019-08-08 13:54:27 UTC
Created attachment 586128 [details, diff]
Patch based on fix at github

Put patch file in /etc/portage/patches/sys-apps/systemd-243_rc1-r1/
rebuild systemd
WFM
Comment 5 Larry the Git Cow gentoo-dev 2019-08-11 16:28:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35dcfcc83b7e325672f9167b5417d67deb4e3270

commit 35dcfcc83b7e325672f9167b5417d67deb4e3270
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-08-11 16:27:41 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-08-11 16:27:41 +0000

    sys-apps/systemd: backport fixes
    
    Closes: https://bugs.gentoo.org/691232
    Closes: https://bugs.gentoo.org/691280
    Closes: https://bugs.gentoo.org/691502
    Package-Manager: Portage-2.3.71, Repoman-2.3.16_p24
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/files/243-rc1-cryptsetup.patch    | 148 +++++++++++++++++++++
 ...243-rc1-revert-logind-remove-unused-check.patch |  31 +++++
 .../systemd/files/243-rc1-udev-properties.patch    |  53 ++++++++
 ...243_rc1-r1.ebuild => systemd-243_rc1-r2.ebuild} |   3 +
 4 files changed, 235 insertions(+)