Live/overlayfs apparmor DENIED open "upper/etc/mysql/conf.d" mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
mysql-5.7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This occurs when installing on an overlayfs, typically in the installer Try ... live environment when apparmor denies a read of the mysql configuration:
audit: type=1400 audit(154275542
this causes
/usr/share/
to fail and return exit code 1 when called during the POSTINST phase of package configuration.
----
I was installing mysql-server but error came.
I have zero knowledge about linux and ubuntu
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.24-
ProcVersionSign
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CasperVersion: 1.394
Date: Tue Nov 20 23:10:29 2018
ErrorMessage: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
LiveMediaBuild: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.24-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
summary: |
- package mysql-server-5.7 5.7.24-0ubuntu0.18.04.1 failed to - install/upgrade: installed mysql-server-5.7 package post-installation - script subprocess returned error exit status 1 + Live/overlayfs apparmor DENIED open "upper/etc/mysql/conf.d" mysql- + server-5.7 package post-installation script subprocess returned error + exit status 1 |
description: | updated |
Changed in mysql-5.7 (Ubuntu): | |
status: | New → Confirmed |
Thanks for this bug report. This is in my opinion more a casper (= live system) issue than an issue with the specific package providing the AppArmor profile, so I added a casper task.