Bug 439893 - Various hal related SELinux AVC denials when logging via gdm.
Summary: Various hal related SELinux AVC denials when logging via gdm.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-31 21:31 UTC by Matěj Cepl
Modified: 2018-04-11 09:30 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-04-01 05:27:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
myhal module (359 bytes, text/plain)
2008-03-31 21:52 UTC, Matěj Cepl
no flags Details

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


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