Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#465279: ssl-cert: /var/lib/dpkg/info/ssl-cert.postinst of version 1.0.15 hangs inside chroot

From: Michael Prokop <mika(at)grml.org>
Date: Thu Feb 14 2008 - 11:28:17 EST

  • Tollef Fog Heen <tfheen@err.no> [20080214 14:48]:
    > * Michael Prokop

> | 17145:error:0E065068:configuration file routines:STR_COPY:variable has no value:conf_def.c:629:line 5

> Did you first set RANDFILE to /dev/random?

No (not that I'm aware of).

> Is /dev/random available in the chroot?

Yes:

# ls -la /dev/random
crw-rw-rw- 1 root root 1, 8 Oct 29 22:01 /dev/random

> What does strac-ing the openssl process show you, and

Do you need help?X

Running it from outside the chroot:

# strace -f -p 31838
Process 31838 attached - interrupt to quit

read(4, "\212\304;\210\204n\361\26", 976) = 8
read(4, "\210\4\266\332\\\272\17\276", 968) = 8
read(4, "\265\265\356\235\375\211\307\305", 960) = 8
read(4,  

[..]

> what does ls -l /proc/$pid_of_openssl/fd show you?

# ls -l /proc/31838/fd
total 0

lr-x------ 1 root root 64 Feb 14 16:12 0 -> pipe:[777359]
l-wx------ 1 root root 64 Feb 14 16:12 1 -> /dev/null
l-wx------ 1 root root 64 Feb 14 16:12 11 -> pipe:[777314]
l-wx------ 1 root root 64 Feb 14 16:10 2 -> /dev/null
l-wx------ 1 root root 64 Feb 14 16:12 3 -> pipe:[777360]
lr-x------ 1 root root 64 Feb 14 16:12 4 -> /dev/random

I prepared a minimal chroot where you should be able to reproduce the problem on your own:

  http://grml.org/tmp/ssl-cert-chroot.tgz (52M)

Running "apt-get install ssl-cert" inside it hopefully should allow you to reproduce above problem.

regards,
-mika-

Do you need more help?X

-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Feb 14 11:33:12 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:00:55 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library