From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v6.tansi.org (ns.km31936-01.keymachine.de [87.118.116.4]) by mail.server123.net (Postfix) with ESMTP for ; Mon, 19 Oct 2015 09:46:48 +0200 (CEST) Received: from gatewagner.dyndns.org (77-57-54-224.dclient.hispeed.ch [77.57.54.224]) by v6.tansi.org (Postfix) with ESMTPA id 77EB220DC13E for ; Mon, 19 Oct 2015 09:46:48 +0200 (CEST) Date: Mon, 19 Oct 2015 09:46:47 +0200 From: Arno Wagner Message-ID: <20151019074647.GA22388@tansi.org> References: <20151019062122.GA21491@tansi.org> <56249687.9060404@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56249687.9060404@gmail.com> Subject: Re: [dm-crypt] dmsetup or cryptsetup hangs in the initrd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Mon, Oct 19, 2015 at 09:06:47 CEST, Milan Broz wrote: > I guess you are missing dmsetup udev rules in initramfs > or something like that. (Hint: just add --debug to cryptsetup and it will show where is is waiting.) > > You should probably use systemd to activate crypt devices in RHEL7 anyway. > > On 10/19/2015 08:21 AM, Arno Wagner wrote: > >> Obviously, this has all been stripped down to make it as simple as > >> possible. Sorry for the hard coding. If you want to test it, you need to > >> provide a /dev/sdb1 partition that is at least 2G. If you comment out the > >> `exit 0' in go.sh it will setup the partition for you. > > Using hardcoded sdb1 is wrong, it will overwrite other disk if you e.g. forget > USB drive plugged in. Use some hw id symlink. Good point. Arno > >> Note that if 95dmcrypt.sh has either the dmsetup or the 2 cryptsetup lines > >> commented in, it will hang the machine. > > Run dracut shell, debug it by hand. > > Milan > > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier