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 #13165] Superflous error messages for non-exisiting lsb_release/sw_vers commands (on NetBSD) #4779

Closed
icinga-migration opened this issue Nov 11, 2016 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by edgar_fuss on 2016-11-11 11:46:52 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-11-11 11:46:52 +00:00 (in Redmine)

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

utility.cpp tries to call lsb_release and sw_vers (via popen(3)) leading to error messages on non-Linux systems where these commands don't exist.
Shut up these messages by prepending them with "type {lsb_release,sw_vers} >/dev/null 2>&1 &&".

Attachments

@icinga-migration icinga-migration added bug Something isn't working libbase labels Jan 17, 2017
@dnsmichi dnsmichi self-assigned this Feb 8, 2017
@dnsmichi dnsmichi added this to the 2.7.0 milestone Feb 8, 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

3 participants