Bug#775328: manpages: urandom manpage is misleading

2015-02-05 Thread Michael Kerrisk (man-pages)
tags 775328 fixed-upstream
thanks

Mathieu,

On 14 January 2015 at 08:57, Mathieu Malaterre  wrote:
> Package: manpages
> Version: 3.74-1
> Severity: normal
>
> Dear Maintainer,
>
> The manpage for `urandom` is misleading, at least with recent linux kernel. 
> The current man page reads as:
>
> [...]
> A read from the /dev/urandom device will not block waiting for more entropy.
> [...]
>
> However since commit 79a8468747c5 only a maximum of 32MB are returned. It 
> should be clarified in the documentation
> that urandom only return random data within this size. See:
> https://bugzilla.kernel.org/show_bug.cgi?id=80981#c9
>
> Full reference:
> http://unix.stackexchange.com/a/178957/32896
>
>
> Suggested patch:
>
> [...]
> A read from the /dev/urandom device will not block waiting for more entropy, 
> but
> will only return random bytes with a maximum of 32MB per read(2) system call.
> [...]

Thanks for the report. In upstream, I've added a sentence similar to
your proposal.

Cheers,

Michael


> -- System Information:
> Debian Release: 8.0
>   APT prefers testing-updates
>   APT policy: (500, 'testing-updates'), (500, 'testing')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> manpages depends on no packages.
>
> manpages recommends no packages.
>
> Versions of packages manpages suggests:
> ii  man-db [man-browser]  2.7.0.2-5
>
> -- no debconf information
>



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#775328: manpages: urandom manpage is misleading

2015-01-14 Thread Mathieu Malaterre
Package: manpages
Version: 3.74-1
Severity: normal

Dear Maintainer,

The manpage for `urandom` is misleading, at least with recent linux kernel. The 
current man page reads as:

[...]
A read from the /dev/urandom device will not block waiting for more entropy.
[...]

However since commit 79a8468747c5 only a maximum of 32MB are returned. It 
should be clarified in the documentation
that urandom only return random data within this size. See:
https://bugzilla.kernel.org/show_bug.cgi?id=80981#c9

Full reference:
http://unix.stackexchange.com/a/178957/32896


Suggested patch:

[...]
A read from the /dev/urandom device will not block waiting for more entropy, 
but 
will only return random bytes with a maximum of 32MB per read(2) system call.
[...]

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

manpages depends on no packages.

manpages recommends no packages.

Versions of packages manpages suggests:
ii  man-db [man-browser]  2.7.0.2-5

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org