Bug 1204391 - SELinux is preventing abrt-watch-log from 'search' accesses on the directory .config.
Summary: SELinux is preventing abrt-watch-log from 'search' accesses on the directory ...
Keywords:
Status: CLOSED DUPLICATE of bug 1199658
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:568efdb357edb110d55a3230473...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-21 15:26 UTC by 123
Modified: 2015-03-23 12:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-23 12:13:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description 123 2015-03-21 15:26:39 UTC
Description of problem:
I started problem reporter.
SELinux is preventing abrt-watch-log from 'search' accesses on the directory .config.

*****  Plugin catchall (100. confidence) suggests   **************************

If вы считаете, что abrt-watch-log следует разрешить доступ search к .config directory по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
чтобы разрешить доступ, выполните:
# grep abrt-watch-log /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:abrt_watch_log_t:s0
Target Context                unconfined_u:object_r:config_home_t:s0
Target Objects                .config [ dir ]
Source                        abrt-watch-log
Source Path                   abrt-watch-log
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-118.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.0.0-0.rc4.git0.1.fc22.x86_64 #1
                              SMP Mon Mar 16 14:36:23 UTC 2015 x86_64 x86_64
Alert Count                   2
First Seen                    2015-03-21 16:26:02 MSK
Last Seen                     2015-03-21 18:22:54 MSK
Local ID                      7859e430-e3fc-40c6-bf6a-e148402fb8e7

Raw Audit Messages
type=AVC msg=audit(1426951374.56:110): avc:  denied  { search } for  pid=698 comm="abrt-watch-log" name=".config" dev="sda5" ino=951572 scontext=system_u:system_r:abrt_watch_log_t:s0 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=dir permissive=0


Hash: abrt-watch-log,abrt_watch_log_t,config_home_t,dir,search

Version-Release number of selected component:
selinux-policy-3.13.1-118.fc22.noarch

Additional info:
reporter:       libreport-2.5.0
hashmarkername: setroubleshoot
kernel:         4.0.0-0.rc4.git0.1.fc22.x86_64
type:           libreport

Comment 1 Daniel Walsh 2015-03-22 10:45:43 UTC
Probably should dontaudit.  No reason for this tool to be looking in homedirs. Probably some library causing this.

Comment 2 123 2015-03-22 13:20:00 UTC
It was ok I began to have the problem after update.

Comment 3 123 2015-03-23 07:00:33 UTC
Description of problem:
I started powertop without sudo. With sudo powertop was started.

Version-Release number of selected component:
selinux-policy-3.13.1-118.fc22.noarch

Additional info:
reporter:       libreport-2.5.0
hashmarkername: setroubleshoot
kernel:         4.0.0-0.rc4.git0.1.fc22.x86_64
type:           libreport

Comment 4 Lukas Vrabec 2015-03-23 12:13:31 UTC

*** This bug has been marked as a duplicate of bug 1199658 ***


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