No syslog logging when running as non-root
Enrico Scholz <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, due to security reasons, I run 'cfservd' from cfengine 2.2.8 under an unprivileged userid. Unfortunately, the responsible logging code in src/log.c contains checks like | if (LOGGING && IsPrivileged() && !DONTDO) which prevents syslog() to be called. This makes it very difficultly to debug problems. Would it be possible to override the 'IsPrivileged()' call for the cfservd case? Enrico