[Burp-users] pid file when server is run as user under Ubuntu
Brought to you by:
grke
|
From: Marat K. <mk...@rq...> - 2017-03-06 14:29:11
|
This is more an answer than a question, but I'd of course appreciate feedback. I installed burp-server from the great ziirish repository on Ubuntu 16.04 and changed user and group parameters in burp-server.conf to non-root user "burp". Then it failed to start due to not having enough access rights to create /var/run/burp-server.pid . Providing necessary access rights is easy but only works until next reboot, since in Ubuntu /var/run is symlinked to /run which is located on tmpfs. Changing pidfile location to different place like user's home directory is possible but ugly. Turns out there's now a canonical way to create temporary files with necessary access rights in Ubuntu. Just put following contents to /etc/tmpfiles.d/burp-server.conf: > #Type Path Mode UID GID Age Argument > f /var/run/burp-server.pid - burp burp - - Then it will be created automagically on reboot belonging to burp. Hope this helps someone, possibly even package author :) -- With Best Regards, Marat Khalili |