charmed-mysql.mysqld
fails to restart after machine is rebooted
#380
Labels
bug
Something isn't working
charmed-mysql.mysqld
fails to restart after machine is rebooted
#380
Steps to reproduce
Expected behavior
I expect the mysql unit to successfully come back to active status after the underlying machine is rebooted by the human operator using
systemctl reboot
orjuju-reboot
.Actual behavior
Versions
Operating system: Ubuntu 23.10
Juju CLI: 3.1.7-genericlinux-amd64
Juju agent: 3.1.6
Charm revision: 206
LXD: 5.19
Log output
Juju debug log:
Additional context
This reboot issue seems to originate from the
run-mysqlsh.sh
wrapper script in the charmed-mysql snap. The raised permission denied can be one of two reasons:snap_daemon
user cannot write to the /var/log/mysqlsh/mysqlsh.log file due to the incorrect permissions being set on the file.mysqlsh
, you could just potentially set the log file location to $SNAP_COMMON/var/log/mysqlsh/mysqlsh.log directly in the wrapper script.The text was updated successfully, but these errors were encountered: