Questions tagged «phantomjs»

2
如何使用SELinux在CentOS上运行PhantomJS?
我正在尝试在CentOS 5机器上使用PhantomJS制作屏幕快照,但无法使其与SELinux一起使用。它可以在禁用SELinux的同一台机器上工作,因此我真的怀疑SELinux对此负责。 这是我尝试过的方法(所有命令均以root身份运行)以及出现的错误: $ ls -Z /usr/local/phantomjs/phantomjs-1.6.2-linux-x86_64-dynamic/bin -rwxr-xr-x myusername myusername system_u:object_r:bin_t phantomjs 尝试截图-失败 $ cat /var/log/messages | grep avc Sep 13 12:21:18 myserver kernel: type=1400 audit(1347531678.014:398): avc: denied { getattr } for pid=6842 comm="sh" path="/sbin/ldconfig" dev=dm-0 ino=3097762 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file Sep 13 12:21:18 myserver kernel: type=1400 audit(1347531678.014:399): avc: denied { …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.