Bug 329501

Summary: sabayon is not working with SELinux well.
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: sabayonAssignee: Alexander Larsson <alexl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-13 03:00:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix selinux file contexts. none

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.