HomeClusterLabs Projects
Diffusion LibQB dfa7874154cf

lib: create mmap files in socket directory

Description

lib: create mmap files in socket directory

Currently the mmap files are created in LOCALSTATEDIR/run on non-Linux
platforms which can be problematic with pacemaker since it spawns processes
as the hacluster user, which by default doesn't have write permissions to
it. Using --with-socket-dir partially fixes the problem by allowing the
unix sockets to reside somewhere else but not the mmap files and this
patch puts them in the same directory.

Details

Provenance
David Shane Holden <dpejesh@yahoo.com>Authored on Jan 18 2016, 5:24 PM
Parents
rQ29b2c44fb604: ipc: set file permissions on created sockets
Branches
Unknown
Tags
Unknown

Event Timeline