Actions
Bug #4702
closedsyslogd support partially broken: "*" is not always supported for priority, and reload command varies on AIX
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The default configuration we introduce to send logs remotely via syslog is:
local6.* @remote.server.com
However, older versions of syslog don't support "*". So we can just use "notice", which is the lowest priority CFEngine logs on (this also avoids any debug logs coming up...).
#4460 introduced many changes to Techniques to support UNIX systems, but missed one for AIX, that causes this error:
2014-03-29T11:49:27CDT error: Proposed executable file '/etc/init.d/syslog' doesn't exist 2014-03-29T11:49:27CDT error: /check_log_system/commands/'/etc/init.d/syslog': '/etc/init.d/syslog' promises to be executable but isn't
Simply put, cf-agent is trying to tell syslogd to refresh it's config file, by using an init.d script, which doesn't exist on AIX. The simple replacement for this is "refresh -s syslogd".
Actions