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

icinga2 binary is wrong on rhel5 #409

Closed
bjakubiak opened this issue Dec 7, 2017 · 2 comments
Closed

icinga2 binary is wrong on rhel5 #409

bjakubiak opened this issue Dec 7, 2017 · 2 comments

Comments

@bjakubiak
Copy link

Module looks for icinga2 in /sbin directory, while icinga2-bin package puts it into /usr/sbin/ directory.

Up to 1.3.0 module used system PATH to locate icinga2 binary. Then it was changed to /sbin for all the linuxes in #369. The change was followed by fixes for some linux distributions: Debian: #371, RHEL 6: #390, FreeBSD: #396.
Now it doesn't work on RHEL5.
It works on RHEL7 just because the system has symbolic link /sbin -> /usr/sbin in place.

I think the fix is to set the path to /usr/sbin for all distributions by default.

@lbetz
Copy link
Contributor

lbetz commented Dec 7, 2017

RHEL 5 isn't support by this module.

@lbetz lbetz changed the title icinga2 binary under /usr/sbin and not /sbin icinga2 binary is wrong on rhel5 Dec 7, 2017
@dnsmichi
Copy link

dnsmichi commented Dec 7, 2017

Neither is it by Icinga 2 anymore. RHEL5 is EOL for a while now.

@lbetz lbetz closed this as completed in 0a03576 Dec 7, 2017
lbetz added a commit that referenced this issue Dec 7, 2017
…ng-on-rhel5-409

fix #409 icinga2 binary is wrong on rhel5
n00by pushed a commit to n00by/puppet-icinga2 that referenced this issue Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants