[MXS-374] Maxscale is running under 'root' in Ubuntu/Debina Created: 2015-09-20  Updated: 2015-11-10  Resolved: 2015-09-22

Status: Closed
Project: MariaDB MaxScale
Component/s: StartupScripts
Affects Version/s: 1.2.1
Fix Version/s: 1.2.1

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

Issue Links:
Problem/Incident
causes MXS-464 Upgrade 1.2.0 to 1.2.1 blocking start... Closed

 Description   

/etc/init.d/maxscale for Debian/Ubuntu has broken line 48:

DAEMON_OPTS= --user=maxscale

/etc/init.d/maxscale: line 48: --user=maxscale: command not found

So, as result DAEMON_OPTS is not defined and Maxscale starts as a default user 'root'



 Comments   
Comment by markus makela [ 2015-09-22 ]

I've cherry-picked the commit from develop that fixes this.

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