Merge ~paride/ubuntu/+source/mysql-8.0:lp1882527-sru-focal into ubuntu/+source/mysql-8.0:ubuntu/focal-devel

Proposed by Paride Legovini
Status: Merged
Approved by: Utkarsh Gupta
Approved revision: c7d4feb08a3194fb69c555460bcec8b5a711af67
Merged at revision: c7d4feb08a3194fb69c555460bcec8b5a711af67
Proposed branch: ~paride/ubuntu/+source/mysql-8.0:lp1882527-sru-focal
Merge into: ubuntu/+source/mysql-8.0:ubuntu/focal-devel
Diff against target: 30 lines (+10/-1)
2 files modified
debian/changelog (+9/-0)
debian/mysql-server-8.0.mysql.service (+1/-1)
Reviewer Review Type Date Requested Status
Utkarsh Gupta (community) Approve
Canonical Server Core Reviewers Pending
Canonical Server Pending
Review via email: mp+407447@code.launchpad.net

Commit message

No-change backport of the fix for LP: #1882527 released with mysql-8.0 8.0.22-1 (in >=Hirsute) to Focal.

Test PPA: https://launchpad.net/~paride/+archive/ubuntu/mysql-lp1882527

Test plan: see https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1882527

Please review & sponsor!

--- Test results ---

# time systemctl start mysql
real 18m4.712s
user 0m0.015s
sys 0m0.009s

# systemctl is-active mysql
active

--- Autopkgtest results ---

autopkgtest [13:02:02]: @@@@@@@@@@@@@@@@@@@@ summary
smoke PASS
upstream PASS

To post a comment you must log in.
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Thanks, I'll take a look at this.

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Thanks, Paride. This looks good. Sponsored:

$ dput ubuntu ../mysql-8.0_8.0.26-0ubuntu0.20.04.3_source.changes
Checking signature on .changes
gpg: ../mysql-8.0_8.0.26-0ubuntu0.20.04.3_source.changes: Valid signature from 823E967606C34B96
Checking signature on .dsc
gpg: ../mysql-8.0_8.0.26-0ubuntu0.20.04.3.dsc: Valid signature from 823E967606C34B96
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading mysql-8.0_8.0.26-0ubuntu0.20.04.3.dsc: done.
  Uploading mysql-8.0_8.0.26.orig.tar.gz: done.
  Uploading mysql-8.0_8.0.26-0ubuntu0.20.04.3.debian.tar.xz: done.
  Uploading mysql-8.0_8.0.26-0ubuntu0.20.04.3_source.buildinfo: done.
  Uploading mysql-8.0_8.0.26-0ubuntu0.20.04.3_source.changes: done.
Successfully uploaded packages.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index e9f70c3..22e087a 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+mysql-8.0 (8.0.26-0ubuntu0.20.04.3) focal; urgency=medium
7+
8+ * d/systemd: Disable service timeout
9+ For large databases, the service could timeout on stop, possibly
10+ leading to data corruption during a system shutdown.
11+ (LP: #1882527)
12+
13+ -- Paride Legovini <paride@ubuntu.com> Thu, 19 Aug 2021 15:32:33 +0200
14+
15 mysql-8.0 (8.0.26-0ubuntu0.20.04.2) focal-security; urgency=medium
16
17 * SECURITY UPDATE: Update to 8.0.26 to fix security issues
18diff --git a/debian/mysql-server-8.0.mysql.service b/debian/mysql-server-8.0.mysql.service
19index bed26c3..ee8ac80 100644
20--- a/debian/mysql-server-8.0.mysql.service
21+++ b/debian/mysql-server-8.0.mysql.service
22@@ -15,7 +15,7 @@ PIDFile=/run/mysqld/mysqld.pid
23 PermissionsStartOnly=true
24 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre
25 ExecStart=/usr/sbin/mysqld
26-TimeoutSec=600
27+TimeoutSec=infinity
28 Restart=on-failure
29 RuntimeDirectory=mysqld
30 RuntimeDirectoryMode=755

Subscribers

People subscribed via source and target branches