<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
On Mon, 2013-11-11 at 10:51 +0100, Jakub Hrozek wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Fri, Nov 08, 2013 at 02:42:21PM -0600, Dean Hunter wrote:
<FONT COLOR="#737373">> On Thu, 2013-11-07 at 22:17 -0500, Dmitri Pal wrote:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> > On 11/07/2013 06:20 PM, Dean Hunter wrote: </FONT>
<FONT COLOR="#737373">> > </FONT>
<FONT COLOR="#737373">> > > On Thu, 2013-11-07 at 17:41 -0500, Dmitri Pal wrote:</FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > > > On 11/07/2013 12:59 PM, Dean Hunter wrote: </FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > > On Thu, 2013-11-07 at 12:36 -0500, Dmitri Pal wrote:</FONT>
<FONT COLOR="#737373">> > > > > </FONT>
<FONT COLOR="#737373">> > > > > > On 11/07/2013 12:21 PM, Dean Hunter wrote: </FONT>
<FONT COLOR="#737373">> > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > On Thu, 2013-11-07 at 09:44 +0200, Alexander Bokovoy wrote: </FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > > On Wed, 06 Nov 2013, Dean Hunter wrote:</FONT>
<FONT COLOR="#737373">> > > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > > >After building a new VM and configuring the IPA 3.3.2 client, Gnome</FONT>
<FONT COLOR="#737373">> > > > > > > > >seems to only perform a local log-in until the system is rebooted. SSH</FONT>
<FONT COLOR="#737373">> > > > > > > > >works with IPA, but not Gnome. Is this correct? Is there anything less</FONT>
<FONT COLOR="#737373">> > > > > > > > >disruptive than a reboot that I can do?</FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > > Restart gdm.service?</FONT>
<FONT COLOR="#737373">> > > > > > > > I'm not sure how gdm handles PAM auth.</FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > I have tried:</FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > >         ipa-client-install ...</FONT>
<FONT COLOR="#737373">> > > > > > >         systemctl restart gdm.service</FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > but the behavior remains the same. The Gnome log in screen</FONT>
<FONT COLOR="#737373">> > > > > > > accepts the user name, pauses about 25 seconds, then</FONT>
<FONT COLOR="#737373">> > > > > > > displays the log in screen again without any messages or</FONT>
<FONT COLOR="#737373">> > > > > > > indication of a problem. This is the same behavior I see</FONT>
<FONT COLOR="#737373">> > > > > > > when entering an incorrect local user name before</FONT>
<FONT COLOR="#737373">> > > > > > > configuring IPA.</FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > > _______________________________________________</FONT>
<FONT COLOR="#737373">> > > > > > > Freeipa-users mailing list</FONT>
<FONT COLOR="#737373">> > > > > > > <A HREF="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</A></FONT>
<FONT COLOR="#737373">> > > > > > > <A HREF="https://www.redhat.com/mailman/listinfo/freeipa-users">https://www.redhat.com/mailman/listinfo/freeipa-users</A></FONT>
<FONT COLOR="#737373">> > > > > > </FONT>
<FONT COLOR="#737373">> > > > > > Can it be a DIR cache issue and the fact that the directory</FONT>
<FONT COLOR="#737373">> > > > > > can't is not created at proper time?</FONT>
<FONT COLOR="#737373">> > > > > </FONT>
<FONT COLOR="#737373">> > > > > </FONT>
<FONT COLOR="#737373">> > > > > Which directory, please?</FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > If you are hitting the DIR cache issue (which I am not sure is the</FONT>
<FONT COLOR="#737373">> > > > case this is why I asked about AVCs) then the directory we are</FONT>
<FONT COLOR="#737373">> > > > talking about is /var/run/usr/<uid> </FONT>
<FONT COLOR="#737373">> > > > This directory should be created by kerberos library when it tries</FONT>
<FONT COLOR="#737373">> > > > to authenticate a user. But it might not be able to since a parent</FONT>
<FONT COLOR="#737373">> > > > directory /var/run/usr might not be created yet. This is one of</FONT>
<FONT COLOR="#737373">> > > > the reasons why we decided not to continue the path of DIR cache</FONT>
<FONT COLOR="#737373">> > > > but switched to using Kernel based ccache.</FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > > </FONT>
<FONT COLOR="#737373">> > > > > </FONT>
<FONT COLOR="#737373">> > > > > > Do you see any AVCs?</FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > Question still stands.</FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > > I see no AVCs:</FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > >         [root@ipa ~]# ausearch --message AVC</FONT>
<FONT COLOR="#737373">> > >         <no matches></FONT>
<FONT COLOR="#737373">> > >         [root@ipa ~]# </FONT>
<FONT COLOR="#737373">> > >         </FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > > I did find this in the man page for nsswitch.conf:</FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > >         FILES</FONT>
<FONT COLOR="#737373">> > >                A service named SERVICE is implemented by a shared</FONT>
<FONT COLOR="#737373">> > >         object library named</FONT>
<FONT COLOR="#737373">> > >                libnss_SERVICE.so.X that resides in /lib.</FONT>
<FONT COLOR="#737373">> > >         </FONT>
<FONT COLOR="#737373">> > >                    /etc/nsswitch.conf       NSS configuration file.</FONT>
<FONT COLOR="#737373">> > >                    /lib/libnss_compat.so.X  implements "compat"</FONT>
<FONT COLOR="#737373">> > >         source.</FONT>
<FONT COLOR="#737373">> > >                    /lib/libnss_db.so.X      implements "db" source.</FONT>
<FONT COLOR="#737373">> > >                    /lib/libnss_dns.so.X     implements "dns" source.</FONT>
<FONT COLOR="#737373">> > >                    /lib/libnss_files.so.X   implements "files"</FONT>
<FONT COLOR="#737373">> > >         source.</FONT>
<FONT COLOR="#737373">> > >                    /lib/libnss_hesiod.so.X  implements "hesiod"</FONT>
<FONT COLOR="#737373">> > >         source.</FONT>
<FONT COLOR="#737373">> > >                    /lib/libnss_nis.so.X     implements "nis" source.</FONT>
<FONT COLOR="#737373">> > >                    /lib/libnss_nisplus.so.X implements "nisplus"</FONT>
<FONT COLOR="#737373">> > >         source.</FONT>
<FONT COLOR="#737373">> > >         </FONT>
<FONT COLOR="#737373">> > >         NOTES</FONT>
<FONT COLOR="#737373">> > >                Within each process that uses nsswitch.conf, the</FONT>
<FONT COLOR="#737373">> > >         entire  file  is  read</FONT>
<FONT COLOR="#737373">> > >                only  once.   If  the  file is later changed, the</FONT>
<FONT COLOR="#737373">> > >         process will continue</FONT>
<FONT COLOR="#737373">> > >                using the old configuration.</FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > > Is this why the default configuration of nsswitch.conf is changing</FONT>
<FONT COLOR="#737373">> > > in Fedora 20, as noted on of the preceeding e-mails?</FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > </FONT>
<FONT COLOR="#737373">> > </FONT>
<FONT COLOR="#737373">> > </FONT>
<FONT COLOR="#737373">> > Yes I think SSS is now included by default. But if man page does not</FONT>
<FONT COLOR="#737373">> > list it it is probably a bug in the man page.</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Hmm, I just built a Fedora 20 Beta VM.  /etc/nsswitch.conf is no</FONT>
<FONT COLOR="#737373">> different than after a Fedora 19 build.</FONT>

That's weird, what is the glibc version? sss should be automatically
added for quite some time, since
<A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=867473">https://bugzilla.redhat.com/show_bug.cgi?id=867473</A> was fixed..
</PRE>
</BLOCKQUOTE>
<BR>
<TT><FONT SIZE="2">[<A HREF="mailto:root@test">root@test</A> ~]# rpm -q glibc</FONT></TT><BR>
<TT><FONT SIZE="2">glibc-2.18-11.fc20.x86_64</FONT></TT><BR>
<TT><FONT SIZE="2">[<A HREF="mailto:root@test">root@test</A> ~]# </FONT></TT><BR>
<BR>
<A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=867473">https://bugzilla.redhat.com/show_bug.cgi?id=867473</A> indicates the problem was fixed in Fedora 18. But the problem still occurs for both Fedora 19 and Fedora 20. Should I reopen the bug report?<BR>
<BR>
<BR>
</BODY>
</HTML>