Bug 180045
Summary: | upgrade of nagios rpm caused nagios.cfg to vansish | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Wouters <paul> |
Component: | nagios | Assignee: | Mike McGrath <imlinux> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | extras-qa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-05 18:23:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paul Wouters
2006-02-05 00:48:44 UTC
the same happened with: cgi.cfg.rpmsave misccommands.cfg.rpmsave resource.cfg.rpmsave checkcommands.cfg.rpmsave additionally: restarting gave me: Can't open perl script "/usr/bin/p1.pl": No such file or directory Hey Paul, what version did you upgrade from and where did you get it? not sure which version it was, but it was yours as linked on the Fedora Extras list. My version doesn't actually create any config files, only the samples. By upgrading from a Nagios package that had nagios.cfg to my package that only has nagios.cfg-sample the nagios.cfg and other such *.cfg's were uninstalled by the previous package (which would have been from some other repository). Future upgrades from my package to my package won't cause this problem. In fact I submitted an update yesterday (updates for Apache configs for Nagios) that we can verify this against. Forgot about the p1.pl part of this but, I'll be looking into that. My package has this in /usr/sbin. My sample-configs correctly define it, just change the line in your nagios.cfg from: p1_file=/usr/bin/p1.pl to p1_file=/usr/sbin/p1.pl Downloading Packages: (1/1): nagios-2.0-0.2.rc2 100% |=========================| 2.1 MB 00:31 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : nagios [1/2]warning: /etc/httpd/conf.d/nagios.conf created as /etc/httpd/conf.d/nagios.conf.rpmnew Updating : nagios ######################### [1/2] Cleanup : nagios ######################### [2/2] Updated: nagios.i386 0:2.0-0.2.rc2.fc4 Complete! ok, thanks. closing bug. |