gdm dosen't show my pix on the face greeter (selinux)

Daniel J Walsh dwalsh at redhat.com
Mon Oct 15 21:10:20 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Louis E Garcia II wrote:
> On Mon, 2007-10-15 at 14:57 -0400, Daniel J Walsh wrote:
>> On Mon, 2007-10-15 at 12:25 -0400, Louis E Garcia II wrote: 
>>> On Mon, 2007-10-15 at 18:02 +0200, Lubomir Kundrak wrote:
>>>> On Sun, 2007-10-14 at 23:59 -0400, Louis E Garcia II wrote:
>>>>> On Fri, 2007-10-12 at 11:48 -0400, Louis E Garcia II wrote:
>>>>>> I put a pix of myself in the 'about me' capplet and have a .face in my
>>>>>> home dir. Why doesn't gdm pick it up?
>>>>>>
>>>>>> -Louis
>>>>> Would this be the cause?
>>>>>
>>>>> SELinux is preventing /usr/sbin/gdm-binary (xdm_t) "read" to
>>>>> (home_root_t).
>>>>>
>>>>>
>>>> Aren'y you using the root account, are you? Where is your login
>>>> picture located? Have you tried runing restorecon on the image?
>>> No, this is a normal user account in /home a seperate partition.
>>>
>>> $ls -Z .face
>>> -rw-r--r--  louisg00 users system_u:object_r:home_root_t:s0 .face
>>>
>> Thils looks like the wrong location for this file. 
>>
>> In my case it would be
>>
>> /home/dwalsh/.face
>>
>> And it would have a context of user_home_t?
> 
> $ls -Z /home/louisg00/.face
> -rw-r--r--  louisg00 users system_u:object_r:home_root_t:s0 .face
> 
> Seems my entire /home dir is labeled home_root_t should I relabel it
> to user_home_t? This is a seperate partition. I remember something like
> putting .relabel in the root partition to have it relabel on boot?
> 
> 
> 
Yes,

restorecon -R -v /home

Should fix the problem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHE9c8rlYvE4MpobMRAh1FAJ48yT3Id6KwFIkDJCBqt4EaknyJAQCdFV/v
WWSaWEptKLbv7DaP4rqCf5Q=
=p18R
-----END PGP SIGNATURE-----




More information about the fedora-devel-list mailing list