docker-volume-sshfs вызывает много «предупреждений безопасности SELinux» - PullRequest
0 голосов
/ 10 ноября 2018

Я только что закончил раскручивать новую https://github.com/linuxserver/docker-plex с 3 томами, размещенными в другом месте через https://github.com/vieux/docker-volume-sshfs.

Кажется, что это работает, но при первоначальном просмотре фильмов на компьютере, на котором размещаются эти тома, появляется множество предупреждений безопасности SELinux, и я не уверен, как предоставить необходимые разрешения для остановки этих предупреждений. Я попытался запустить предложенные команды ausearch и semodule, но не повезло.

SELinux is preventing worker from create access on the lnk_file com.plexapp.agents.imdb_e6579afe4df5b9216549932ca2cd952e89c2774d.

Plugin: catchall 
 SELinux denied access requested by worker. It is not expected that this access
is required by worker and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

If you believe that worker should be allowed create access on the com.plexapp.agents.imdb_e6579afe4df5b9216549932ca2cd952e89c2774d lnk_file by default.
You should report this as a bug.
You can generate a local policy module to allow this access.
Allow this access for now by executing:
# ausearch -c 'worker' --raw | audit2allow -M my-worker
# semodule -X 300 -i my-worker.pp
...