Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549736 - sys-kernel/genkernel-next requires different position of zfs_start_volumes in linuxrc to successfully import ZFS volumes after LUKS volume unlock
Summary: sys-kernel/genkernel-next requires different position of zfs_start_volumes in...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel-next (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ettore Di Giacinto (RETIRED)
URL: https://github.com/Sabayon/genkernel-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-17 16:01 UTC by Matt
Modified: 2020-08-20 12:51 UTC (History)
3 users (show)

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 Matt 2015-05-17 16:01:38 UTC
>initramfs opens LUKS encrypted dev without a problem, 
>but then fails with ZFS:

Changing the script order in default/linuxrc from:
start_volumes
zfs_start_volumes
setup_keymap
is_livecd || start_luks

to 
setup_keymap
is_livecd || start_luks
start_volumes
zfs_start_volumes

solved this issue.


https://forums.gentoo.org/viewtopic-t-1011144.html?sid=6fa10a5871556731ab479617b17ad0eb


suggested fix:

https://github.com/Sabayon/genkernel-next/pull/26

Reproducible: Always

Steps to Reproduce:
1. have an LUKS encrypted partition with ZFS volumes (root) within
2. after a successful unlock of the luks partition - ZFS fails to import the zvols & pools
3.
Actual Results:  
it fails

Expected Results:  
it imports the pools successfully and continues startup & boot of system
Comment 1 Matt 2015-05-17 16:02:35 UTC
re-posting the URL of the issue here for easier discoverability:

https://github.com/Sabayon/genkernel-next/issues/25
Comment 2 Isaac 2017-10-03 08:52:42 UTC
This is still an issue over two years later with genkernel-next-68. Will this fix be incorporated soon?
Comment 3 Bernardo Meurer 2018-12-09 11:50:55 UTC
Can we please get some movement on this?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-20 12:51:00 UTC
Package removed.