Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.14
-
None
-
systemd
Description
The multi-instance version of systemd has the following lines which incorrectly place
defaults options after other options.
ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER --defaults-file=@INSTALL_SYSCONF2DIR@/my%I.cnf
|
# Alternate: (remove ConditionPathExists above)
|
# use [mysqld.INSTANCENAME] as sections in my.cnf
|
#
|
# ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS --defaults-group-suffix=%I
|
How to repeat:
- sudo systemctl set-environment MYSQLD_OPTS="--general_log=1"
- sudo systemctl start mariadb@_node1
May 27 10:08:54 debian-jessie-amd64 mysqld[3611]: 2016-05-27 10:08:54 140556653737920 [ERROR] /usr/sbin/mysqld: unknown variable 'defaults-file=/etc/mysql/conf.d/my_node1.cnf'
|
May 27 10:08:54 debian-jessie-amd64 mysqld[3611]: 2016-05-27 10:08:54 140556653737920 [ERROR] Aborting
|
Attachments
Issue Links
- links to