← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1863318] Re: mysql-server-5.7.postinst races daemon start with mysql_upgrade

 

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

Hans' race seems valid. I don't think it's necessarily the case that
Maris had exactly the same problem. There's not enough detail in the
logs to determine that for sure. But to make progress, I think it's OK
to assume this is the case.

As Lars said, this is fixed in 18.04 onwards. I don't think a fix to
16.04 is warranted due to the regression risk. The workaround for anyone
affected was described by Hans in comment 3.

If anyone disagrees, please start by addressing Lars' concern in comment
4 with a specific patch.

** Changed in: mysql-5.7 (Ubuntu)
       Status: New => Fix Released

** Also affects: mysql-5.7 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: mysql-5.7 (Ubuntu Xenial)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1863318

Title:
  mysql-server-5.7.postinst races daemon start with mysql_upgrade

Status in mysql-5.7 package in Ubuntu:
  Fix Released
Status in mysql-5.7 source package in Xenial:
  Won't Fix

Bug description:
  Same error message as in older 5.7.x. This is on 5.7.29

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: mysql-server-5.7 5.7.29-0ubuntu0.16.04.1
  ProcVersionSignature: Ubuntu 4.15.0-76.86~16.04.1-generic 4.15.18
  Uname: Linux 4.15.0-76-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.21
  Architecture: amd64
  Date: Fri Feb 14 18:10:29 2020
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-11-01 (835 days ago)
  InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
  Logs.var.log.daemon.log:
   
  MySQLConf.etc.mysql.conf.d.mysql.cnf: 
  MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
   [mysqldump]
   quick
   quote-names
   max_allowed_packet	= 16M
  MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
   [mysqld_safe]
   syslog
  MySQLVarLibDirListing: ['ntwine', 'private_key.pem', 'client-cert.pem', 'test12062', 'sys', 'debian-5.7.flag', 'ib_buffer_pool', 'ca.pem', 'ib_logfile0', 'ibdata1', 'mysql_upgrade_info', 'server-cert.pem', 'test7728', 'ib_logfile1', 'auto.cnf', 'performance_schema', 'public_key.pem', 'session', 'mysql', 'ca-key.pem', 'client-key.pem', 'server-key.pem']
  ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-76-generic root=UUID=326a67ad-0b90-46ba-9f18-3f1e7f52ca4a ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.4
   apt  1.2.29ubuntu0.1
  SourcePackage: mysql-5.7
  Title: package mysql-server-5.7 5.7.29-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  upstart.mysql.override: manual

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1863318/+subscriptions