[debian-mysql] Bug#920643: mariadb-server-10.3: mariadb won't start when running inside an lxc container when running on debian testing
Matthew Darwin
bugs at mdarwin.ca
Sun Jan 27 19:35:17 GMT 2019
Package: mariadb-server-10.3
Version: 1:10.3.12-2
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
Upgrade to latest mariadb package on debian testing; within lxc continer. Previous package was working fine...
on the container with the database:
Jan 27 14:17:42 db systemd[1]: Starting MariaDB 10.3.12 database server...
Jan 27 14:17:42 db systemd[278]: mariadb.service: Failed to set up mount namespacing: Permission denied
Jan 27 14:17:42 db systemd[278]: mariadb.service: Failed at step NAMESPACE spawning /usr/bin/install: Permission denied
on the host:
(not sure if it is 100% related)
Jan 27 14:16:21 server1 kernel: [ 23.841650] audit: type=1400 audit(1548616581.737:21): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default-cgns" name="/" pid=1423 comm="(rm)" flags="rw, rslave"
See possibly related: https://github.com/lxc/lxc/pull/2758
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mariadb-server-10.3 depends on:
ii adduser 3.118
ii debconf [debconf-2.0] 1.5.70
ii galera-3 25.3.23-1
ii gawk 1:4.2.1+dfsg-1
ii iproute2 4.20.0-2
ii libc6 2.28-5
ii libdbi-perl 1.642-1+b1
ii libpam0g 1.1.8-4
ii libssl1.1 1.1.1a-1
ii libstdc++6 8.2.0-14
ii lsb-base 10.2018112800
ii lsof 4.91+dfsg-1
ii mariadb-client-10.3 1:10.3.12-2
ii mariadb-common 1:10.3.12-2
ii mariadb-server-core-10.3 1:10.3.12-2
ii passwd 1:4.5-1.1
ii perl 5.28.1-3
ii psmisc 23.2-1
ii rsync 3.1.3-2
ii socat 1.7.3.2-2
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages mariadb-server-10.3 recommends:
ii libhtml-template-perl 2.97-1
Versions of packages mariadb-server-10.3 suggests:
pn mailx <none>
pn mariadb-test <none>
pn netcat-openbsd <none>
pn tinyca <none>
-- debconf information excluded
More information about the pkg-mysql-maint
mailing list