我正在使用shorewall和我的Fedora 21服务器和云使用fail2ban。 所有充斥着以下错误信息:
SELinux is preventing shorewall from write access on the file /tmp/fai2ban*.[stderr|stdout] (deleted). For complete SELinux messages. run sealert -l ...
当然,fail2ban显示IP被禁止,但shorewall并不实际禁止它。
在指定文件上运行sealert -l将不会产生任何内容,因为该文件被删除。
当我试图使相关的政策有效时也是如此:
[root@fedora server]# semodule -i shorewall.pp libsepol.print_missing_requirements: shorewall's global requirements were not met: type/attribute shorewall_t (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory). semodule: Failed!
我怎么能解决这个问题?