Fedora 16 strange /tmp permissions: thesqld will not start

bugsfedoraMySQLsystemd

I installed mysql on a brand-new Fedora 16 server and it would not start. This is the line from the log file (^G and all):

^G/usr/libexec/mysqld: Can't create/write to file '/tmp/ibNPyIlu' (Errcode: 13)

I looked at /tmp/ and it has rather strange-looking permissions:

drwxrwxrwt.

Why the dot? chmod 1777 does not change anything. Is this responsible for the error? What's next?

Best Answer

This was a bug with mysqld starting with systemd when they made a change to use ServicesPrivateTmp for additional security. When you performed a yum update, the mysql package was updated to mysql-5.5.22-1.fc16 or greater which corrected the issue.

Related Question