On Debian systems mysql_install_db may change file permissions when upgrade
Bug #735423 reported by
Aleksandr Kuzminsky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Undecided
|
Aleksandr Kuzminsky |
Bug Description
When upgrading percona-
I may create bin-log files if they were enabled in my.cnf before.
If there is no "user=mysql" option in [mysqld] section, the bin-logs are owned by root.
However when MySQL is started by mysql.server (e.g. /etc/init.d/mysql) group [mysql.server] is processed where "user=mysql" may be specified.
Root owner of the log files prevents mysqld to start. It can't read the last log due to "permission denied" error.
Related branches
lp:~percona-dev/percona-server/bugfix735423
- Ignacio Nin (community): Approve
- Percona developers: Pending requested
-
Diff: 28 lines (+7/-4)1 file modifiedbuild/debian/percona-server-server-5.1.postinst (+7/-4)
Changed in percona-server: | |
status: | New → Fix Committed |
To post a comment you must log in.
By the way, chown -R mysql $mysql_statedir is not processed when $mysql_statedir is a symlink