Project

General

Profile

Actions

Bug #4702

closed

syslogd support partially broken: "*" is not always supported for priority, and reload command varies on AIX

Added by Jonathan CLARKE over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
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".


Subtasks 1 (0 open1 closed)

Bug #4712: We need to remove the old syslog.conf line that #4702 changedReleasedMatthieu CERDA2014-03-31Actions

Related issues 1 (0 open1 closed)

Related to Rudder - User story #4460: UNIX support - implementation for other Techniques - general casesReleasedJonathan CLARKE2014-02-10Actions
Actions

Also available in: Atom PDF