Bug #4702
closedsyslogd support partially broken: "*" is not always supported for priority, and reload command varies on AIX
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".
Updated by Jonathan CLARKE over 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Matthieu CERDA
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/331/files
Updated by Jonathan CLARKE over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:7785d84239389b9b57c7a3d14d6fb87e9fe784d3.
Updated by Jonathan CLARKE over 10 years ago
Applied in changeset commit:d2867ff3c977653612951329fba66ecc9f1c8f35.
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-June/000087.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 24 to Rudder
- Category set to Techniques