Bug 61220

Summary: realmd exits when clients are running
Product: realmd Reporter: Miroslav Vadkerti <mvadkert>
Component: GeneralAssignee: Stef Walter <stefw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: marius.vollmer, stefw, yelley
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Don't exit realmd when clients are still active
Don't exit realmd when clients are still active

Description Miroslav Vadkerti 2013-02-21 09:42:20 UTC
When you use the join and wait some time at the admin password prompt (tested with around 2 minutes, but less should trigger the error also) you get an error as in summary

# realm join -v security.baseos.qe
 * Searching for kerberos SRV records for domain: _kerberos._udp.security.baseos.qe
 * Searching for MSDCS SRV records on domain: _kerberos._tcp.dc._msdcs.security.baseos.qe
 * dc.security.baseos.qe:88 
 * Found kerberos DNS records for: security.baseos.qe
 * Found AD style DNS records for: security.baseos.qe
 * Successfully discovered: security.baseos.qe
 * Assuming packages installed
 * LANG=C /usr/sbin/adcli join --verbose --show-details --domain SECURITY.BASEOS.QE --login-type computer --no-password
adcli: couldn't create temporary directory in: /var/cache/realmd: No such file or directory
 * Using domain name: SECURITY.BASEOS.QE
 * Calculated computer account name from fqdn: DHCP-24-200
 * Calculated domain realm from name: SECURITY.BASEOS.QE
 * Resolved LDAP urls from SRV record: _ldap._tcp.SECURITY.BASEOS.QE: ldap://dc.security.baseos.qe:389
 ! Couldn't authenticate as machine account: DHCP-24-200: Preauthentication failed
adcli: couldn't connect to SECURITY.BASEOS.QE domain: Couldn't authenticate as machine account: DHCP-24-200: Preauthentication failed
 ! Unable to automatically join the domain
Password for Administrator: (WAIT HERE a minute)
realm: Couldn't join realm: The name :1.747 was not provided by any .service files

version:
realmd-0.13.2-1.fc18.x86_64
Comment 1 Stef Walter 2013-04-12 07:12:35 UTC
Created attachment 77840 [details] [review]
Don't exit realmd when clients are still active
Comment 2 Stef Walter 2013-04-12 08:32:54 UTC
Created attachment 77848 [details] [review]
Don't exit realmd when clients are still active
Comment 3 Stef Walter 2013-04-12 14:37:31 UTC
Yassir, this is another patch I would appreciate review of.
Comment 4 Stef Walter 2013-04-17 07:23:01 UTC
Attachment 77848 [details] pushed as 7a59c27 - Don't exit realmd when clients are still active

This would cause pain on the test day. Pushed without further review, since this is a small patch unrelated to the main realm code paths. 

Especially true of testing of the GUI gnome-control-center integration, since that expects realmd to hang around as long as the user panel is visible.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.