Actions
Bug #8451
closedOn Centos6.6, rsyslog is always restarted
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System techniques
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Testing on a Centos6.6, rsyslogd is restarted at each run
I got two edition per run, one with
2016-06-03T09:22:18+0000 verbose: /default/check_log_system/files/'/etc/rsyslog.d/rudder-agent.conf'/default/append_if_no_lines/insert_lines/'.Rudder log system ${rsyslogd_message_reduction} if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then @@relay.rudder.local:514 if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then ~'[0]: Comment 'Append lines to the file if they don't already exist' 2016-06-03T09:22:18+0000 info: /default/check_log_system/files/'/etc/rsyslog.d/rudder-agent.conf'[0]: Moved '/etc/rsyslog.d/rudder-agent.conf_1464945735_Fri_Jun__3_09_22_18_2016.cf-before-edit' to repository location '/var/rudder/modified-files/_etc_rsyslog_d_rudder_agent_conf_1464945735_Fri_Jun__3_09_22_18_2016_cf_before_edit'
and one with
2016-06-03T09:22:18+0000 verbose: /default/check_log_system/files/'/etc/rsyslog.d/rudder-agent.conf'/default/append_if_no_lines/insert_lines/'.Rudder log system $RepeatedMsgReduction off if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then @@relay.rudder.local:514 if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then ~'[0]: Comment 'Append lines to the file if they don't already exist' 2016-06-03T09:22:18+0000 verbose: /default/check_log_system/files/'/etc/rsyslog.d/rudder-agent.conf'/default/append_if_no_lines/insert_lines/'.Rudder log system $RepeatedMsgReduction off if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then @@relay.rudder.local:514
Updated by Nicolas CHARLES over 8 years ago
- Related to Bug #6421: Messages can be dropped on the node, resulting in Unknown reports on the Web Interface added
Updated by Jonathan CLARKE over 8 years ago
Looks like a class/ordering issue. The first run had an unresolved variable in it, probably not set yet.
Updated by Nicolas CHARLES over 8 years ago
indeed, its a class ordering issue, but 6421 also introduced a possibility where both rsyslog_version_not_ok and rsyslog_version_ok are defined (if version is between 5.6.5 and 5.7.1), as classes from module are global
Updated by Alexis Mousset over 8 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset over 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/965
Updated by Alexis Mousset over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|1c7577edd4ef3defd952f4f2c9210a1b8761afd7.
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.23 to 2.11.22
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending release to Released
Actions