Bug 1775883 - SELinux is preventing (imedated) from 'mounton' accesses on the fichier /run/systemd/unit-root/proc/kmsg.
Summary: SELinux is preventing (imedated) from 'mounton' accesses on the fichier /run/...
Keywords:
Status: CLOSED DUPLICATE of bug 1775882
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:49489246e1fbe661faac6f0113c...
: 1775884 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-23 08:12 UTC by Nicolas Mailhot
Modified: 2019-11-25 17:41 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-25 17:41:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2019-11-23 08:12:32 UTC
Description of problem:
SELinux is preventing (imedated) from 'mounton' accesses on the fichier /run/systemd/unit-root/proc/kmsg.

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

Si vous pensez que (imedated) devrait être autorisé à accéder mounton sur kmsg file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
autoriser cet accès pour le moment en exécutant :
# ausearch -c "(imedated)" --raw | audit2allow -M my-imedated
# semodule -X 300 -i my-imedated.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:proc_kmsg_t:s0
Target Objects                /run/systemd/unit-root/proc/kmsg [ file ]
Source                        (imedated)
Source Path                   (imedated)
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.5-16.fc32.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.4.0-0.rc6.git0.1.fc32.x86_64 #1
                              SMP Mon Nov 4 16:37:09 UTC 2019 x86_64 x86_64
Alert Count                   3
First Seen                    2019-11-22 18:09:04 CET
Last Seen                     2019-11-23 09:11:25 CET
Local ID                      ac47105e-9a26-4f55-af0a-5769ba26af71

Raw Audit Messages
type=AVC msg=audit(1574496685.634:3119): avc:  denied  { mounton } for  pid=471519 comm="(imedated)" path="/run/systemd/unit-root/proc/kmsg" dev="proc" ino=4026532047 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:proc_kmsg_t:s0 tclass=file permissive=1


Hash: (imedated),init_t,proc_kmsg_t,file,mounton

Version-Release number of selected component:
selinux-policy-3.14.5-16.fc32.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.11.3
hashmarkername: setroubleshoot
kernel:         5.4.0-0.rc6.git0.1.fc32.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2019-11-25 08:34:12 UTC
*** Bug 1775884 has been marked as a duplicate of this bug. ***

Comment 2 Lukas Vrabec 2019-11-25 17:41:14 UTC

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


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