HomeClusterLabs Projects
Diffusion LibQB 29b2c44fb604

ipc: set file permissions on created sockets

Description

ipc: set file permissions on created sockets

When using sockets for IPC the file permissions default to whatever
the umask is. This isn't a problem on Linux since it uses abstract
namespace sockets which don't have any permissions, but on other
platforms this causes problems with pacemaker which spawns processes
under the hacluster user and ends up failing to connect.

Details

Provenance
David Shane Holden <dpejesh@yahoo.com>Authored on Jan 18 2016, 5:17 PM
Parents
rQa1011c5f1847: Merge pull request #170 from dkopecek/master
Branches
Unknown
Tags
Unknown

Event Timeline