Bug 967023
Summary: | oddjobd is not started by realmd | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Patrik Kis <pkis> |
Component: | realmd | Assignee: | Stef Walter <stefw> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Spurek <dspurek> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | dspurek, ebenes, jrieden, ksrot, stefw |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | realmd-0.14.2-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 964971 | Environment: | |
Last Closed: | 2014-06-13 11:17:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 964971, 967025 | ||
Bug Blocks: |
Description
Patrik Kis
2013-05-24 14:28:05 UTC
It's pretty dumb that oddjobd doesn't start automatically when used even when enabled. It's a DBus service :S Can you try this build? http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6307918 (In reply to Stef Walter from comment #5) > Can you try this build? > > http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6307918 oddjob service is still not stared after join to AD server 1. Please provide the --verbose output of the join 2. Could you also post the contents of /usr/lib64/realmd/realmd-distro.conf 3. Did you restart realmd before trying the new build? realmd service was restarted. verbose output of join: realm -v join --user=Amy-admin ad.baseos.qe * Resolving: _ldap._tcp.ad.baseos.qe * Performing LDAP DSE lookup on: 2620:52:0:2223::1:1 ! Can't contact LDAP server * Performing LDAP DSE lookup on: 2620:52:0:2223:1dfe:a8ea:f0d8:380c * Performing LDAP DSE lookup on: 2001:db8:ee8c:180:1dfe:a8ea:f0d8:380c ! Can't contact LDAP server * Performing LDAP DSE lookup on: 10.34.37.22 ! Can't contact LDAP server * Successfully discovered: ad.baseos.qe Password for Amy-admin: * Required files: /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd, /usr/bin/net * LANG=C LOGNAME=root /usr/bin/net -s /var/cache/realmd/realmd-smb-conf.VUUA4W -U Amy-admin ads join ad.baseos.qe Enter Amy-admin's password: Using short domain name -- AD Joined 'RHEL7-20-8' to dns domain 'ad.baseos.qe' * LANG=C LOGNAME=root /usr/bin/net -s /var/cache/realmd/realmd-smb-conf.VUUA4W -U Amy-admin ads keytab create Enter Amy-admin's password: * /usr/bin/systemctl enable sssd.service ln -s '/usr/lib/systemd/system/sssd.service' '/etc/systemd/system/multi-user.target.wants/sssd.service' * /usr/bin/systemctl restart sssd.service * /usr/bin/sh -c /usr/sbin/authconfig --update --enablesssd --enablesssdauth --enablemkhomedir --nostart && /usr/bin/systemctl enable oddjobd.service * Successfully enrolled machine in realm cat /usr/lib64/realmd/realmd-distro.conf # Distro specific overrides for redhat [paths] smb.conf = /etc/samba/smb.conf [samba-packages] samba-common = /usr/bin/net [winbind-packages] samba-winbind = /usr/sbin/winbindd samba-winbind-clients = /usr/bin/wbinfo oddjob = /usr/sbin/oddjobd oddjob-mkhomedir = /usr/libexec/oddjob/mkhomedir [sssd-packages] sssd = /usr/sbin/sssd oddjob = /usr/sbin/oddjobd oddjob-mkhomedir = /usr/libexec/oddjob/mkhomedir [adcli-packages] adcli = /usr/sbin/adcli [ipa-packages] ipa-client = /usr/sbin/ipa-client-install [commands] winbind-enable-logins = /usr/bin/sh -c "/usr/sbin/authconfig --update --enablewinbind --enablewinbindauth --enablemkhomedir --nostart && /usr/bin/systemctl enable oddjobd.service && /usr/bin/systemctl start oddjobd.service" winbind-disable-logins = /usr/sbin/authconfig --update --disablewinbind --disablewinbindauth --nostart winbind-enable-service = /usr/bin/systemctl enable winbind.service winbind-disable-service = /usr/bin/systemctl disable winbind.service winbind-restart-service = /usr/bin/systemctl restart winbind.service winbind-stop-service = /usr/bin/systemctl stop winbind.service sssd-enable-logins = /usr/bin/sh -c "/usr/sbin/authconfig --update --enablesssd --enablesssdauth --enablemkhomedir --nostart && /usr/bin/systemctl enable oddjobd.service" sssd-disable-logins = /usr/sbin/authconfig --update --disablesssdauth --nostart sssd-enable-service = /usr/bin/systemctl enable sssd.service sssd-disable-service = /usr/bin/systemctl disable sssd.service sssd-restart-service = /usr/bin/systemctl restart sssd.service sssd-stop-service = /usr/bin/systemctl stop sssd.service sssd-caches-flush = /usr/sbin/sss_cache --users --groups --netgroups --services --autofs-maps # Fedora and RHEL have libnss_sss in place by default, this is no longer needed name-caches-flush = Thanks. That makes sense. Could you try out this build: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6322555 This build looks fine, oddjob service is started and enabled after IPA and AD join. In which realmd version will be this fix included? This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |