Skip to content
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

[dev.icinga.com #10730] Logrotate configuration is using service command also on systems using systemd #3716

Closed
icinga-migration opened this issue Nov 26, 2015 · 4 comments
Labels
bug Something isn't working

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/10730

Created by dgoetz on 2015-11-26 14:22:53 +00:00

Assignee: (none)
Status: Closed (closed on 2016-01-21 09:24:10 +00:00)
Target Version: (none)
Last Update: 2016-01-21 09:24:10 +00:00 (in Redmine)

Icinga Version: 2.3.11
Backport?: Not yet backported
Include in Changelog: 1

The logrotate configuration is using service command also on systems using systemd which will cause it to generate mails on logrotate runs telling about the redirect to systemctl. (seen on RHEL7)

Perhaps there are other locations where we should change something like this to better adopted systemd.


Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-11-27 18:00:38 +00:00

That requires deploying different logrotate files on various rhel based systems. I'd personally avoid that as long as service still works.

@icinga-migration
Copy link
Author

Updated by dgoetz on 2015-11-30 09:09:34 +00:00

Than we should perhaps simple mute the status query by also sending stderr to /dev/null.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-01-15 08:02:13 +00:00

  • Relates set to 10935

@icinga-migration
Copy link
Author

Updated by jflach on 2016-01-21 09:24:10 +00:00

  • Status changed from New to Closed

Fixed with 7bf012c, just forgot to mention this ticket in the commit

@icinga-migration icinga-migration added Low bug Something isn't working labels Jan 17, 2017
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

1 participant