Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.2.0
-
None
Description
MaxScale 1.2 provides a new option to avoid running as the root user.
However, this does not seem to be executed properly.
In linux I have monitoring scripts which check /proc/<maxscale_pid>/fd/ for the number of descriptors being used. (There was a bug where there was a file descriptor leak some time ago.) and now this fails as the file descriptors and /proc/<maxscale_pid>/fd directory is not owned by maxscale and neither are the descriptor files under /proc/<maxscale_pid>/fd/.
My guess is that the complete process of changing user has not been followed and this needs tidying up so it's probably reasonably straight forward to do. i'll include some information on how to reproduce this in a further comment.