Bug 576571

Summary: AuthFile mismatch, passwd in conf.d, .htpasswd in /etc/nagios
Product: [Fedora] Fedora Reporter: Stephen Cuppett <steve>
Component: nagiosAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: jose.p.oliveira.oss, lemenkov, redhat, sebastian.gosenheimer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nagios-3.2.2-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-23 12:58:29 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 Stephen Cuppett 2010-03-24 13:48:36 UTC
Description of problem:

The httpd nagios configuration file points to /etc/nagios/passwd as the authentication file; however, the RPM also lays down /etc/nagios/.htpasswd.  These two locations should match.

Version-Release number of selected component (if applicable):

nagios-3.2.1-1.fc12.x86_64

How reproducible:

On every install.

Steps to Reproduce:
1.  Install nagios RPM
2.  Observe /etc/nagios/passwd in the /etc/httpd/conf.d/nagios.conf file
3.  Observe /etc/nagios/.htpasswd as file existing in the filesystem.
  
Actual results:

User mistakenly populates .htpasswd with user/token information expecting it to work, authentications to Nagios CGIs continues to fail.

Expected results:

.htpasswd file is used and/or replaced with passwd file to be populated by user

Additional info:

Comment 1 Fedora Update System 2010-09-11 17:31:15 UTC
nagios-3.2.2-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/nagios-3.2.2-1.fc13

Comment 2 Fedora Update System 2010-09-11 17:31:24 UTC
nagios-3.2.2-1.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/nagios-3.2.2-1.fc12

Comment 3 Fedora Update System 2010-09-11 17:31:34 UTC
nagios-3.2.2-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/nagios-3.2.2-1.fc14

Comment 4 Fedora Update System 2010-09-13 18:11:11 UTC
nagios-3.2.2-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nagios'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/nagios-3.2.2-1.fc14

Comment 5 Fedora Update System 2010-09-23 12:58:20 UTC
nagios-3.2.2-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-09-24 20:40:51 UTC
nagios-3.2.2-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-09-24 20:46:46 UTC
nagios-3.2.2-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.