Project

General

Profile

Actions

Bug #1965

closed

cryptdisks' rcscript is causing problems

Added by herrgard about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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:
  1. rcstart apache
    apache depends on cryptdisks, current state: failed
or
  1. rcstop dntpd
  2. 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,
Max

Actions #1

Updated by swildner about 13 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

Actions

Also available in: Atom PDF