Comment 6 for bug 980114

Revision history for this message
Oleg (ok-k) wrote :

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?