Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 567566

Summary: sys-fs/cryptsetup should include +udev for +systemd
Product: Gentoo Linux Reporter: Olipro <olipro+gentoopub>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Olipro 2015-12-05 03:15:40 UTC
If cryptsetup is being emerged on a system using +systemd, the udev USE flag is not selected. This results in a boot hang when doing things such as attempting to have an encrypted swap.

Therefore, udev should be selected if systemd is.

Reproducible: Always

Steps to Reproduce:
1. setup an encrypted swap via /etc/crypttab and /etc/fstab while using systemd.
2. emerge crypttab without the udev flag.
3. attempt to boot, watch it fail.
Comment 1 SpanKY gentoo-dev 2015-12-05 06:38:32 UTC
setting USE=-udev on a system running systemd seems pointless ...

cryptsetup itself has no systemd flag.  your report is a bit scant on details as to what is actually hanging and where.  please post some boot logs.