Do you also foolishly have /var/tmp symlinked to /tmp ?
I did. When I mount /var/tmp separately, the error disappears. Thanks.
]]>ExecStartPre=/usr/bin/mkdir -p /var/log/httpd
Now I am getting a "status=226/NAMESPACE" error. I am confused about what this error means. I do know that if I comment out "PrivateTmp=true" from the service file, the error goes away, but I suppose doing that defeats some security measure.
httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Sun 2013-01-27 12:27:07 EST; 8s ago
Process: 671 ExecStartPre=/usr/bin/mkdir -p /var/log/httpd (code=exited, status=226/NAMESPACE)
Main PID: 644 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/httpd.service
Jan 27 12:27:07 satellite systemd[1]: Starting Apache Web Server...
Jan 27 12:27:07 satellite systemd[1]: httpd.service: control process exited, code=exited status=226
Jan 27 12:27:07 satellite systemd[1]: Failed to start Apache Web Server.
Jan 27 12:27:07 satellite systemd[1]: Unit httpd.service entered failed state
Is there another way to create /var/log/httpd without disabling PrivateTmp?
]]>