[MXS-590] MaxScale doesn't log an error when .secrets file is not owned by current user Created: 2016-02-25  Updated: 2016-11-16  Resolved: 2016-11-10

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Bug Priority: Minor
Reporter: markus makela Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2016-21

 Description   

When the password keys are generated, the owner of the files is the user running maxkeys. No error about user is logged, only about file permissions.



 Comments   
Comment by Juan Valentín-Pastrana [ 2016-09-30 ]

$ sudo service maxscale start

should raise another error than

> maxscale[8748] Ignoring secrets file /var/lib/maxscale/.secrets, invalid permissions.

Rather "invalid owner"

Generated at Thu Feb 08 04:00:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.