Could not determine security context DBus error using oddjob
Issue
-
When using pam_oddjob_mkhomedir.so PAM module in /etc/pam.d/system-auth and SELinux turned off, the following error might appear after the user tries to log in (e.g. using su -):
Error org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown: Could not determine security context for ':1.1'
Environment
- Red Hat Enterprise Linux (RHEL) 5.3
- oddjob-0.27-9.el5
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.