Description of problem: while installing gluster-nagios-addons on a rhel7 system, the following errrors are seen. nrpe.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig nrpe on The unit files have no [Install] section. They are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). Version-Release number of selected component (if applicable): gluster-nagios-addons-0.2.2-1.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1. Add the latest repo which contains the gluster-nagios-addons. 2. Run the command 'yum install gluster-nagios-addons' 3. Actual results: Installation goes successfully leaving some errors on the console. Expected results: There should not be any errors. Additional info:
Fixed as part of nrpe new build.
Verified and works fine with build nrpe-2.15-4.1.el7rhgs.x86_64. No error are displayed when installing gluster-nagios-addons. [root@rhs-arch-srv1 ~]# yum install gluster-nagios-addons Loaded plugins: product-id, rhnplugin, subscription-manager This system is receiving updates from RHN Classic or Red Hat Satellite. Resolving Dependencies --> Running transaction check ---> Package gluster-nagios-addons.x86_64 0:0.2.3-1.el7rhgs will be installed --> Processing Dependency: nrpe >= 2.14-1.2 for package: gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 --> Processing Dependency: gluster-nagios-common >= 0.2.0 for package: gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 --> Processing Dependency: sysstat for package: gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 --> Processing Dependency: python-lockfile for package: gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 --> Processing Dependency: python-daemon for package: gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 --> Processing Dependency: nsca-client for package: gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 --> Processing Dependency: nagios-plugins-procs for package: gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 --> Processing Dependency: nagios-plugins-ide_smart for package: gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 --> Running transaction check ---> Package gluster-nagios-common.noarch 0:0.2.0-2.el7rhgs will be installed ---> Package nagios-plugins-ide_smart.x86_64 0:1.4.16-12.el7rhgs will be installed --> Processing Dependency: nagios-plugins = 1.4.16-12.el7rhgs for package: nagios-plugins-ide_smart-1.4.16-12.el7rhgs.x86_64 --> Processing Dependency: group(nagios) for package: nagios-plugins-ide_smart-1.4.16-12.el7rhgs.x86_64 --> Processing Dependency: group(nagios) for package: nagios-plugins-ide_smart-1.4.16-12.el7rhgs.x86_64 ---> Package nagios-plugins-procs.x86_64 0:1.4.16-12.el7rhgs will be installed ---> Package nrpe.x86_64 0:2.15-4.1.el7rhgs will be installed ---> Package nsca-client.x86_64 0:2.9.1-11.2.el7rhgs will be installed --> Processing Dependency: libmcrypt.so.4()(64bit) for package: nsca-client-2.9.1-11.2.el7rhgs.x86_64 ---> Package python-daemon.noarch 0:1.6-5.el7 will be installed ---> Package python-lockfile.noarch 1:0.9.1-5.el7 will be installed ---> Package sysstat.x86_64 0:10.1.5-7.el7 will be installed --> Processing Dependency: libsensors.so.4()(64bit) for package: sysstat-10.1.5-7.el7.x86_64 --> Running transaction check ---> Package libmcrypt.x86_64 0:2.5.8-9.3.el7rhgs will be installed ---> Package lm_sensors-libs.x86_64 0:3.3.4-11.el7 will be installed ---> Package nagios-common.x86_64 0:3.5.1-6.el7 will be installed ---> Package nagios-plugins.x86_64 0:1.4.16-12.el7rhgs will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================== Package Arch Version Repository Size ====================================================================================================================================================== Installing: gluster-nagios-addons x86_64 0.2.3-1.el7rhgs rhgs3.1-node-el7 52 k Installing for dependencies: gluster-nagios-common noarch 0.2.0-2.el7rhgs rhgs3.1-node-el7 30 k libmcrypt x86_64 2.5.8-9.3.el7rhgs rhgs3.1-node-el7 98 k lm_sensors-libs x86_64 3.3.4-11.el7 rhel-x86_64-server-7 40 k nagios-common x86_64 3.5.1-6.el7 rhgs3.1-node-el7 17 k nagios-plugins x86_64 1.4.16-12.el7rhgs rhgs3.1-node-el7 195 k nagios-plugins-ide_smart x86_64 1.4.16-12.el7rhgs rhgs3.1-node-el7 32 k nagios-plugins-procs x86_64 1.4.16-12.el7rhgs rhgs3.1-node-el7 71 k nrpe x86_64 2.15-4.1.el7rhgs rhgs3.1-node-el7 226 k nsca-client x86_64 2.9.1-11.2.el7rhgs rhgs3.1-node-el7 24 k python-daemon noarch 1.6-5.el7 rhgs3.1-node-el7 25 k python-lockfile noarch 1:0.9.1-5.el7 rhgs3.1-node-el7 27 k sysstat x86_64 10.1.5-7.el7 rhel-x86_64-server-7 296 k Transaction Summary ====================================================================================================================================================== Install 1 Package (+12 Dependent packages) Total download size: 1.1 M Installed size: 3.2 M Is this ok [y/d/N]: y Downloading packages: (4/13): lm_sensors-libs-3.3.4-11.el7.x86_64.rpm | 40 kB 00:00:00 (13/13): sysstat-10.1.5-7.el7.x86_64.rpm | 296 kB 00:00:00 (1/11): gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64.rpm | 52 kB 00:00:00 (2/11): gluster-nagios-common-0.2.0-2.el7rhgs.noarch.rpm | 30 kB 00:00:00 (3/11): libmcrypt-2.5.8-9.3.el7rhgs.x86_64.rpm | 98 kB 00:00:00 (4/11): nagios-common-3.5.1-6.el7.x86_64.rpm | 17 kB 00:00:00 (5/11): nagios-plugins-1.4.16-12.el7rhgs.x86_64.rpm | 195 kB 00:00:00 (6/11): nagios-plugins-ide_smart-1.4.16-12.el7rhgs.x86_64.rpm | 32 kB 00:00:00 (7/11): nagios-plugins-procs-1.4.16-12.el7rhgs.x86_64.rpm | 71 kB 00:00:00 (8/11): nsca-client-2.9.1-11.2.el7rhgs.x86_64.rpm | 24 kB 00:00:00 (9/11): nrpe-2.15-4.1.el7rhgs.x86_64.rpm | 226 kB 00:00:00 (10/11): python-daemon-1.6-5.el7.noarch.rpm | 25 kB 00:00:00 (11/11): python-lockfile-0.9.1-5.el7.noarch.rpm | 27 kB 00:00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------ Total 2.1 MB/s | 1.1 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : nagios-common-3.5.1-6.el7.x86_64 1/13 Installing : nagios-plugins-1.4.16-12.el7rhgs.x86_64 2/13 Installing : 1:python-lockfile-0.9.1-5.el7.noarch 3/13 Installing : python-daemon-1.6-5.el7.noarch 4/13 Installing : nagios-plugins-ide_smart-1.4.16-12.el7rhgs.x86_64 5/13 Installing : nagios-plugins-procs-1.4.16-12.el7rhgs.x86_64 6/13 Installing : nrpe-2.15-4.1.el7rhgs.x86_64 7/13 Installing : lm_sensors-libs-3.3.4-11.el7.x86_64 8/13 Installing : sysstat-10.1.5-7.el7.x86_64 9/13 Installing : gluster-nagios-common-0.2.0-2.el7rhgs.noarch 10/13 Installing : libmcrypt-2.5.8-9.3.el7rhgs.x86_64 11/13 Installing : nsca-client-2.9.1-11.2.el7rhgs.x86_64 12/13 Installing : gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 13/13 ln -s '/usr/lib/systemd/system/nrpe.service' '/etc/systemd/system/multi-user.target.wants/nrpe.service' Verifying : nsca-client-2.9.1-11.2.el7rhgs.x86_64 1/13 Verifying : nagios-plugins-1.4.16-12.el7rhgs.x86_64 2/13 Verifying : libmcrypt-2.5.8-9.3.el7rhgs.x86_64 3/13 Verifying : python-daemon-1.6-5.el7.noarch 4/13 Verifying : 1:python-lockfile-0.9.1-5.el7.noarch 5/13 Verifying : nrpe-2.15-4.1.el7rhgs.x86_64 6/13 Verifying : gluster-nagios-common-0.2.0-2.el7rhgs.noarch 7/13 Verifying : lm_sensors-libs-3.3.4-11.el7.x86_64 8/13 Verifying : nagios-plugins-ide_smart-1.4.16-12.el7rhgs.x86_64 9/13 Verifying : gluster-nagios-addons-0.2.3-1.el7rhgs.x86_64 10/13 Verifying : sysstat-10.1.5-7.el7.x86_64 11/13 Verifying : nagios-plugins-procs-1.4.16-12.el7rhgs.x86_64 12/13 Verifying : nagios-common-3.5.1-6.el7.x86_64 13/13 Installed: gluster-nagios-addons.x86_64 0:0.2.3-1.el7rhgs Dependency Installed: gluster-nagios-common.noarch 0:0.2.0-2.el7rhgs libmcrypt.x86_64 0:2.5.8-9.3.el7rhgs lm_sensors-libs.x86_64 0:3.3.4-11.el7 nagios-common.x86_64 0:3.5.1-6.el7 nagios-plugins.x86_64 0:1.4.16-12.el7rhgs nagios-plugins-ide_smart.x86_64 0:1.4.16-12.el7rhgs nagios-plugins-procs.x86_64 0:1.4.16-12.el7rhgs nrpe.x86_64 0:2.15-4.1.el7rhgs nsca-client.x86_64 0:2.9.1-11.2.el7rhgs python-daemon.noarch 0:1.6-5.el7 python-lockfile.noarch 1:0.9.1-5.el7 sysstat.x86_64 0:10.1.5-7.el7 Complete!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-1494.html