Bug#605572: Acknowledgement (postinstall script hangs)

Michal Čihař nijel at debian.org
Wed Dec 1 12:09:02 UTC 2010


Okay this problem is more complex, feel free to reassign if you don't
think handling in gconf2 is a good idea.

The process is actually hanging at reading urandom:

Traceback (most recent call last):
  File "/usr/sbin/gconf-schemas", line 8, in <module>
    import sys,os,os.path,shutil,tempfile
  File "/usr/lib/python2.6/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "/usr/lib/python2.6/random.py", line 873, in <module>
    _inst = Random()
  File "/usr/lib/python2.6/random.py", line 96, in __init__
    self.seed(x)
  File "/usr/lib/python2.6/random.py", line 110, in seed
    a = long(_hexlify(_urandom(16)), 16)
  File "/usr/lib/python2.6/os.py", line 759, in urandom
    while n - len(bs) >= 1:
KeyboardInterrupt

What turns out to be different problem - pbuilder fails to
create /dev/urandom as a device node when it is running in vserver and
creates it just as an empty file (still need to investigate why this
is happening, it used to work). And the problem is that os.urandom in
this case just hangs.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20101201/c48ab370/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list