Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 145755 - Home_root_t denial and fix
Home_root_t denial and fix
Product: Fedora
Classification: Fedora
Component: selinux-policy-strict (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-01-20 22:16 EST by Ivan Gyurdiev
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-22 16:14:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ivan Gyurdiev 2005-01-20 22:16:27 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041228 Firefox/1.0 Fedora/1.0-8

Description of problem:
audit(1106272260.289:0): avc:  denied  { getattr } for  pid=26981
exe=/usr/sbin/smbd path=/home dev=dm-2 ino=2
tcontext=system_u:object_r:home_root_t tclass=dir

--- admin.te    2005-01-20 20:07:35.000000000 -0700
+++ admin.new   2005-01-20 20:07:47.000000000 -0700
@@ -7,7 +7,7 @@
 ifdef(`direct_sysadm_daemon', `, priv_system_role')
 ; dnl end of sysadm_t type declaration

-allow privhome home_root_t:dir search;
+allow privhome home_root_t:dir { getattr search };

 # system_r is authorized for sysadm_t for single-user mode.
 role system_r types sysadm_t;

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

How reproducible:

Steps to Reproduce:
1. Access a home directory exported via samba.

Additional info:
Comment 1 Daniel Walsh 2005-01-21 12:47:39 EST
Fixed in selinux-policy-*-1.21.2-7

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