Bug 1452444 - SELinux prevents amanda 3.4.4 from using shared memory
Summary: SELinux prevents amanda 3.4.4 from using shared memory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-19 03:29 UTC by Orion Poplawski
Modified: 2018-10-30 10:01 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:00:04 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3111 None None None 2018-10-30 10:01:02 UTC

Description Orion Poplawski 2017-05-19 03:29:08 UTC
Description of problem:

I built a local copy of amanda 3.4.4 and selinux is preventing the client from sending backups since it uses shared memory (shm_open).  Denials:

type=AVC msg=audit(1495160539.913:171435): avc:  denied  { getattr } for  pid=28967 comm="amandad" name="/" dev="tmpfs" ino=24114 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=filesystem
type=AVC msg=audit(1495163942.876:172060): avc:  denied  { write } for  pid=517 comm="amandad" name="/" dev="tmpfs" ino=11268 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
type=AVC msg=audit(1495163942.876:172060): avc:  denied  { add_name } for  pid=517 comm="amandad" name="amanda_shm_control-517-0" scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
type=AVC msg=audit(1495163942.876:172060): avc:  denied  { create } for  pid=517 comm="amandad" name="amanda_shm_control-517-0" scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file
type=AVC msg=audit(1495163942.876:172060): avc:  denied  { write } for  pid=517 comm="amandad" path="/dev/shm/amanda_shm_control-517-0" dev="tmpfs" ino=8217888 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file
type=AVC msg=audit(1495163942.876:172061): avc:  denied  { link } for  pid=517 comm="amandad" name="sem.uQnnBM" dev="tmpfs" ino=8217890 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file
type=AVC msg=audit(1495163942.876:172062): avc:  denied  { remove_name } for  pid=517 comm="amandad" name="sem.uQnnBM" dev="tmpfs" ino=8217890 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
type=AVC msg=audit(1495163942.876:172062): avc:  denied  { unlink } for  pid=517 comm="amandad" name="sem.uQnnBM" dev="tmpfs" ino=8217890 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file

Presumably this has been added to Fedora selinux policy.

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-102.el7_3.16.noarch

Comment 12 errata-xmlrpc 2018-10-30 10:00:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3111


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