Hot answers tagged


Here's some snippets from on how to create a custom policy module with allow2audit. Try it setenforce 0 grep phantomjs /var/log/audit/audit.log | audit2allow -m httpd_phantomjs > httpd_phantomjs.te cat httpd_phantomjs.te Install it grep phantomjs /var/log/audit/audit.log | audit2allow -M httpd_phantomjs ...


You built PhantomJS on a much newer system than the one you're trying to deploy it on. Rebuild it on a system matching the deployment system.


You need to update your port tree. Run: portsnap fetch update If you want to keep your port tree updated on a regular basis you can create a periodic script. This is the script I use on my dev machine, /usr/local/etc/periodic/weekly/910.portsnap #!/bin/sh - # # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/...


After searching the source code I found that PhantomJS will disable crash dumps if you export a variable export PHANTOMJS_DISABLE_CRASH_DUMPS="on" Source


Yes, command-line switches in ExecStart are allowed in unit files. For example: $ grep ExecStart /usr/lib/systemd/system/sshd.service ExecStart=/usr/bin/sshd -D Your unit is not valid because the first ExecStart= argument must be the a full path of an executable file (reference). You can find it with which phantomjs command.

Only top voted, non community-wiki answers of a minimum length are eligible