Re: [systemd-devel] dmsetup or cryptsetup hangs in the initrd

2015-10-17 Thread Lennart Poettering
On Fri, 16.10.15 17:11, Sean MacLennan (afore.s...@gmail.com) wrote:

> In RedHat 7 I am trying to setup a partition with dmsetup. I have attached
> a tarball that includes three files:
> 
> * go.sh is a simple script to install everything
> * install is the dracut module install
> * 95dmcrypt.sh is the file I want to run at boot time
> 
> The module is 99securevm.
> 
> 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.
> 
> Note that if 95dmcrypt.sh has either the dmsetup or the 2 cryptsetup lines
> commented in, it will hang the machine.
> 
> I am hoping I have just put something in the wrong place. pre-mount is
> where we previously ran the script from.

This is neither the mailing list for dracut development nor, and more
to the point, for device mapper/LVM issues. I doubt anyone here can
help you with this. Please ask DM/LVM people for help.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] dmsetup or cryptsetup hangs in the initrd

2015-10-16 Thread Sean MacLennan
In RedHat 7 I am trying to setup a partition with dmsetup. I have attached
a tarball that includes three files:

* go.sh is a simple script to install everything
* install is the dracut module install
* 95dmcrypt.sh is the file I want to run at boot time

The module is 99securevm.

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.

Note that if 95dmcrypt.sh has either the dmsetup or the 2 cryptsetup lines
commented in, it will hang the machine.

I am hoping I have just put something in the wrong place. pre-mount is
where we previously ran the script from.

Cheers,
Sean


dmtest.tar.gz
Description: GNU Zip compressed data
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel