FS#33192 - [hefur] Socket /var/run/hefur/control not created (due to permissions?)
Attached to Project:
Arch Linux
Opened by Egor Vakhromtsev (vem) - Monday, 24 December 2012, 12:28 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 15 May 2015, 12:15 GMT
Opened by Egor Vakhromtsev (vem) - Monday, 24 December 2012, 12:28 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 15 May 2015, 12:15 GMT
|
Details
Description:
Hefurd not create control socket (/var/run/hefur/control by default). Steps to reproduce: 1. Install hefur 2. Enable it with systemctl: # systemctl enable hefurd.service 3. Start hefurd with systemctl: # systemctl start hefurd.service 4. Check it work. Go to http://localhost:6969/stat 5. Try to run hefurctl. Get error: $ hefurctl error: /var/run/hefur/control: No such file or directory I think hefurd just can't create socket in /run directory because systemd unit sets nobody as hefurd user. |
This task depends upon
As a user, you can copy and modify the init script to make sure that hefur will be able to create the control socket.
Also you can ensure what is the failure reason, by stracing hefurd and see why it fails to create the socket (but it probably starts at the missing /var/run/hefur/ directory).
I am not a security expert so it is just a question/suggestion.
Cheers
https://dl.dropboxusercontent.com/u/6596386/hefur-0.4-3.src.tar.gz
please test
Is this fixed now?