2022-04-15 21:39:06 |
Lena Voytek |
bug |
|
|
added bug |
2022-04-15 22:02:51 |
Lena Voytek |
summary |
mysql-server install crashes after installing mysql-common and libmysqlclient21 first |
mysql-server install crashes in LXD container |
|
2022-04-15 22:04:15 |
Lena Voytek |
description |
I came across this error when testing various mysql setups in an LXD container and managed to reproduce it consistently. I'm unable to reproduce on Ubuntu desktop or server though since the prerequisites are probably handled properly there. This bug does not seem urgent but the report may help me categorize it if it comes up again later.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.28-0ubuntu0.20.04.3
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.23
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Apr 15 21:31:09 2022
Dmesg:
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
KernLog:
Logs.var.log.daemon.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: ['ibdata1', 'ib_logfile0', '#innodb_temp', 'debian-5.7.flag', '#ib_16384_0.dblwr', 'client-cert.pem', 'undo_001', 'server-cert.pem', 'mysql.ibd', '#ib_16384_1.dblwr', 'client-key.pem', 'ca-key.pem', 'sys', 'private_key.pem', 'mysql', 'undo_002', 'binlog.index', 'performance_schema', 'ib_buffer_pool', 'auto.cnf', 'ib_logfile1', 'public_key.pem', 'ca.pem', 'server-key.pem']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-25-generic root=UUID=93666562-b5e4-4fb4-ba8c-7b42a3e6bf61 ro quiet splash mem_sleep_default=deep 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) |
I came across this error when testing various mysql setups in an LXD container and managed to reproduce it consistently. I'm unable to reproduce on Ubuntu desktop or server though since the prerequisites are probably handled properly there.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.28-0ubuntu0.20.04.3
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.23
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Apr 15 21:31:09 2022
Dmesg:
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
KernLog:
Logs.var.log.daemon.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: ['ibdata1', 'ib_logfile0', '#innodb_temp', 'debian-5.7.flag', '#ib_16384_0.dblwr', 'client-cert.pem', 'undo_001', 'server-cert.pem', 'mysql.ibd', '#ib_16384_1.dblwr', 'client-key.pem', 'ca-key.pem', 'sys', 'private_key.pem', 'mysql', 'undo_002', 'binlog.index', 'performance_schema', 'ib_buffer_pool', 'auto.cnf', 'ib_logfile1', 'public_key.pem', 'ca.pem', 'server-key.pem']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-25-generic root=UUID=93666562-b5e4-4fb4-ba8c-7b42a3e6bf61 ro quiet splash mem_sleep_default=deep 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) |
|
2022-04-18 16:43:10 |
Lena Voytek |
summary |
mysql-server install crashes in LXD container |
mysql-server install crashes in LXD container on Jammy host |
|
2022-04-18 16:51:03 |
Lena Voytek |
mysql-8.0 (Ubuntu): status |
New |
Confirmed |
|
2022-04-18 16:51:05 |
Lena Voytek |
mysql-8.0 (Ubuntu): assignee |
|
Lena Voytek (lvoytek) |
|
2022-04-18 16:51:17 |
Lena Voytek |
bug |
|
|
added subscriber Ubuntu Server |
2022-04-18 17:00:52 |
Andreas Hasenack |
bug |
|
|
added subscriber Andreas Hasenack |
2022-04-18 17:34:53 |
Sergio Durigan Junior |
bug |
|
|
added subscriber Sergio Durigan Junior |
2022-04-18 17:43:27 |
Andreas Hasenack |
bug watch added |
|
https://github.com/openzfs/zfs/issues/326 |
|
2022-04-18 17:43:28 |
Lena Voytek |
bug task added |
|
zfs-linux (Ubuntu) |
|
2022-04-18 18:34:55 |
Lena Voytek |
mysql-8.0 (Ubuntu): status |
Confirmed |
Invalid |
|
2022-04-18 18:34:58 |
Lena Voytek |
mysql-8.0 (Ubuntu): assignee |
Lena Voytek (lvoytek) |
|
|
2022-04-18 18:35:02 |
Lena Voytek |
zfs-linux (Ubuntu): status |
New |
Confirmed |
|
2022-04-18 18:36:57 |
Lena Voytek |
summary |
mysql-server install crashes in LXD container on Jammy host |
fallocate produces zero-size files on zfs in Jammy |
|
2022-04-18 18:41:00 |
Heitor Alves de Siqueira |
bug |
|
|
added subscriber Heitor Alves de Siqueira |
2022-04-18 18:52:50 |
Lena Voytek |
summary |
fallocate produces zero-size files on zfs in Jammy |
fallocate with FALLOC_FL_ZERO_RANGE produces zero-size files on zfs in Jammy |
|
2022-04-18 18:53:26 |
Lena Voytek |
description |
I came across this error when testing various mysql setups in an LXD container and managed to reproduce it consistently. I'm unable to reproduce on Ubuntu desktop or server though since the prerequisites are probably handled properly there.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.28-0ubuntu0.20.04.3
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.23
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Apr 15 21:31:09 2022
Dmesg:
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
KernLog:
Logs.var.log.daemon.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: ['ibdata1', 'ib_logfile0', '#innodb_temp', 'debian-5.7.flag', '#ib_16384_0.dblwr', 'client-cert.pem', 'undo_001', 'server-cert.pem', 'mysql.ibd', '#ib_16384_1.dblwr', 'client-key.pem', 'ca-key.pem', 'sys', 'private_key.pem', 'mysql', 'undo_002', 'binlog.index', 'performance_schema', 'ib_buffer_pool', 'auto.cnf', 'ib_logfile1', 'public_key.pem', 'ca.pem', 'server-key.pem']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-25-generic root=UUID=93666562-b5e4-4fb4-ba8c-7b42a3e6bf61 ro quiet splash mem_sleep_default=deep 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) |
[Summary]
When running Jammy on zfs or LXD with a zfs pool on a Jammy host, fallocate creates a zero-sized file.
The issue was originally found when installing mysql on LXD, where fallocate would create a zero-sized ib_logfile1 file. The original information in this bug is based on that.
[Steps to Reproduce]
touch foo.img
fallocate -z -l 10M foo.img
ls -la foo.img
On a non-zfs Jammy system this will show something like:
-rw-r--r-- 1 root root 10M ...
while on zfs it will show:
-rw-rw-r-- 1 root root 0 ...
[Original Description]
I came across this error when testing various mysql setups in an LXD container and managed to reproduce it consistently. I'm unable to reproduce on Ubuntu desktop or server though since the prerequisites are probably handled properly there.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.28-0ubuntu0.20.04.3
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.23
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Apr 15 21:31:09 2022
Dmesg:
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
KernLog:
Logs.var.log.daemon.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: ['ibdata1', 'ib_logfile0', '#innodb_temp', 'debian-5.7.flag', '#ib_16384_0.dblwr', 'client-cert.pem', 'undo_001', 'server-cert.pem', 'mysql.ibd', '#ib_16384_1.dblwr', 'client-key.pem', 'ca-key.pem', 'sys', 'private_key.pem', 'mysql', 'undo_002', 'binlog.index', 'performance_schema', 'ib_buffer_pool', 'auto.cnf', 'ib_logfile1', 'public_key.pem', 'ca.pem', 'server-key.pem']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-25-generic root=UUID=93666562-b5e4-4fb4-ba8c-7b42a3e6bf61 ro quiet splash mem_sleep_default=deep 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) |
|
2022-04-18 18:56:32 |
Lena Voytek |
bug watch added |
|
https://github.com/openzfs/zfs/issues/13329 |
|
2022-04-18 18:56:32 |
Lena Voytek |
bug task added |
|
zfs |
|
2022-04-18 20:05:55 |
Bug Watch Updater |
zfs: status |
Unknown |
New |
|
2022-04-19 10:43:46 |
Dimitri John Ledkov |
mysql-8.0 (Ubuntu): status |
Invalid |
Triaged |
|
2022-04-19 10:43:51 |
Dimitri John Ledkov |
zfs-linux (Ubuntu): importance |
Undecided |
Wishlist |
|
2022-04-19 14:12:03 |
Dimitri John Ledkov |
zfs-linux (Ubuntu): status |
Confirmed |
Triaged |
|
2022-04-19 14:12:06 |
Dimitri John Ledkov |
zfs-linux (Ubuntu): importance |
Wishlist |
High |
|
2022-04-19 15:13:14 |
Dimitri John Ledkov |
mysql-8.0 (Ubuntu): status |
Triaged |
Invalid |
|
2022-04-20 11:25:50 |
Marcos Alano |
bug |
|
|
added subscriber Marcos Alano |
2022-04-21 23:11:07 |
Bug Watch Updater |
zfs: status |
New |
Fix Released |
|
2022-04-22 10:27:22 |
andrum99 |
bug |
|
|
added subscriber andrum99 |
2022-04-25 12:09:19 |
Robie Basak |
bug |
|
|
added subscriber Robie Basak |
2022-04-26 00:01:16 |
Dimitri John Ledkov |
zfs-linux (Ubuntu): status |
Triaged |
In Progress |
|
2022-04-26 00:01:22 |
Dimitri John Ledkov |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-04-28 09:47:54 |
Andy Whitcroft |
zfs-linux (Ubuntu Jammy): status |
New |
Fix Committed |
|
2022-04-28 09:47:58 |
Andy Whitcroft |
bug |
|
|
added subscriber SRU Verification |
2022-04-29 20:47:51 |
Launchpad Janitor |
zfs-linux (Ubuntu): status |
In Progress |
Fix Released |
|
2022-05-10 14:44:19 |
Lena Voytek |
tags |
amd64 apport-package focal |
amd64 apport-package focal verification-done-jammy |
|
2022-05-15 14:43:52 |
KaMZaTa |
bug |
|
|
added subscriber KaMZaTa |
2022-05-23 16:37:30 |
Lena Voytek |
tags |
amd64 apport-package focal verification-done-jammy |
amd64 apport-package focal verification-failed-jammy |
|
2022-05-23 17:53:56 |
Lena Voytek |
tags |
amd64 apport-package focal verification-failed-jammy |
amd64 apport-package focal verification-done-jammy |
|
2022-05-24 00:01:50 |
Simon Déziel |
bug |
|
|
added subscriber Simon Déziel |
2022-05-27 08:00:16 |
Kay |
bug |
|
|
added subscriber Kay |
2022-06-03 09:23:51 |
Ralph Weichert |
bug |
|
|
added subscriber Ralph Weichert |
2022-06-28 19:43:31 |
Launchpad Janitor |
zfs-linux (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2022-06-28 19:43:38 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2022-07-29 18:48:22 |
Vasya Pupkin |
bug watch added |
|
http://bugs.mysql.com/bug.php?id=108012 |
|
2022-08-09 15:36:44 |
Martin Richtarsky |
bug |
|
|
added subscriber Martin Richtarsky |