root@kam01:/home/henning# ls -ld /var/run/kamailio
ls: cannot access '/var/run/kamailio': No such file or directory

root@kam01:/home/henning# ls -l /var/run/kamailio
ls: cannot access '/var/run/kamailio': No such file or directory

Looks as not exist tmpfiles configuration file. I will make review of such file packaging.

About config options

modparam("jsonrpcs", "dgram_user", "www-data")
modparam("jsonrpcs", "dgram_group", "root")

As now the kamailio main process started as a regular user, then the process does not have the capability to change process user and group.
Extra capabilities may be added process back. Additional info https://manpages.debian.org/unstable/manpages/capabilities.7.en.html

Why you want to create Unix socket with owner other than default?
Are you manage Kamailio via web server like nginx, apache?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.