Bug 634356
Summary: | oddjob-mkhomedir not working | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan-Frode Myklebust <janfrode> | ||||
Component: | oddjob | Assignee: | Nalin Dahyabhai <nalin> | ||||
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.0 | CC: | dpal, myllynen | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | oddjob-0.30-3.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-03-10 07:51:15 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: | |||||||
Attachments: |
|
Description
Jan-Frode Myklebust
2010-09-15 21:32:55 UTC
org.freedesktop.DBus.Error.ServiceUnknown usually indicates that there's no such service running, which is weird because you mentioned you'd (re)started both the messagebus and oddjobd. Just to be sure, 'service oddjobd status' confirms that the daemon's running? If you momentarily run 'setenforce 0' before logging in (you can 'setenforce 1' immediately after), does the right thing start happening? I know we made some changes to the policy in this area after beta 2, and it's possible that this is one of the things that's sorted in the newer policy. Good call... # service oddjobd status oddjobd er død, men pid-filen eksisterer (oddjobd is dead, but pid-file exist) Then I restart it: # service oddjobd restart Avslutter oddjobd: [FEILET] Starter oddjobd: [ OK ] and feel quite stupid when I can log in and get my home directory created.. Thanks! Is there any diagnostic information indicating why the daemon might have died off? It's abort()ing when it loses its connection to the bus and tries to clean up and reconnect (libdbus didn't used to do that, aagh), so the messagebus restart would have caused a crash, but if you restarted oddjobd immediately after, and it died again, that's worth looking into. I don't have any diagnostics no, as this server has been re-installed several times since we saw this problem, but I think you're again pointing at the correct problem. I see that doing a "service messagebus restart" is causing oddjobd to die, and then I see the same error when trying to log in. # service oddjobd status oddjobd (pid 21354) kjører... # service messagebus restart Starter meldingsbuss for systemet: [ OK ] Starter meldingsbuss for systemet: [ OK ] # service oddjobd status oddjobd er død, men pid-filen eksisterer # ssh janfrode.lysetele.net Password: org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.oddjob_mkhomedir was not provided by any .service files Last login: Thu Sep 16 19:43:30 2010 from jfmfedora.lab.lysetele.net Could not chdir to home directory /home/janfrode: No such file or directory This does not happen on RHEL5.5, so I think it qualifies as a regression in RHEL6. (In reply to comment #7) > This does not happen on RHEL5.5, so I think it qualifies as a regression in > RHEL6. Makes sense to me. I didn't have a bug to track it yet, so this one will do. Created attachment 447839 [details]
patch to never call dbus_connection_close()
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0339.html |