Bug 1151967 - SELinux is preventing /usr/bin/systemd-ask-password from 'unlink' accesses on the sock_file .
Summary: SELinux is preventing /usr/bin/systemd-ask-password from 'unlink' accesses on...
Keywords:
Status: CLOSED DUPLICATE of bug 1145978
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8010658943c71db64b4072ac7c2...
: 1151968 1151972 1151973 1151974 1151975 1151976 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-13 08:36 UTC by autarch princeps
Modified: 2014-10-13 10:44 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-13 10:44:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description autarch princeps 2014-10-13 08:36:28 UTC
Description of problem:
SELinux is preventing /usr/bin/systemd-ask-password from 'unlink' accesses on the sock_file .

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

If sie denken, dass es systemd-ask-password standardmässig erlaubt sein sollte, unlink Zugriff auf  sock_file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# grep systemd-ask-pas /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:openvpn_t:s0
Target Context                system_u:object_r:systemd_passwd_var_run_t:s0
Target Objects                 [ sock_file ]
Source                        systemd-ask-pas
Source Path                   /usr/bin/systemd-ask-password
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           systemd-208-22.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-189.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.16.5-200.fc20.x86_64 #1 SMP Fri
                              Oct 10 02:29:21 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-10-13 10:35:47 CEST
Last Seen                     2014-10-13 10:35:47 CEST
Local ID                      83602199-acc8-4cfe-aefc-ee68cc7d398b

Raw Audit Messages
type=AVC msg=audit(1413189347.546:427): avc:  denied  { unlink } for  pid=2847 comm="systemd-ask-pas" name="sck.6479201290489560630" dev="tmpfs" ino=38168 scontext=system_u:system_r:openvpn_t:s0 tcontext=system_u:object_r:systemd_passwd_var_run_t:s0 tclass=sock_file permissive=1


type=SYSCALL msg=audit(1413189347.546:427): arch=x86_64 syscall=unlink success=yes exit=0 a0=7fe6333dc270 a1=7fff52d53fcc a2=7fe6333dc2b0 a3=7fff52d53fc0 items=0 ppid=2846 pid=2847 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-ask-pas exe=/usr/bin/systemd-ask-password subj=system_u:system_r:openvpn_t:s0 key=(null)

Hash: systemd-ask-pas,openvpn_t,systemd_passwd_var_run_t,sock_file,unlink

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.16.5-200.fc20.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-10-13 10:23:37 UTC
*** Bug 1151968 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2014-10-13 10:23:48 UTC
*** Bug 1151972 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2014-10-13 10:23:51 UTC
*** Bug 1151973 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2014-10-13 10:24:00 UTC
*** Bug 1151974 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2014-10-13 10:24:04 UTC
*** Bug 1151975 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2014-10-13 10:24:10 UTC
*** Bug 1151976 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Grepl 2014-10-13 10:44:09 UTC

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


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