[MXS-125] inconsistency in maxkeys/maxpassword output and parameters Created: 2015-05-06  Updated: 2015-06-16  Resolved: 2015-06-16

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.1.0
Fix Version/s: 1.2.0

Type: Bug Priority: Major
Reporter: Timofey Turenko Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

maxkeys and maxpasswd print unnecessary info:

Error log : /usr/local/mariadb-maxscale/log/error1.log
Message log : /usr/local/mariadb-maxscale/log/messages1.log
Trace log : /usr/local/mariadb-maxscale/log/trace2.log
Debug log : /usr/local/mariadb-maxscale/log/debug2.log

Also maxkeys has a parameter - filename for the file with crypto key, but maxpasswrd uses key file from default location (now it is /usr/local/mariadb-maxscale/etc/.secrets). So, maxkey parameters is useless without intruducing same parameter for maxpasswrd (is it really needed?). How will it work if we change default location of all maxscale components



 Comments   
Comment by markus makela [ 2015-05-08 ]

Removed the useless output about log files.

Comment by Timofey Turenko [ 2015-05-08 ]

what is the purpose to have parameter 'file' for maxkeys if it can't be used by maxpasswrd? maxpasswrd takes keys file from hard coded location.

Comment by Timofey Turenko [ 2015-05-13 ]

still not clear how to use maxkeys parameter: maxkeys can create file with keys anywhere, but maxpasswrd can use keys file only in standard location.
I suggest:

Comment by Dipti Joshi (Inactive) [ 2015-06-09 ]

markus makela Is there update on this to answer Timofey's comment above ?

Comment by markus makela [ 2015-06-09 ]

Not yet. It works as intended right now but that isn't the best way it could work.

Comment by markus makela [ 2015-06-16 ]

Merged fix into develop.

Comment by Dipti Joshi (Inactive) [ 2015-06-16 ]

markus makela Is there any configuration parameter update or guidance that needs to be reflected in documentation ? If yes, which document ?

Comment by markus makela [ 2015-06-16 ]

You can see the changes in the documentation at the start of the diff: https://github.com/mariadb-corporation/MaxScale/commit/466ee46d8263de83c0d6f512df63a94f37095626

Generated at Thu Feb 08 03:56:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.