Description of problem:
"dhclient --help" sends its output to syslog.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. dhclient --help
no output to stdout or stderr, option summary and readme crap in syslog
option summary on standard output.
Well, I found it. Changed it all to printf()'s and then the behavior of
dhclient changed. What was happening is the usage() function calls log_info(),
log_error(), and log_fatal() in the omapi library, which handles logging the
error messages (if an instance of dhclient is found to be running already) or
printing messages to stderr if it isn't running already.
I changed it to printfs and then had to go find all the calls for usage() and
put a return EXIT_FAILURE after displaying the usage screen, because you don't
want it to display the help screen and then grab a lease anyway.
What the hell are the ISC people smoking?
Also, their option parsing code for dhclient is written by hand. They don't use
getopt(). I'm going to fix that. Seriously, what the crap?
Fixed in rawhide.