Comment 7 for bug 1969369

Revision history for this message
Lena Voytek (lvoytek) wrote :

Verified the fix works through the following:

# lxc launch images:ubuntu/jammy test-jammy
# lxc exec test-jammy bash

# apt update && apt dist-upgrade -y

# apt install apport mysql-server software-properties-common

# ubuntu-bug mysql-server
V
- Under the my.cnf section the too many symbolic links error will be shown
C

# add-apt-repository ppa:lvoytek/mysql-8.0-fix-apport-my-cnf-kinetic

# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF

# apt update && apt upgrade -y

# export APPORT_DISABLE_DISTRO_CHECK=1

- Check default config
# ubuntu-bug mysql-server
V
- The my.cnf section will now show "MySQLConf.etc.mysql.my.cnf: my.cnf links to /etc/mysql/mysql.cnf"
C

- Check custom config
# rm /etc/mysql/my.cnf
# cp /etc/mysql/mysql.cnf /etc/mysql/my.cnf

# ubuntu-bug mysql-server
V
- The my.cnf section will now show the contents of the file
C