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 #5761] Init script shouldn't run config validation as root #1295

Closed
icinga-migration opened this issue Mar 14, 2014 · 3 comments
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by gbeutner on 2014-03-14 12:02:46 +00:00

Assignee: (none)
Status: Resolved (closed on 2014-03-17 09:14:39 +00:00)
Target Version: 0.0.9
Last Update: 2014-03-17 23:16:44 +00:00 (in Redmine)

Icinga Version: 0.0.9

Changesets

2014-03-17 09:14:21 +00:00 by gbeutner a066cbf

Init script shouldn't run config validation as root.

Fixes #5761
@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-03-17 09:14:39 +00:00

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

Applied in changeset a066cbf.

@icinga-migration
Copy link
Author

Updated by gvegidy on 2014-03-17 17:44:21 +00:00

wouldn't it make more sense to move the config validation into the icinga2-daemon itself instead?

like this:

  • program starts
  • all output to stdout/stderr
  • setuid
  • config check: bail out on error, message written to stdout
  • config activated, loggers switched on as defined in config
  • output to stdout/stderr off
  • daemonize

this would also solve #5787 and related bugs.

@icinga-migration
Copy link
Author

Updated by gvegidy on 2014-03-17 23:16:44 +00:00

It was not a good idea to attach something like this to a closed bug report.

Created feature request #5788.

@icinga-migration icinga-migration added bug Something isn't working area/configuration DSL, parser, compiler, error handling labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 0.0.9 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant