On 2015-04-04 14:51, Richard Pieri wrote:
My take is that tmpfiles.d is a poorly-conceived workaround for poorly-written programs. /var/run isn't supposed to be persistent. In principle it should be empty when the kernel starts because there are no running processes other than kernel threads at that point in the startup sequence.
that's fine but here $ ls -ld /var/run drwxr-xr-x. 26 root root 4096 Apr 4 04:29 /var/run/var/run is not mode 777. So what's "poorly-written" about those programs is they're not running as root: back when they were they wouldn't've had a problem creating files in /var/run. Now that everything and their pet has its own uid the standard unix permission bits are "poorly written".
And you need to make sure cluster processes get the same uid on all nodes. Without using a directory service.
Dimitri