Bug #1965
cryptdisks' rcscript is causing problems
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - |
Description
Hi,
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
or
# 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 root@hypnotoad.luxh.ath.cx:/usr/obj/usr/src/sys/GENERIC i386.
Thank you,
Max
Related todos
History
Updated by swildner over 2 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
not.
I have clarified the message the script prints when /etc/crypttab is found but
dm(4) is not configured. See commit 667a7e9f9e095785ff8cb7c2e1fc0a8492542ae0