Skip to content

debian/ubuntu: lorotate config conflict. #354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lgrawet opened this issue Feb 20, 2023 · 2 comments
Closed

debian/ubuntu: lorotate config conflict. #354

lgrawet opened this issue Feb 20, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@lgrawet
Copy link
Contributor

lgrawet commented Feb 20, 2023

Hi,

In debian/ubuntu, the package manager already provides an /etc/logrotate.d/haproxy config file with the following content:

/var/log/haproxy.log {
    daily
    rotate 52
    missingok
    notifempty
    compress
    delaycompress
    postrotate
        /usr/lib/rsyslog/rsyslog-rotate
    endscript
}

The file deployed with roxy-wi /etc/logrotate.d/haproxy.conf is conflicting with the one from the package and prevents logrotate unit to start:

error: haproxy.conf:1 duplicate log entry for /var/log/haproxy.log

Moreover, the debian/ubuntu config makes use of the rsyslog-rotate script. So the roxy-wi config should not be deployed at all on those platforms.

Best regards,

Laurent

@Aidaho12
Copy link
Member

Hi,

Thank you, will disable it

@Aidaho12 Aidaho12 added the bug Something isn't working label Feb 20, 2023
@Aidaho12
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants