Ok, I was able to resolve this issue. I have to set HOME=/root inside the shell 
to get it going. Now I have new problem, script runs ok from within this chroot 
fs, but when keys generation process just hangs with statement:

"Not enough random bytes available. Please do some other work....(Need 284 more 
bytes)"


How can I force it to complete it?

Regards
naeem


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>On Behalf Of Afzal, Naeem M
>Sent: Thursday, July 10, 2008 11:05 AM
>To: David Shaw; gnupg-users@gnupg.org
>Subject: RE: key generation in a script or non interactive mode?
>
>Thanks, that was exactly what I was looking for. I followed the
>instructions in the doc, and it works on Ubuntu host as user, but if I
>chroot to a filesystem within this host, I get the following error within
>chroot'd filesystem:
>
>


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to