Can't enable MySQL tmpfs for temporary folder EasyEngine


#1

Hi there,

Today I try to create a tmpfs for temporary folder for my VPS by following this rtcamp.com tutorial. After I edited “usr.sbin.mysqld” it gives me following error. I think I have to put "/run/mysqld/tmp/ rwk, ** " within {} and specifying some MySQL location, but my “usr.sbin.mysqld” is an empty one. So how do I do it properly?

This is the error.

> Jan 24 00:15:23 myserver.com apparmor[2989]:  * Starting AppArmor profiles
> Jan 24 00:15:24 myserver.com apparmor[2989]: AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 18: syntax error,
> Jan 24 00:15:24 myserver.com apparmor[2989]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
> Jan 24 00:15:24 myserver.com apparmor[2989]: AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 18: syntax error,
> Jan 24 00:15:24 myserver.com apparmor[2989]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
> Jan 24 00:15:24 myserver.com apparmor[2989]:    ...fail!
> Jan 24 00:15:24 myserver.com systemd[1]: apparmor.service: Control process exited, code=exited status=123
> Jan 24 00:15:24 myserver.com systemd[1]: Failed to start LSB: AppArmor initialization.
> Jan 24 00:15:24 myserver.com systemd[1]: apparmor.service: Unit entered failed state.
> Jan 24 00:15:24 myserver.com systemd[1]: apparmor.service: Failed with result 'exit-code'.

#2