Closed ashu3103 closed 2 months ago
Shouldn't the check be against vault ?
Shouldn't the check be against vault ?
Hmm, I am not sure how it is related to vault
.
Cause I'm facing this issue with the main
@jesperpedersen, Shall we close this issue?
Working fine according to me
Bug Description
For the configuration
Warning is emitted :-
"Unknown key <tls> with value <on> in section [primry] (line %d of file <17>)"
Possible reasons
In
_apply_main_configuration
function,unknown
is well defined. so forprimary
sectionthe first call to
key_in_section
will return false but will makeunknown = true
because inkey_in_section
function (for the first call) --global will be true so code will go to else block and since
unknown
will always be true (well-defined),*unknown
will be set true.Solution
The last argument of
key_in_section
function should be NULL whereglobal
is true i.e. if the section is either[pgagroal]
or[pgagroal-vault]