Re: [gentoo-user] xargs and rm funkiness

2010-05-22 Thread Jan Engelhardt
On Saturday 2010-05-22 09:46, Neil Bothwick wrote: On Fri, 21 May 2010 21:49:49 -0400, Daniel D Jones wrote: find -name *.ext | xargs -0 rm I get the result: rm: cannot remove `Long File Name One.ext\nLong File Name Two.ext\nLong File Name Three.ext\n': File name too long. xargs can

[gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-18 Thread Jan Engelhardt
On Monday 2010-05-17 11:14, Stefan G. Weichinger wrote: Am 16.05.2010 14:36, schrieb Jan Engelhardt: [Replying to http://thread.gmane.org/gmane.linux.gentoo.user/229533/focus=229542 ] Second, it's using echo without the -n parameter, thus implicitly inserting a newline into the key

[gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-18 Thread Jan Engelhardt
On Tuesday 2010-05-18 15:44, Stefan G. Weichinger wrote: To be sure, use openssl -d ... | hexdump -C to detect newlines in the key. The shell has far too many occasions where \n gets stripped or added. Thanks for the hint. Could you please show me an example how it should look

[gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-18 Thread Jan Engelhardt
On Tuesday 2010-05-18 18:56, Stefan G. Weichinger wrote: Do you know any howto where it is done the right way? The right and easy way is to just use the supplied pmt-ehd(8) tool, which works both interactively and non-interactively, depending on whether it's called with enough arguments or

Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-18 Thread Jan Engelhardt
On Tuesday 2010-05-18 21:33, Stefan G. Weichinger wrote: Am 18.05.2010 20:57, schrieb Stefan G. Weichinger: On the other hand I would like to get that done right, sure. Any howto without pmt-ehd that would keep me safe from newlines etc (btw. there were NO newlines in that hexdump-output)?

Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-18 Thread Jan Engelhardt
yOn Tuesday 2010-05-18 22:17, Stefan G. Weichinger wrote: I saved my history, unfortunately only the last steps were kept, but I am able to reconstruct: The block-device is /dev/VG01/sgwcrypt ... #I tried a more complicated KEY KEY=`head -c 79 /dev/urandom` Well, I'm not going to blame you

Re: [gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-18 Thread Jan Engelhardt
On Tuesday 2010-05-18 23:49, Stefan G. Weichinger wrote: # ./mount.crypt -vo keyfile=t-crypt.key,fsk_cipher=aes-256-cbc,fsk_hash=md5 /dev/loop94 /mnt command: 'readlink' '-fn' '/dev/loop94' command: 'readlink' '-fn' '/mnt' Password: mount.crypt(crypto-dmc.c:144): Using _dev_loop94 as

[gentoo-user] Re: Kernel upgrade and now LUKS failure

2010-05-16 Thread Jan Engelhardt
[Replying to http://thread.gmane.org/gmane.linux.gentoo.user/229533/focus=229542 ] On 2010-05-05 08:00:43 GMT, Daniel Troeder wrote: On 05/05/2010 06:42 AM, Stefan G. Weichinger wrote: Am 04.05.2010 23:24, schrieb Daniel Troeder: I'm using sys-fs/cryptsetup-1.1.1_rc1 since 02.05.2010 and