Bug#838003: [Pkg-openssl-devel] Bug#838003: /usr/bin/openssl: unable to write 'random state'

2016-09-20 Thread Sebastian Andrzej Siewior
On 2016-09-16 11:53:07 [+0200], Ph. Marek wrote:
> $ openssl rand -base64 3
> WTIu
> unable to write 'random state'

Thanks. I posted a patch
   https://mta.openssl.org/pipermail/openssl-dev/2016-September/008508.html

let's see what upstream says.

Sebastian



Bug#838003: /usr/bin/openssl: unable to write 'random state'

2016-09-16 Thread Ph. Marek
Package: openssl
Version: 1.1.0-1
Severity: normal
File: /usr/bin/openssl

$ openssl rand -base64 3
WTIu
unable to write 'random state'

$ openssl rand 0
unable to write 'random state'

$ strace openssl rand 0
...
close(3)= 0
getuid()= 1044
getuid()= 1044
geteuid()   = 1044
getgid()= 1044
getegid()   = 1044
stat("", 0x7ffe46f65ae0)= -1 ENOENT (No such file or 
directory)
open("", O_WRONLY|O_CREAT, 0600)= -1 ENOENT (No such file or 
directory)
open("", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or 
directory)
write(2, "unable to write 'random state'\n", 31unable to write 'random 
state'
) = 31
exit_group(1)   = ?
+++ exited with 1 +++



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openssl depends on:
ii  libc6  2.23-5
ii  libssl1.1  1.1.0-1

openssl recommends no packages.

Versions of packages openssl suggests:
ii  ca-certificates  20160104

-- no debconf information