Bug 576571 - AuthFile mismatch, passwd in conf.d, .htpasswd in /etc/nagios
Summary: AuthFile mismatch, passwd in conf.d, .htpasswd in /etc/nagios
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nagios
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-24 13:48 UTC by Stephen Cuppett
Modified: 2010-09-24 20:46 UTC (History)
4 users (show)

Fixed In Version: nagios-3.2.2-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-23 12:58:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.