package mysql-server-8.0 8.0.28-0ubuntu0.20.04.3 failed to install/upgrade: circular symlink to configuration file

Bug #1960469 reported by Divyam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

this is not working.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.28-0ubuntu0.20.04.3
ProcVersionSignature: Ubuntu 5.13.0-28.31~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
AptOrdering:
 mysql-server-8.0:amd64: Install
 mysql-server-core-8.0:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sat Feb 5 10:55:56 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-10-31 (101 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Logs.var.log.daemon.log:

Logs.var.log.mysql.error.log:
MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLConf.etc.mysql.my.cnf: Error: [Errno 40] Too many levels of symbolic links: '/etc/mysql/my.cnf'
MySQLVarLibDirListing: ['client-key.pem', 'server-key.pem', 'ca-key.pem', 'debian-5.7.flag', 'ca.pem', '#ib_16384_1.dblwr', 'undo_002', 'performance_schema', '#innodb_temp', 'undo_001', 'client-cert.pem', 'binlog.000023', 'binlog.000024', 'mysql_upgrade_info', 'ib_buffer_pool', 'mysql.ibd', 'bms', 'ibdata1', 'ib_logfile0', 'University', 'binlog.index', 'public_key.pem', 'private_key.pem', '#ib_16384_0.dblwr', 'ib_logfile1', 'binlog.000025', 'mysql', 'auto.cnf', 'javabase', 'server-cert.pem', 'sys']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.13.0-28-generic root=UUID=ef05cef7-7172-48bd-af5a-71bda43e4463 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.6
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.28-0ubuntu0.20.04.3 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Divyam (divym2101) wrote :
information type: Private Security → Public
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hello,

Thank you for taking the time to report this bug and helping to make Ubuntu better.

While the symptom is similar to the one observed in https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1899248, I see an additional error in your logs:

 MySQLConf.etc.mysql.my.cnf: Error: [Errno 40] Too many levels of symbolic links: '/etc/mysql/my.cnf'

It seems the service needs a restart, but it cannot perform one due to a circular symlink for your configuration file at /etc/mysql/my.cnf.

Could you confirm that this configuration file is an actual circular symbolic link?

Would you mind providing more information on your configuration setup? Namely, it would be interesting to understand how that file turned out to become a circular symlink.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

summary: package mysql-server-8.0 8.0.28-0ubuntu0.20.04.3 failed to
- install/upgrade: installed mysql-server-8.0 package post-installation
- script subprocess returned error exit status 1
+ install/upgrade: circular symlink to configuration file
Changed in mysql-8.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-8.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-8.0 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.