Hallo!
ich der Start von Maridb scheitert an AppArmor. Beim Start bekomme ich im Journal folgende Fehlermeldung
Dez 07 15:42:28 georg-Legion-Y520T-25IKL mysqld[25312]: 2019-12-07 15:42:28 0 [Note] /usr/sbin/mysqld (mysqld 10.3.20-MariaDB-1:10.3.20+maria~bionic-log) starting as process 25312 ... Dez 07 15:42:29 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:42:29 georg-Legion-Y520T-25IKL kernel: kauditd_printk_skb: 1 callbacks suppressed Dez 07 15:42:29 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729749.072:363): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:55 georg-Legion-Y520T-25IKL /usr/lib/gdm3/gdm-x-session[8055]: [11235:1:1207/154355.468746:ERROR:child_process_sandbox_support_impl_linux.cc(81)] FontService unique font name matching request did not receive a response. Dez 07 15:43:55 georg-Legion-Y520T-25IKL /usr/lib/gdm3/gdm-x-session[8055]: [11235:1:1207/154355.469145:ERROR:child_process_sandbox_support_impl_linux.cc(81)] FontService unique font name matching request did not receive a response. Dez 07 15:43:55 georg-Legion-Y520T-25IKL /usr/lib/gdm3/gdm-x-session[8055]: [11235:1:1207/154355.470333:ERROR:child_process_sandbox_support_impl_linux.cc(81)] FontService unique font name matching request did not receive a response. Dez 07 15:43:55 georg-Legion-Y520T-25IKL /usr/lib/gdm3/gdm-x-session[8055]: [11235:1:1207/154355.470910:ERROR:child_process_sandbox_support_impl_linux.cc(81)] FontService unique font name matching request did not receive a response. Dez 07 15:43:55 georg-Legion-Y520T-25IKL /usr/lib/gdm3/gdm-x-session[8055]: [25540:1:1207/154355.792021:ERROR:child_thread_impl.cc(864)] Receiver for unknown Channel-associated interface: chrome.mojom.SearchBouncer Dez 07 15:43:55 georg-Legion-Y520T-25IKL /usr/lib/gdm3/gdm-x-session[8055]: [11923:1:1207/154355.949854:ERROR:child_process_sandbox_support_impl_linux.cc(81)] FontService unique font name matching request did not receive a response. Dez 07 15:43:55 georg-Legion-Y520T-25IKL /usr/lib/gdm3/gdm-x-session[8055]: [11923:1:1207/154355.952735:ERROR:child_process_sandbox_support_impl_linux.cc(81)] FontService unique font name matching request did not receive a response. Dez 07 15:43:58 georg-Legion-Y520T-25IKL systemd[1]: mariadb.service: Start operation timed out. Terminating. Dez 07 15:43:58 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:58 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729838.494:364): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:58 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:58 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729838.578:365): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:58 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:58 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729838.678:366): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:58 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:58 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729838.778:367): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:58 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:58 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729838.878:368): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:58 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:58 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729838.978:369): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:59 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:59 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729839.006:370): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:59 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:59 georg-Legion-Y520T-25IKL audit[25312]: AVC apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysqld" requested_mask="w" denied_mask= Dez 07 15:43:59 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729839.590:371): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:59 georg-Legion-Y520T-25IKL kernel: audit: type=1400 audit(1575729839.590:372): apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/mysqld" name="run/systemd/notify" pid=25312 comm="mysql Dez 07 15:43:59 georg-Legion-Y520T-25IKL systemd[1]: mariadb.service: Failed with result 'timeout'. Dez 07 15:43:59 georg-Legion-Y520T-25IKL systemd[1]: Failed to start MariaDB 10.3.20 database server.
Testweise habe ich apparmor mal ausgeschalten, dennoch wird mariadb nicht gestartet. ich hatte auch versucht die Datei /etc/apparmor.d/local/usr.sbin.mysqld zu nach nach diesem Beitrag https://askubuntu.com/questions/916009/mysql-wont-start-because-of-apparmor zu editieren. Doch das hatte keinen Effekt. Das Thema ist doch nichts neues. Was muss ich machen, damit mariadb startet?
VG niesel