Hide Forgot
Description of problem: If the realm directory server instance is not running, ipactl status returns an error but return code is 0. <snip> # ipactl status Directory Service: STOPPED Error retrieving list of services {'desc': "Can't contact LDAP server"} Is IPA installed ? Failed to get list of services to probe status # echo $? 0 </snip> I do think the "Is IPA installed ?" is not necessary. If the ipactl command exists ... I think IPA is installed. Version-Release number of selected component (if applicable): freeipa-server-2.0-0.2011020113git613a3d0.fc14.i686 How reproducible: always Steps to Reproduce: 1. service dirsrv stop relm_instance 2. ipactl status 3. Actual results: return code 0 Expected results: non zero return code and no "Is IPA installed ?" message. Additional info:
https://fedorahosted.org/freeipa/ticket/894
Fixed in fb751686a1086734c66916ad9589d95b47af4a5d.
Verified using - ipa-server-2.0.0-23.el6_1.1.x86_64 Automated tests run the sequence: service dirsrv stop testrelm ipactl status -> returns 3 as expected service dirsrv start testrelm