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

RPM: icinga2-bin installs into /usr/lib64/nagios/plugins without dependency on nagios-common #193

Open
dgoetz opened this issue Sep 2, 2020 · 1 comment
Labels
bug Something isn't working infrastructure os/epel CentOS, RHEL and OEL packaging. Check the supported versions! package/icinga2 Concerns Icinga2

Comments

@dgoetz
Copy link

dgoetz commented Sep 2, 2020

The icinga2-bin installs check_nscp_api into /usr/lib64/nagios/plugins without dependency on nagios-common resulting in files not owned by any package.

After installing only icinga2:

# rpm -qf /usr/lib64/nagios/plugins/
file /usr/lib64/nagios/plugins is not owned by any package

After installing nagios-common

# rpm -qf /usr/lib64/nagios/plugins/
nagios-common-4.4.5-1.el8.x86_64

This is a bad practice and should be avoided!

@dgoetz dgoetz added os/epel CentOS, RHEL and OEL packaging. Check the supported versions! bug Something isn't working labels Sep 2, 2020
@Al2Klimov
Copy link
Member

We could also just claim that dir. One dir owned by multiple packages seems legit:

build@fb2fb7c32a85:/> rpm -qf /usr/lib/nagios/plugins/
monitoring-plugins-users-2.3.5-8.20.x86_64
monitoring-plugins-ups-2.3.5-8.20.x86_64
monitoring-plugins-time-2.3.5-8.20.x86_64
monitoring-plugins-tcp-2.3.5-8.20.x86_64
monitoring-plugins-swap-2.3.5-8.20.x86_64
monitoring-plugins-ssh-2.3.5-8.20.x86_64
monitoring-plugins-smtp-2.3.5-8.20.x86_64
monitoring-plugins-real-2.3.5-8.20.x86_64
monitoring-plugins-procs-2.3.5-8.20.x86_64
monitoring-plugins-ping-2.3.5-8.20.x86_64
monitoring-plugins-overcr-2.3.5-8.20.x86_64
monitoring-plugins-nwstat-2.3.5-8.20.x86_64
monitoring-plugins-ntp_peer-2.3.5-8.20.x86_64
monitoring-plugins-nt-2.3.5-8.20.x86_64
monitoring-plugins-load-2.3.5-8.20.x86_64
monitoring-plugins-ide_smart-2.3.5-8.20.x86_64
monitoring-plugins-icmp-2.3.5-8.20.x86_64
monitoring-plugins-http-2.3.5-8.20.x86_64
monitoring-plugins-dummy-2.3.5-8.20.x86_64
monitoring-plugins-disk-2.3.5-8.20.x86_64
monitoring-plugins-common-2.3.5-8.20.x86_64
monitoring-plugins-cluster-2.3.5-8.20.x86_64
monitoring-plugins-ntp_time-2.3.5-8.20.x86_64
monitoring-plugins-dhcp-2.3.5-8.20.x86_64
monitoring-plugins-by_ssh-2.3.5-8.20.x86_64
monitoring-plugins-dns-2.3.5-8.20.x86_64
monitoring-plugins-dig-2.3.5-8.20.x86_64
monitoring-plugins-mrtgtraf-2.3.5-8.20.x86_64
monitoring-plugins-mrtg-2.3.5-8.20.x86_64
monitoring-plugins-wave-2.3.5-8.20.x86_64
monitoring-plugins-mailq-2.3.5-8.20.x86_64
monitoring-plugins-ifstatus-2.3.5-8.20.x86_64
monitoring-plugins-ifoperstatus-2.3.5-8.20.x86_64
monitoring-plugins-flexlm-2.3.5-8.20.x86_64
monitoring-plugins-file_age-2.3.5-8.20.x86_64
monitoring-plugins-breeze-2.3.5-8.20.x86_64
monitoring-plugins-rpc-2.3.5-8.20.x86_64
build@fb2fb7c32a85:/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infrastructure os/epel CentOS, RHEL and OEL packaging. Check the supported versions! package/icinga2 Concerns Icinga2
Projects
None yet
Development

No branches or pull requests

3 participants