Skip to content

run-document-server.sh triggers a SELinux AVC when the container starts. #855

@JMarcosHP

Description

@JMarcosHP

Currently, the OO container is showing this AVC:

type=AVC msg=audit(1775438739.649:6810): avc: denied { write } for pid=204543 comm="run-document-se" name="fd" dev="proc" ino=969392 scontext=system_u:system_r:spc_t:s0 tcontext=system_u:system_r:container_runtime_t:s0 tclass=dir permissive=0

This happens on every container start/restart even if:

    security_opt:
      - label=disabled

is used.

I think this is the problematic line that triggers the avc :
https://github.com/ONLYOFFICE/Docker-DocumentServer/blame/77ce899978efa62388cb79c59d8297bff740fce1/run-document-server.sh#L808

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions