Hi,

Am Dienstag, den 27.01.2009, 01:10 +0100 schrieb Jonas Meurer:
> Hello,
> 
> On 26/01/2009 Joachim Breitner wrote:
> > when trying to start a device with a crypttab entry using
> > cryptdisks_start directly, as in
> > 
> > $ cryptdisks_start media500
> > Starting crypto disk...done.
> > 
> > does not give an error message when the device is not present (in my
> > case, because I did not run vgchange -a y vg-500 yet).
> > 
> > While it is ok to ignore the entry during boot (it has the noauto flag),
> > it really should tell me about problems when I specifiy it explicitly.
> 
> you're right, that should be fixed.
> 
> could you try to set LOUD="yes" at the beginning of
> /usr/sbin/cryptdisks_start and see whether that fixes your problem?

no, unfortunately not:

$ head -n 20 /usr/sbin/cryptdisks_start 
#!/bin/sh

# cryptdisks_start - wrapper around cryptsetup which parses
# /etc/crypttab, just like mount parses /etc/fstab.

# Initial code and (c) 2007 Jon Dowland <j...@alcopop.org>
# License: GNU General Public License, v2 or any later
# (http://www.gnu.org/copyleft/gpl.html)

set -e

export LOUD=yes

if [ $# -lt 1 ]; then
        echo "usage: $0 <name>" >&2
        echo >&2
        echo "reads /etc/crypttab and starts the mapping corresponding to
<name>" >&2
        exit 1
fi

~ $ cryptdisks_start media500
Starting crypto disk...done.

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to