Bug 329501 - sabayon is not working with SELinux well.
Summary: sabayon is not working with SELinux well.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sabayon
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-12 15:07 UTC by Daniel Walsh
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-13 03:00:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix selinux file contexts. (1.78 KB, text/x-patch)
2007-10-12 19:54 UTC, Daniel Walsh
no flags Details

Description Daniel Walsh 2007-10-12 15:07:16 UTC
Description of problem:

sabayon is creating the lockdown.zip file in /tmp.  This gets labeled
unconfined_tmp_t,  When it is complete, it "mv"s it to /etc/desktop-profiles

But it does not fix the labeling.  It needs to do a restorecon.   

If you login with a user type that is not allowed to read unconfined_tmp_t like
xguest_t, it will fail.

Comment 1 Daniel Walsh 2007-10-12 19:54:54 UTC
Created attachment 226051 [details]
Patch to fix selinux file contexts.

Comment 2 Matthias Clasen 2007-10-12 22:22:11 UTC
Looks fine to me.


Note You need to log in before you can comment on or make changes to this bug.