Actions
Bug #20791
closedLogrotate configuration for relayd is broken
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
In 7.0, logrotate config file for relayd (/etc/logrotate.d/rudder-relay
) is broken, at least on debian 10.
The content of the file is:
{ { daily missingok rotate compress notifyempty create delaycompress sharedscripts postrotate endscript } {
Which leads to errors. Config for apache and slapd also have little errors, but not blocking ones:
root@server:/var/log/rudder/webapp# /usr/sbin/logrotate -f /etc/logrotate.conf -v reading config file /etc/logrotate.conf including /etc/logrotate.d reading config file alternatives reading config file apache2 reading config file apt reading config file btmp reading config file dbconfig-common reading config file dpkg reading config file postgresql-common reading config file rsyslog reading config file rudder reading config file rudder-apache error: rudder-apache:1 duplicate log entry for /var/log/rudder/apache2/access.log error: rudder-apache:6 unknown option 'notifyempty' -- ignoring line error: found error in file rudder-apache, skipping reading config file rudder-relay error: rudder-relay:1 lines must begin with a keyword or a filename (possibly in double quotes) error: rudder-relay:2 lines must begin with a keyword or a filename (possibly in double quotes) error: rudder-relay:5 argument expected after rotate count error: rudder-relay:7 unknown option 'notifyempty' -- ignoring line error: rudder-relay:14 unexpected } error: found error in file rudder-relay, skipping reading config file rudder-slapd error: rudder-slapd:1 duplicate log entry for /var/log/rudder/ldap/slapd.log error: rudder-slapd:6 unknown option 'notifyempty' -- ignoring line error: found error in file rudder-slapd, skipping reading config file wtmp Reading state from file: /var/lib/logrotate/status
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1746
Updated by Nicolas CHARLES almost 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|efa6aca416efc0ea2c2aae748bbf93d5e0f2ebf8.
Updated by Anonymous almost 3 years ago
Applied in changeset rudder-techniques|be4ac69d6b4867cd7ec3cd30ae6ba45d7aec575c.
Updated by Elaad FURREEDAN almost 3 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.2 and 7.1.0~rc1 which were released today.
Actions