I've tried to remove
|O_CLOEXEC
from util/pidfile.cc file at line 121
Previously it was:
if ((file = open(_filename.c_str(), O_CREAT|O_WRONLY|O_TRUNC|O_CLOEXEC, S_IRWXU|S_IRGRP|S_IROTH)) < 0)
Now it's
if ((file = open(_filename.c_str(), O_CREAT|O_WRONLY|O_TRUNC, S_IRWXU|S_IRGRP|S_IROTH)) < 0)
After this modification make goes fine.
Key question is - will this modification have any impact on Gearmand functionality or causes any mistakes/issues?
I've tried to remove c_str() , O_CREAT| O_WRONLY| O_TRUNC| O_CLOEXEC, S_IRWXU| S_IRGRP| S_IROTH) ) < 0)
|O_CLOEXEC
from util/pidfile.cc file at line 121
Previously it was:
if ((file = open(_filename.
Now it's c_str() , O_CREAT| O_WRONLY| O_TRUNC, S_IRWXU| S_IRGRP| S_IROTH) ) < 0)
if ((file = open(_filename.
After this modification make goes fine.
Key question is - will this modification have any impact on Gearmand functionality or causes any mistakes/issues?