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 #7045] icinga2 init-script doesn't validate configuration on reload action #1942

Closed
icinga-migration opened this issue Sep 1, 2014 · 5 comments
Labels
area/setup Installation, systemd, sample files bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by mhoyer on 2014-09-01 13:22:07 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2014-12-11 08:28:43 +00:00)
Target Version: 2.2.2
Last Update: 2014-12-11 08:28:43 +00:00 (in Redmine)

Icinga Version: 2.0.2

A service icinga2 reload doesn't validate the icinga2 configuration. This causes icinga2 to silently fail on config errors, only being reported in the log file.

One solution would be to add "checkconfig reload fail" on top of the reload section of the init-script.

Changesets

2014-12-11 08:27:31 +00:00 by gbeutner bd7b2f3

Validate configuration files during reload

fixes #7045

2014-12-11 08:28:22 +00:00 by gbeutner ab14373

Validate configuration files during reload

fixes #7045
@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-11-24 14:06:13 +00:00

  • Target Version set to 2.2.1

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-11-25 09:49:50 +00:00

  • Target Version changed from 2.2.1 to 2.2.2

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-12-02 09:24:45 +00:00

TODOs:

-Unique name for the icinga2.debug temp file
-Script (icinga2-reload) which sends SIGHUP to the parent process and runs config validation afterwards
-Update init script and systemd unit file to use this script

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-12-11 05:28:00 +00:00

  • Assigned to set to gbeutner

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-12-11 08:28:43 +00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset bd7b2f3.

@icinga-migration icinga-migration added bug Something isn't working area/setup Installation, systemd, sample files labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.2.2 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/setup Installation, systemd, sample files bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant