Hallo Liste Nach dem letzten Update (openSUSE 13.2) startet MariaDB nicht mehr. Es wird angemeckert, dass irgendwelche Rechte für ein temporäres Verzeichnis beim Upgrade der MySQL Datenbanken fehlen oder nicht gewährt werden. Normalerweise nutzte ich für /tmp und /var/tmp tmpfs, aber auch als normales Verzeichnis geht hier nicht. AppArmor, SELinux oder anderes in der Art ist nicht aktiv. Log: mysql-systemd-helper: Checking MySQL configuration for obsolete options... Log: mysql-systemd-helper: Trying to run upgrade of MySQL databases... Log: mysql-systemd-helper: Can't secure tmp dir '/var/tmp/mysql- protected.kynDSc' ~ # l /var/tmp/ drwxrwxrwt 5 root root 100 26. Jun 21:02 ./ drwxr-xr-x 1 root root 188 28. Dez 12:32 ../ drwx------ 2 mysql mysql 40 26. Jun 20:17 mysql-protected.kynDSc/ ~ # rpm -qa "mariadb" mariadb-10.1.5-5.1.x86_64 Starte ich MariaDB wie in mysql.service angeben mit "/usr/lib/mysql/mysql- systemd-helper upgrade default" erhalte ich obige Fehler. Nehme ich statt "upgrade" dagegen "start", so läuft die Datenbank. strace liefert mir einen Fehler bei chmod. stat("/root/perl5/bin/chmod", 0x7ffc9f9f68a0) = -1 ENOENT (No such file or directory) stat("/usr/lib64/mpi/gcc/openmpi/bin/chmod", 0x7ffc9f9f68a0) = -1 ENOENT (No such file or directory) stat("/sbin/chmod", 0x7ffc9f9f68a0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/chmod", 0x7ffc9f9f68a0) = -1 ENOENT (No such file or directory) stat("/usr/local/sbin/chmod", 0x7ffc9f9f68a0) = -1 ENOENT (No such file or directory) stat("/root/bin/chmod", 0x7ffc9f9f68a0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/chmod", 0x7ffc9f9f68a0) = -1 ENOENT (No such file or directory) stat("/usr/bin/chmod", {st_mode=S_IFREG|0755, st_size=56192, ...}) = 0 stat("/usr/bin/chmod", {st_mode=S_IFREG|0755, st_size=56192, ...}) = 0 geteuid() = 0 getegid() = 0 getuid() = 0 getgid() = 0 access("/usr/bin/chmod", X_OK) = 0 stat("/usr/bin/chmod", {st_mode=S_IFREG|0755, st_size=56192, ...}) = 0 geteuid() = 0 getegid() = 0 getuid() = 0 getgid() = 0 access("/usr/bin/chmod", R_OK) = 0 stat("/usr/bin/chmod", {st_mode=S_IFREG|0755, st_size=56192, ...}) = 0 stat("/usr/bin/chmod", {st_mode=S_IFREG|0755, st_size=56192, ...}) = 0 geteuid() = 0 getegid() = 0 getuid() = 0 getgid() = 0 access("/usr/bin/chmod", X_OK) = 0 stat("/usr/bin/chmod", {st_mode=S_IFREG|0755, st_size=56192, ...}) = 0 geteuid() = 0 getegid() = 0 getuid() = 0 getgid() = 0 access("/usr/bin/chmod", R_OK) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc8adabe9d0) = 16871 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x42a33e, [], SA_RESTORER, 0x7fc8acece200}, {SIG_DFL, [], SA_RESTORER, 0x7fc8acece200}, 8) = 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16871 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fc8acece200}, {0x42a33e, [], SA_RESTORER, 0x7fc8acece200}, 8) = 0 ioctl(2, TIOCGWINSZ, {ws_row=69, ws_col=271, ws_xpixel=0, ws_ypixel=0}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16871, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, 0x7ffc9f9f6500, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc8adabe9d0) = 16872 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x42b77c, [], SA_RESTORER|SA_RESTART, 0x7fc8acece200}, {0x42b77c, [], SA_RESTORER|SA_RESTART, 0x7fc8acece200}, 8) = 0 close(4) = 0 read(3, "", 128) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16872, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 16872 wait4(-1, 0x7ffc9f9f6280, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x42a33e, [], SA_RESTORER, 0x7fc8acece200}, {SIG_DFL, [], SA_RESTORER, 0x7fc8acece200}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fc8acece200}, {0x42a33e, [], SA_RESTORER, 0x7fc8acece200}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 write(1, "Can't secure tmp dir '/var/tmp/m"..., 55Can't secure tmp dir '/var/tmp/mysql-protected.I8OGPN' ) = 55 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 exit_group(1) = ? +++ exited with 1 +++ Was läuft da schief? Im Moment habe ich das mit dem Upgrade der Datenbank auskommentiert. Grüße Udo -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org