Percona Server with XtraDB

Server Defaults to root and no sysconfig

Reported by Robert Gil on 2012-03-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Undecided
Ignacio Nin

Bug Description

The RPM packages default the percona mysql user to root. I understand why this is done, but it is not secure. The default user should be mysql, or some other user not to conflict with the OS (fedora/centos/rhel etc).

The typical way to handle this is with an /etc/sysconfig/mysql (or percona) file. Configuration options should be set in here, not the init.d file. The init.d file should just have defaults, but should be able to be overridden in the /etc/sysconfig/mysql file. Also, this file should be marked as a config file in the rpm such that it doesnt get blown away during upgrade etc. Typically the init.d file will get blown away/upgraded when doing an rpm update, so any such configuration options in this file will be lost.

Thanks,
Rob

Changed in percona-server:
assignee: nobody → Ignacio Nin (ignacio-nin)
Ignacio Nin (ignacio-nin) wrote :

Hello Rob,

I just checked our packages and the default user that the server runs the mysqld program with is mysql. Perhaps I'm not understanding the issue, could you please elaborate?

Thanks,

Ignacio.

Stewart Smith (stewart) on 2012-06-13
Changed in percona-server:
status: New → Incomplete
Stewart Smith (stewart) on 2012-06-14
security vulnerability: yes → no
visibility: private → public
Changed in percona-server:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers