Now the default install of the ocserv create the /var/run/ocserv with root:wheel,but ocserv worker process run as _ocserv:_ocserv permission,so after installed,ocserv failed to start when running "service ocserv onestart".
manually change the owner of the dir to _ocserv:_ocserv fix the problem.
Created attachment 182298 [details]
- Fix permissions for /var/run/ocserv
Created attachment 182304 [details]
The attached patch should fix the problem.
Thanks for reporting!
Created attachment 182308 [details]
Created attachment 182310 [details]
A commit references this bug:
Date: Fri May 5 10:08:34 UTC 2017
New revision: 440146
- Fix ownership and permissions in /var/run/ocserv
- Bump PORTREVISION
Reported by: Joy <email@example.com>