Package: rinse Version: 1.7-1 Severity: normal Tags: patch
When installing either centos-5 or centos-6 using rinse, yum aborts twice near the end; the log ends with File "/usr/lib64/python2.4/random.py", line 109, in seed a = long(_hexlify(_urandom(16)), 16) OSError: [Errno 2] No such file or directory: '/dev/urandom' Final tidy... Installation complete. Although I encountered this on Ubuntu 12.04, I verified that the problem also occurs when installing rinse straight from upstream hg. An obvious fix is to create /usr/lib/rinse/common/30-dev-urandom.sh (like the existing /usr/lib/rinse/common/20-dev-zero.sh ); a patch against upstream is attached. -- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-42-generic (SMP w/8 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages rinse depends on: ii libterm-size-perl 0.2-4build3 Perl extension for retrieving term ii libwww-perl 5.834-1ubuntu0.1 Perl HTTP/WWW client/server librar ii perl-modules 5.10.1-8ubuntu2.1 Core Perl modules ii rpm 4.7.2-1lbuild1 package manager for RPM ii wget 1.12-1.1ubuntu2.1 retrieves files from the web rinse recommends no packages. rinse suggests no packages. -- no debconf information
random.diff
Description: Binary data