Bug 560759 - SELinux is preventing /usr/lib64/chromium-browser/chromium-browser "read" access on /home/bioy/.config/chromium/Default/databases/chrome-extension_nfboenbdenomdojedikbbgoemlghpkjn_0.
Summary: SELinux is preventing /usr/lib64/chromium-browser/chromium-browser "read" acc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ac3f024d0a4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-01 19:14 UTC by Michael
Modified: 2010-02-11 14:42 UTC (History)
3 users (show)

Fixed In Version: 3.6.32-84.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-11 14:42:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael 2010-02-01 19:14:44 UTC
Summary:

SELinux is preventing /usr/lib64/chromium-browser/chromium-browser "read" access
on
/home/bioy/.config/chromium/Default/databases/chrome-extension_nfboenbdenomdojedikbbgoemlghpkjn_0.

Detailed Description:

[chromium-browse has a permissive type (chrome_sandbox_t). This access was not
denied.]

SELinux denied access requested by chromium-browse. It is not expected that this
access is required by chromium-browse and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:gnome_home_t:s0
Target Objects                /home/bioy/.config/chromium/Default/databases
                              /chrome-
                              extension_nfboenbdenomdojedikbbgoemlghpkjn_0 [ dir
                              ]
Source                        chromium-browse
Source Path                   /usr/lib64/chromium-browser/chromium-browser
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           chromium-4.0.305.0-0.1.20100122svn36865.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-78.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   670
First Seen                    Tue 12 Jan 2010 11:15:52 AM PST
Last Seen                     Mon 01 Feb 2010 03:41:32 AM PST
Local ID                      3703449e-a40e-4c7f-bc28-5025d44c4211
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265024492.248:1060): avc:  denied  { read } for  pid=2530 comm="chromium-browse" path="/home/bioy/.config/chromium/Default/databases/chrome-extension_nfboenbdenomdojedikbbgoemlghpkjn_0" dev=dm-1 ino=87883833 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gnome_home_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1265024492.248:1060): arch=c000003e syscall=47 success=yes exit=1 a0=11 a1=7fb7e5c5f3a0 a2=40 a3=ffffffff items=0 ppid=1 pid=2530 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=2 comm="chromium-browse" exe="/usr/lib64/chromium-browser/chromium-browser" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-78.fc12,catchall,chromium-browse,chrome_sandbox_t,gnome_home_t,dir,read
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t gnome_home_t:dir read;

Comment 1 Michael 2010-02-01 19:24:44 UTC
I see that a similar bug was fixed in a previous version of selinux-policy, but this still occurs almost every time I start Chrome.

Comment 2 Daniel Walsh 2010-02-02 12:48:47 UTC
Rawhide has

optional_policy(`
	gnome_rw_inherited_config(chrome_sandbox_t)
	gnome_list_home_config(chrome_sandbox_t)
')

########################################
## <summary>
##	read gnome homedir content (.config)
## </summary>
## <param name="user_domain">
##	<summary>
##	The type of the user domain.
##	</summary>
## </param>
#
template(`gnome_list_home_config',`
	gen_require(`
		type config_home_t;
	')

	allow $1 config_home_t:dir list_dir_perms;
')

########################################
## <summary>
##	Read/Write all inherited gnome home config 
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed access.
##	</summary>
## </param>
#
interface(`gnome_rw_inherited_config',`
	gen_require(`
		attribute gnome_home_type;
	')

	allow $1 gnome_home_type:file rw_inherited_file_perms;
')

Comment 3 Miroslav Grepl 2010-02-02 13:38:07 UTC
Also added to selinux-policy-3.6.32-81.fc12

Comment 4 Fedora Update System 2010-02-03 23:21:30 UTC
selinux-policy-3.6.32-82.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-82.fc12

Comment 5 Fedora Update System 2010-02-05 01:45:03 UTC
selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1492

Comment 6 Fedora Update System 2010-02-11 14:37:48 UTC
selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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