Bug #1965

cryptdisks' rcscript is causing problems

Added by herrgard over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-



cryptdisks is causing problems if it isn't started, and I don't want to start it because I don't need it.

How to reproduce:
# rcstart apache
apache depends on cryptdisks, current state: failed

# rcstop dntpd
# rcstart dntpd
dntpd depends on cryptdisks, current state: failed

Yes, dntpd did start at boot while apache didn't. However, stopping dntpd and starting it again doesn't work.

Box is running DragonFly v2.9.1.494.g932f0-DEVELOPMENT #2: Wed Jan 19 17:11:22 CET 2011 :/usr/obj/usr/src/sys/GENERIC i386.

Thank you,


#1 Updated by swildner over 5 years ago

The problem was caused by a bogus /etc/crypttab which was created by a (now
fixed) bug in the installer that caused it to always add swap
to /etc/crypttab, regardless of whether the user configured encrypted swap or

I have clarified the message the script prints when /etc/crypttab is found but
dm(4) is not configured. See commit 667a7e9f9e095785ff8cb7c2e1fc0a8492542ae0

Also available in: Atom PDF