[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: update-alternatives and /dev/random



Hello,

On Fri, Nov 18, 2011 at 11:03 PM, Samuel Thibault <sthibault@debian.org> wrote:
>
> Install libc0.3-dbg to get line numbers inside the libc.

[New Thread 10815.5]

Program received signal SIGLOST, Resource lost.
0x010500ec in mach_msg_trap () at
/build/eglibc-Q9jlik/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
2       /build/eglibc-Q9jlik/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:
No such file or directory.
        in /build/eglibc-Q9jlik/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S
(gdb) bt
#0  0x010500ec in mach_msg_trap () at
/build/eglibc-Q9jlik/eglibc-2.13/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
#1  0x010508e9 in __mach_msg (msg=0x1024918, option=3, send_size=48,
rcv_size=32, rcv_name=123, timeout=0, notify=0) at msg.c:110
#2  0x011ebbcf in __msg_sig_post (process=118, signal=0, sigcode=0, refport=1)
    at /build/eglibc-Q9jlik/eglibc-2.13/build-tree/hurd-i386-libc/hurd/RPC_msg_sig_post.c:144
#3  0x0106b3ec in _hurd_raise_signal (ss=0x1205008, signo=32,
detail=0x1024998) at hurd-raise.c:50
#4  0x0112d2a7 in _hurd_fd_error (err=<optimized out>, fd=<optimized
out>) at ../hurd/hurd/fd.h:182
#5  __hurd_dfail (err=<optimized out>, fd=<optimized out>) at
../hurd/hurd/fd.h:197
#6  __libc_read (fd=7, buf=0x124a4a8, nbytes=163840) at
../sysdeps/mach/hurd/read.c:28
#7  0x0804cd2d in fillbuf (save=20, stats=<optimized out>) at main.c:567
#8  0x0804e467 in grep (stats=0x1024abc, file=0x806d950
"/etc/alternatives/urandom", fd=7) at main.c:1180
#9  grepfile (file=0x806d950 "/etc/alternatives/urandom",
stats=0x1024abc) at main.c:1280
#10 0x0804ecfb in grepdir (dir=0x806d998 "/etc/alternatives",
stats=<optimized out>) at main.c:1378
#11 0x0804e214 in grep (stats=0x1024c0c, file=0x806d998
"/etc/alternatives", fd=7) at main.c:1094
#12 grepfile (file=0x806d998 "/etc/alternatives", stats=0x1024c0c) at
main.c:1280
#13 0x0804ecfb in grepdir (dir=0x1025038 "/etc/", stats=<optimized
out>) at main.c:1378
#14 0x0804e214 in grep (stats=0x806ba60, file=0x1025038 "/etc/", fd=7)
at main.c:1094
#15 grepfile (file=0x1025038 "/etc/", stats=0x806ba60) at main.c:1280
#16 0x0804aac8 in main (argc=4, argv=0x1024e54) at main.c:2200

On Sat, Nov 19, 2011 at 8:37 AM, Guillem Jover <guillem@debian.org> wrote:
> That's because something went wrong on the upgrade from the random-egd
> to the random-hurd switch. Check with showtrans what /dev/{u,}random
> and /dev/{u,}random-hurd are set to.
root@debian:/usr/local/src# showtrans /dev/urandom
/hurd/symlink /etc/alternatives/urandom
root@debian:/usr/local/src# showtrans /etc/alternatives/urandom
/hurd/symlink /dev/urandom-hurd
root@debian:/usr/local/src# showtrans /dev/urandom-hurd
/hurd/random --seed-file /var/spool/random-seed --fast

Regards,
Harish


Reply to: