Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567566 - sys-fs/cryptsetup should include +udev for +systemd
Summary: sys-fs/cryptsetup should include +udev for +systemd
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-05 03:15 UTC by Olipro
Modified: 2015-12-05 06:38 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 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.