Bug 621599

Summary: monit does not support pam authentication
Product: [Fedora] Fedora Reporter: Ken Hall <kjhall55>
Component: monitAssignee: Maxim Burgerhout <maxim>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: maxim, michel, s.adam
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: monit-5.1.1-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-21 04:24: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 Ken Hall 2010-08-05 15:27:02 UTC
Description of problem:
monit can support authentication via pam and SSL if compiled against pam-devel, distributed package returns error on startup:

Starting monit: /etc/monit.d/iserver:94: Error: PAM is not supported 'ssl'

when used with "allow @monit" option and SSL.  Source RPM rebuilt with pam-devel installed works properly.

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

5.1.1-1.fc12.i686

How reproducible:

Always

Steps to Reproduce:
1. Configure monit with "ENABLE SSL" and "allow @monit"
2. Start daemon
3.
  
Actual results:

Starting monit: /etc/monit.d/iserver:94: Error: PAM is not supported 'ssl'


Expected results:

Daemon should start and authenticate users via pam, allowing access to users in group "monit"

Additional info:

Comment 1 Maxim Burgerhout 2010-08-05 17:16:16 UTC
I've done some quick scratch builds for this; you can check the builds here:

http://koji.fedoraproject.org/koji/taskinfo?taskID=2382149

I don't have time to properly update this today; hopefully I'll get around to fixing this tomorrow.

Comment 2 Ken Hall 2010-08-06 16:51:16 UTC
The new version operates properly, thanks!

Comment 3 Ken Hall 2010-08-06 17:12:42 UTC
Suggest adding pam-devel to the BuildRequires list in the spec to prevent this.

Comment 4 Fedora Update System 2010-08-06 19:46:40 UTC
monit-5.1.1-2.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/monit-5.1.1-2.fc12

Comment 5 Fedora Update System 2010-08-06 19:47:25 UTC
monit-5.1.1-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/monit-5.1.1-2.fc13

Comment 6 Fedora Update System 2010-08-06 19:48:21 UTC
monit-5.1.1-2.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/monit-5.1.1-2.fc14

Comment 7 Maxim Burgerhout 2010-08-06 19:52:16 UTC
Updated packages are in Bodhi for Fedora's 12 through 14 and el6, give them a whirl if you have a chance.

Comment 8 Maxim Burgerhout 2010-08-06 19:52:53 UTC
Adam, I'll take this bug if you don't mind; that way I can properly set this as RESOLVED when the time comes.

Comment 9 Fedora Update System 2010-08-07 23:27:08 UTC
monit-5.1.1-2.fc12 has been pushed to the Fedora 12 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 monit'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/monit-5.1.1-2.fc12

Comment 10 Fedora Update System 2010-08-07 23:27:57 UTC
monit-5.1.1-2.fc13 has been pushed to the Fedora 13 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 monit'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/monit-5.1.1-2.fc13

Comment 11 Fedora Update System 2010-08-10 01:29:05 UTC
monit-5.1.1-2.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 monit'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/monit-5.1.1-2.fc14

Comment 12 Ken Hall 2010-08-10 16:20:33 UTC
Tested using the version from koji, and it's fine.  Is the version on updates-testing different?

Comment 13 Maxim Burgerhout 2010-08-11 13:45:06 UTC
It is the same, but it's nicer to install the one from updates-testing before casting an upvote in Bodhi. Otherwise you just have my word for it.

Comment 14 Ken Hall 2010-08-14 15:17:24 UTC
Tested from Bodhi, working fine.  Updated via feedback. Thanks!

Comment 15 Fedora Update System 2010-08-21 04:24:20 UTC
monit-5.1.1-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2010-08-21 04:32:24 UTC
monit-5.1.1-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2010-08-24 01:31:52 UTC
monit-5.1.1-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.