Description of problem:
During my testing I made a mistake in configuration file of openhpid.
And when I tried start openhpid with this wrong configuration file it
writes that there is error. But after that is continuously writes down warnings and error massages. But as user I rather expect, if it just write the error or warning message and stop.
Version-Release number of selected component (if applicable):
openhpi-3.8.0
How reproducible:
100%
Steps to Reproduce:
make a mistake in /etc/openhpi/openhpi.conf
openhpid -n -c /etc/openhpi/openhpi.conf
Actual results:
openhpid: CRIT: conf.c:332: Processing handler: Expected string, integer, or float token.
openhpid: CRIT: conf.c:480: /etc/openhpi/openhpi.conf:2: error: unexpected character '\', expected "handle" or "domain".
openhpid: CRIT: plugin.c:465: Warning - no handlers
openhpid: CRIT: plugin.c:465: Warning - no handlers
openhpid: CRIT: threaded.c:83: Error on harvest of events.
openhpid: CRIT: plugin.c:465: Warning - no handlers
openhpid: CRIT: threaded.c:83: Error on harvest of events.
openhpid: CRIT: plugin.c:465: Warning - no handlers
openhpid: CRIT: threaded.c:83: Error on harvest of events.
openhpid: CRIT: plugin.c:465: Warning - no handlers
openhpid: CRIT: threaded.c:83: Error on harvest of events.
openhpid: CRIT: plugin.c:465: Warning - no handlers
...... again again again
Expected results:
openhpid: CRIT: conf.c:332: Processing handler: Expected string, integer, or float token.
openhpid: CRIT: conf.c:480: /etc/openhpi/openhpi.conf:2: error: unexpected character '\', expected "handle" or "domain".
Description of problem: During my testing I made a mistake in configuration file of openhpid. And when I tried start openhpid with this wrong configuration file it writes that there is error. But after that is continuously writes down warnings and error massages. But as user I rather expect, if it just write the error or warning message and stop.
Version-Release number of selected component (if applicable): openhpi-3.8.0
How reproducible: 100%
Steps to Reproduce:
openhpid -n -c /etc/openhpi/openhpi.conf
Actual results: openhpid: CRIT: conf.c:332: Processing handler: Expected string, integer, or float token. openhpid: CRIT: conf.c:480: /etc/openhpi/openhpi.conf:2: error: unexpected character '\', expected "handle" or "domain".
openhpid: CRIT: conf.c:480: /etc/openhpi/openhpi.conf:10: error: scanner: unterminated string constant.
openhpid: CRIT: plugin.c:465: Warning - no handlers openhpid: CRIT: plugin.c:465: Warning - no handlers openhpid: CRIT: threaded.c:83: Error on harvest of events. openhpid: CRIT: plugin.c:465: Warning - no handlers openhpid: CRIT: threaded.c:83: Error on harvest of events. openhpid: CRIT: plugin.c:465: Warning - no handlers openhpid: CRIT: threaded.c:83: Error on harvest of events. openhpid: CRIT: plugin.c:465: Warning - no handlers openhpid: CRIT: threaded.c:83: Error on harvest of events. openhpid: CRIT: plugin.c:465: Warning - no handlers ...... again again again
Expected results: openhpid: CRIT: conf.c:332: Processing handler: Expected string, integer, or float token. openhpid: CRIT: conf.c:480: /etc/openhpi/openhpi.conf:2: error: unexpected character '\', expected "handle" or "domain".
openhpid: CRIT: conf.c:480: /etc/openhpi/openhpi.conf:10: error: scanner: unterminated string constant.
openhpid: CRIT: plugin.c:465: Warning - no handlers openhpid: CRIT: threaded.c:83: Error on harvest of events. ...END