emails, selinux and Fedora 17

lee lee at yun.yagibdah.de
Mon Nov 5 23:03:32 UTC 2012


lee <lee at yun.yagibdah.de> writes:

> Daniel J Walsh <dwalsh at redhat.com> writes:
>
>> On 11/05/2012 04:59 PM, lee wrote:
>>> Daniel J Walsh <dwalsh at redhat.com> writes:
>>> 
>>>> On 11/05/2012 04:35 AM, lee wrote:
>>>>> Hi,
>>>>> 
>>>>> it seems that selinux gets in the way of my self-compiled emacs when
>>>>> gnus is trying to get mails from /var/spool/mail/lee.  Movemail isn't
>>>>> permitted to get the mail from there.
>>
>> file_t means you have a file or file system without labels.  You need to fix
>> the labeling on your machine.
>
> Labels?
>
>> touch /.autorelabel; reboot
>>
>> Will label the entire machine.  If you just put a disk in from another machine
>> you could just run restorecon on that disk.
>
> Yes, /usr/local and /home have been taken over from Debian.  Hmm, there
> is also "fixfiles" ...  That could take a while because I have almost
> 600k files on /home --- but I'll try it, might be my best option with
> rights messed up now.
>
> Will they be labled correctly automatically from now on?  Like when I
> compile and install something on /usr/local, do I need to somehow set
> the labels or don't I have to worry about it?

Commenting myself:  I autorelabeled and sound and the "users" command
work again.  So I guess that does fix problems like with movemail, too.

Thank you for your help!  This list is awesome :)


More information about the users mailing list