[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Louis E Garcia II wrote:
> On Mon, 2007-10-15 at 17:10 -0400, Daniel J Walsh wrote:
>> On Mon, 2007-10-15 at 16:39 -0400, 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.
> 
> Yes it did and a few other problems I had, thanks.
> 
> One more thing, everything under /home is user_home_t but /home itself is
> still home_root_t. Is this correct?
> 
> $ls -Z /home
> drwx------  root     root  system_u:object_r:lost_found_t:s0 lost+found
> drwx------  louisg00 users system_u:object_r:user_home_dir_t:s0 louisg00
> 
> $ls -Zd /home
> drwxr-xr-x  root root system_u:object_r:home_root_t:s0 /home
> 
> 
Yes that is correct.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHFhbSrlYvE4MpobMRAhCwAKDRIClT2geHD/9iidNRQlHHdCUtgwCgmrqg
d4FJQdODbJd0+seCyScnchQ=
=z+m0
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]