mysqld DENIED audit messages for /proc/sys/kernel/random/boot_id (apparmor)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
It seems that mysqld tries to access /proc/sys/
May 18 20:56:21 quak kernel: [555114.509781] audit: type=1400 audit(158982818
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mysql-server 8.0.20-
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
Date: Mon May 18 20:49:04 2020
Logs.var.
MySQLConf.
MySQLConf.
[mysqld_safe]
syslog
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_CH.UTF-8
SHELL=/bin/bash
SourcePackage: mysql-8.0
UpgradeStatus: Upgraded to focal on 2020-05-12 (6 days ago)
Changed in mysql-8.0 (Ubuntu): | |
status: | New → Confirmed |
As the log actually states, the problem was that another instance of mysqld was using the port:
Can't start server: Bind on TCP/IP port: Address already in use
I am still leaving this issue open as the appamore DENIED operation might be something which should be fixed in the apparmor profile.