puppetlabs-mysql icon indicating copy to clipboard operation
puppetlabs-mysql copied to clipboard

Setup broken after apt upgrade

Open aellert opened this issue 1 year ago • 0 comments

Describe the Bug

After upgrade mariadb-10.6 to minor version using apt on Ubuntu, my.cnf file (managed by puppet) is replaced by a symlink to /etc/mysql/mariadb.cnf. Force execution with puppet agent -t doesn't remove the symlink to force replace with the file my.cnf. Result is a broken setup. We then need to restore originial my.cnf file to start mysql.

Expected Behavior

my.cnf should be a file and content managed by Puppet even if a symlink exists for my.cnf.

Steps to Reproduce

Install Ubuntu 20.04 or 22.04, setup mariadb repo 10.6.

Environment

  • Platform Ubuntu 20.04 / 22.04
  • Packages : https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu

Additional Context

n/a

aellert avatar Dec 13 '24 20:12 aellert