"Private /tmp is just like a good idea... it worked for me, it is more safe, so let's redistribute to every unix-man in the world that expects /tmp is /tmp since 1970..." What do you get? Explosion, destruction and your body on fire.
I am trying to disable private /tmp on Debian 9, so I followed the instructions from this site:
https://www.maxoberberger.net/blog/2017/10/debian-9-private-tmp.html
It seems pretty nice, but it is not, and it is causing some heartache.
When I tried to disable by creating an override file on /etc/systemd/system/apache2.service, systemd seems to ignore me completely.
I need to edit the file directly in:
/lib/systemd/system/apache2.service
That works, but that is not really a good idea specially if you upgrade your system! Today, unattended-upgrade ran and everything is broken because of private tmp; then I needed to re-disable it again. We use a web system that communicates with another old system that runs on the console ... it communicates via tmp.
What I am doing wrong? Should I restart the server?