Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 906814

Summary: qpidd --help does not list --sasl-config option default
Product: Red Hat Enterprise MRG Reporter: Frantisek Reznicek <freznice>
Component: qpid-cppAssignee: mick <mgoulish>
Status: CLOSED ERRATA QA Contact: Frantisek Reznicek <freznice>
Severity: low Docs Contact:
Priority: medium    
Version: DevelopmentCC: esammons, jross, lzhaldyb, pematous
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-4.el6, qpid-cpp-0.22-4.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-24 15:06:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frantisek Reznicek 2013-02-01 14:57:22 UTC
Description of problem:
qpidd --help does not list --sasl-config option default value:

  # qpidd --help
  Usage: qpidd [OPTIONS]
  
  Options:
  
    -h [ --help ]                               Displays the help message
    -v [ --version ]                            Displays version information
    --config FILE (/etc/qpidd.conf)             Reads configuration from FILE
    --client-config FILE (/etc/qpid/qpidc.conf) Reads client configuration from 
                                                FILE (for cluster interconnect)
  
  Module options:
    --module-dir DIR (/usr/lib/qpid/daemon)  Load all shareable modules in this 
                                            directory
    --load-module FILE                       Specifies additional module(s) to be
                                            loaded
    --no-module-dir                          Don't load modules from module 
                                            directory
  
  Broker Options:
    --data-dir DIR (/root/.qpidd)           Directory to contain persistent data 
                                            generated by the broker
    --no-data-dir                           Don't use a data directory.  No 
                                            persistent configuration will 
                                            be loaded or stored
    -p [ --port ] PORT (5672)               Tells the broker to listen on PORT
    ...
    --sasl-config DIR                       gets sasl config info from 
                                            nonstandard location




Version-Release number of selected component (if applicable):
qpid-0.14, qpid-0.18

How reproducible:
100%

Steps to Reproduce:
1. qpidd --help | grep sasl-config   (eventually) man qpidd
  
Actual results:
qpidd --sasl-config has default which is not listed in qpidd help / man pages.

Expected results:
qpidd --sasl-config has default which is listed in qpidd help / man pages.

Additional info:

Comment 1 mick 2013-04-20 04:17:23 UTC
Committed revision 1470104.

*** on trunk ***

Comment 2 mick 2013-04-30 01:11:22 UTC
Committed revision 1477435.
( note: rev from comment 1 was backed out. )

both build systems  (autotools and cmake) now put the sasl conf file in 
SYSCONFDIR/sasl2/qpidd.conf

and communicate that location to the code so it can be displayed in the 
qpidd --help output.

Comment 3 mick 2013-04-30 17:05:53 UTC
Committed revision 1477724.

Backed out all my previous changes and just changed the comment line that prints out for the --sasl-config flag.

Comment 4 Frantisek Reznicek 2013-07-10 13:45:05 UTC
The issue is reliably fixed, tested on RHEL 5.9 / 6.4 i[36]86 / x86_64 on packages:

qpid-proton-c-devel-0.4-2.2.el5
qpid-java-common-0.22-2.el5
qpid-tools-0.22-2.el5
qpid-cpp-server-0.22-5.el5
qpid-cpp-client-rdma-0.22-5.el5
ruby-qpid-qmf-0.22-4.el5
rh-qpid-cpp-tests-0.22-5.el5
qpid-cpp-server-ha-0.22-5.el5
qpid-cpp-client-0.22-5.el5
qpid-qmf-0.22-4.el5
qpid-cpp-client-devel-0.22-5.el5
qpid-jca-zip-0.18-8.el5
python-qpid-proton-doc-0.4-2.2.el5
qpid-proton-c-0.4-2.2.el5
python-qpid-proton-0.4-2.2.el5
python-qpid-0.22-2.el5
qpid-java-client-0.22-2.el5
qpid-tests-0.22-2.el5
qpid-cpp-server-rdma-0.22-5.el5
qpid-cpp-server-devel-0.22-5.el5
qpid-cpp-server-store-0.22-5.el5
qpid-cpp-mrg-debuginfo-0.22-5.el5
qpid-cpp-server-xml-0.22-5.el5
qpid-qmf-debuginfo-0.22-4.el5
qpid-jca-0.18-8.el5
qpid-jca-xarecovery-0.18-8.el5
qpid-proton-debuginfo-0.4-2.2.el5
qpid-java-example-0.22-2.el5
qpid-cpp-client-devel-docs-0.22-5.el5
qpid-cpp-client-ssl-0.22-5.el5
qpid-cpp-server-ssl-0.22-5.el5
qpid-qmf-devel-0.22-4.el5
python-qpid-qmf-0.22-4.el5

-> VERIFIED

Comment 5 errata-xmlrpc 2014-09-24 15:06:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1296.html