Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haveged --version #67

Closed
Dmole opened this issue Mar 1, 2022 · 2 comments
Closed

haveged --version #67

Dmole opened this issue Mar 1, 2022 · 2 comments

Comments

@Dmole
Copy link

Dmole commented Mar 1, 2022

If haveged had a version option bug reports could be more informative.

haveged --version
haveged: unrecognized option '--version'

Usage: haveged [options]

Collect entropy and feed into random pool or write to file.
  Options:
 --buffer    , -b [] Buffer size [KW], default: 128
 --data      , -d [] Data cache size [KB], with fallback to: 16
 --inst      , -i [] Instruction cache size [KB], with fallback to: 16
 --file      , -f [] Sample output file,  default: 'sample', '-' for stdout
 --Foreground, -F    Run daemon in foreground
 --run       , -r [] 0=daemon, 1=config info, >1=<r>KB sample
 --number    , -n [] Output size in [k|m|g|t] bytes, 0 = unlimited to stdout
 --onlinetest, -o [] [t<x>][c<x>] x=[a[n][w]][b[w]] 't'ot, 'c'ontinuous, default: ta8b
 --pidfile   , -p [] daemon pidfile, default: /var/run/haveged.pid
 --verbose   , -v [] Verbose mask 0=none,1=summary,2=retries,4=timing,8=loop,16=code,32=test
 --write     , -w [] Set write_wakeup_threshold [bits]
 --help      , -h    This help

is not listing the version, but maybe it's in there:

strings "$(which haveged)" | grep -P "\d\.\d\."
1.9.1
@jirka-h
Copy link
Owner

jirka-h commented Mar 1, 2022

Hi,

there is actually --version available [1]

I have noticed it's missing in the man page. I have added it there:
commit 00fd6e5

It seems you are using 4 years old version. Please consider upgrading to a recent version. The latest stable one is v1.9.17.

Thanks
Jirka

[1]

haveged --version
haveged 1.9.17

Copyright (C) 2018-2022 Jirka Hladky <hladky.jiri@gmail.com>
Copyright (C) 2009-2014 Gary Wuertz <gary@issiweb.com>
Copyright (C) 2011-2012 BenEleventh Consulting <manolson@beneleventh.com>

License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

@Dmole
Copy link
Author

Dmole commented Mar 1, 2022

lsb_release -d
Description:	Ubuntu 18.04.6 LTS

Thanks I'll upgrade next month when Ubuntu 22.04 is out.

@Dmole Dmole closed this as completed Mar 1, 2022
@Dmole Dmole mentioned this issue Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants