Bug 442823 - SELinux is preventing polkit-resolve- (hald_t) "getattr" to <Unknown> (hald_t).
Summary: SELinux is preventing polkit-resolve- (hald_t) "getattr" to <Unknown> (hald_t).
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-17 01:36 UTC by Flóki Pálsson
Modified: 2008-04-17 22:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-17 12:25:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
SElinux AVC and ll of files as root and user (6.42 KB, text/plain)
2008-04-17 01:36 UTC, Flóki Pálsson
no flags Details
audit.log (133.14 KB, text/plain)
2008-04-17 01:38 UTC, Flóki Pálsson
no flags Details

Description Flóki Pálsson 2008-04-17 01:36:13 UTC
Description of problem:
User can not access files on another disk /dev/sda. 
 

Version-Release number of selected component (if applicable):
selinux-policy-3.3.1-33.fc9.noarch

How reproducible:
Always

Steps to Reproduce:
1.
reboot login as user ( floki ) and tray to access with Nautilus on separate disk
( /tonlist )
2.
If I log user out  ( floki ) and then log in as root and then log root out and
user in again then user can access the files on separate disk 
3.
  
Actual results:
When as user then SElinux forbids access.
SELinux is preventing polkit-resolve- (hald_t) "getattr" to <Unknown> (hald_t). 

In permessive mode it is possible to access files on separate disk 

Expected results:
In FC8 then there is no problem to access /tonlist.
FC8 is on third disk. 

Additional info:

Comment 1 Flóki Pálsson 2008-04-17 01:36:14 UTC
Created attachment 302687 [details]
SElinux AVC and ll of files as root and user

Comment 2 Flóki Pálsson 2008-04-17 01:38:42 UTC
Created attachment 302688 [details]
audit.log

The audit log

Comment 3 Daniel Walsh 2008-04-17 12:25:17 UTC
You can allow this for now.

# audit2allow -M mypol -l -i /var/log/audit/audit.log
# semodule -i mypol.pp

Fixed in selinux-policy-3.3.1-35.fc9.noarch

Comment 4 Flóki Pálsson 2008-04-17 22:42:26 UTC
The probem is not solved.
There are no SELinux warnings.

I can access the files on other disk in permessive mode. 
When I  change to Enforcing mode again I to can access the files on other disk.

After rebooting the files are not accessable.

selinux-policy-3.3.1-35.fc9.noarch  is installed.

I have rebooted useding  "Relabel on next reboot"  


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