Bug 439893

Summary: Various hal related SELinux AVC denials when logging via gdm.
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: halAssignee: David Zeuthen <davidz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: ajax, dwalsh, mcepl, mclasen, pertusus, rstrode
Target Milestone: ---Keywords: SELinux
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-01 05:27:34 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
myhal module none

Description Matěj Cepl 2008-03-31 21:31:54 UTC
Description of problem:
When logging via gdm, I get these AVC denials and gdm crashes -- I was actually
not able to login.

module myhal 1.0;

require {
        type var_run_t;
        type hald_acl_t;
        class file { rename write getattr read lock create unlink };
        class dir { write remove_name add_name };
}

#============= hald_acl_t ==============
allow hald_acl_t var_run_t:dir { write remove_name add_name };

allow hald_acl_t var_run_t:file { rename write getattr read lock create unlink }

Version-Release number of selected component (if applicable):

[matej@viklef ~]$ rpm -q hal
hal-0.5.11-0.2.rc2.fc9.i386
selinux-policy-targeted-3.3.1-26.fc9.noarch
gdm-2.21.10-0.2008.03.26.3.fc9.i386

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Matěj Cepl 2008-03-31 21:52:05 UTC
Created attachment 299772 [details]
myhal module

Comment 2 Daniel Walsh 2008-04-01 05:27:34 UTC
I think these are fixed in the latest policy update by labeling /var/run/hald
hald_var_run_t

Fixed in selinux-policy-3.3.26.fc9