Summary: | sys-apps/rng-tools: man page reports misleading default value for --fill-watermark | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Göktürk Yüksek <gokturk> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Proposed fix for manpage
Patch for the ebuilds Patch manpage inside ebuild with sed |
Description
Göktürk Yüksek
![]() ![]() Created attachment 406954 [details, diff]
Proposed fix for manpage
For reference purposes:
- Suse uses 3700 bits for watermark
- Debian uses 50%
- Fedora goes with the default 75%
There doesn't seem to be any consensus on the default value. I suggest that we modify the manpage to reflect the correct behaviour and leave the default 2048 bits provided by the init script as is.
Created attachment 406956 [details, diff]
Patch for the ebuilds
Created attachment 407350 [details, diff]
Patch manpage inside ebuild with sed
As per our discussion on #gentoo-proxy-maint with idella4, patching the manpage with sed is better than creating a separate patch file. It takes up less space than the patch file and easier to read when it's inside the ebuild. Note that this is only for rng-tools-5, although it should apply the same way to rng-tools-4 too. There is a stabilization bug open for rng-tools-5, so it makes sense to patch only rng-tools-5 and get rid of rng-tools-4 as soon as possible.
thanks, it's in 5-r1 now: http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f3d293d479c67624790945244f46ab6956c05e3 |