I tested on 5.2.0 release and not see any issues with kamailio:daemon permissions.
Please check on your side again.

[root@us-west-sw1 ~]# wget https://download.opensuse.org/repositories/home:/kamailio:/v5.2.x-rpms/CentOS_7/x86_64/kamailio-5.2.0-2.1.x86_64.rpm
--2018-12-05 21:12:36--  https://download.opensuse.org/repositories/home:/kamailio:/v5.2.x-rpms/CentOS_7/x86_64/kamailio-5.2.0-2.1.x86_64.rpm
Resolving download.opensuse.org (download.opensuse.org)... 195.135.221.134, 2620:113:80c0:8::13
Connecting to download.opensuse.org (download.opensuse.org)|195.135.221.134|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://provo-mirror.opensuse.org/repositories/home:/kamailio:/v5.2.x-rpms/CentOS_7/x86_64/kamailio-5.2.0-2.1.x86_64.rpm [following]
--2018-12-05 21:12:37--  https://provo-mirror.opensuse.org/repositories/home:/kamailio:/v5.2.x-rpms/CentOS_7/x86_64/kamailio-5.2.0-2.1.x86_64.rpm
Resolving provo-mirror.opensuse.org (provo-mirror.opensuse.org)... 130.57.72.10
Connecting to provo-mirror.opensuse.org (provo-mirror.opensuse.org)|130.57.72.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5816772 (5.5M) [application/x-redhat-package-manager]
Saving to: ‘kamailio-5.2.0-2.1.x86_64.rpm’

100%[===================================================================================================================================>] 5,816,772   20.3MB/s   in 0.3s   

2018-12-05 21:12:37 (20.3 MB/s) - ‘kamailio-5.2.0-2.1.x86_64.rpm’ saved [5816772/5816772]

[root@us-west-sw1 ~]# yum install kamailio-5.2.0-2.1.x86_64.rpm 
Loaded plugins: fastestmirror
Examining kamailio-5.2.0-2.1.x86_64.rpm: kamailio-5.2.0-2.1.x86_64
Marking kamailio-5.2.0-2.1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kamailio.x86_64 0:5.2.0-2.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================
 Package                              Arch                               Version                                Repository                                              Size
=============================================================================================================================================================================
Installing:
 kamailio                             x86_64                             5.2.0-2.1                              /kamailio-5.2.0-2.1.x86_64                              25 M

Transaction Summary
=============================================================================================================================================================================
Install  1 Package

Total size: 25 M
Installed size: 25 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : kamailio-5.2.0-2.1.x86_64                                                                                                                                 1/1 
warning: group kamailio does not exist - using root
warning: group kamailio does not exist - using root
  Verifying  : kamailio-5.2.0-2.1.x86_64                                                                                                                                 1/1 

Installed:
  kamailio.x86_64 0:5.2.0-2.1                                                                                                                                                

Complete!
[root@us-west-sw1 ~]# systemctl start kamailio
[root@us-west-sw1 ~]# ls -ld /var/run/kamailio/
drwx------. 2 kamailio daemon 120 Dec  5 21:12 /var/run/kamailio/
[root@us-west-sw1 ~]# ls -ld /var/run/kamailio/*
srw-------. 1 kamailio daemon 0 Dec  5 21:12 /var/run/kamailio/kamailio_ctl
-rw-r--r--. 1 kamailio daemon 6 Dec  5 21:12 /var/run/kamailio/kamailio.pid
prw-rw----. 1 kamailio daemon 0 Dec  5 21:12 /var/run/kamailio/kamailio_rpc.fifo
srw-rw----. 1 kamailio daemon 0 Dec  5 21:12 /var/run/kamailio/kamailio_rpc.sock
[root@us-west-sw1 ~]# 

I can see error

warning: group kamailio does not exist - using root
warning: group kamailio does not exist - using root

But this not related to systemd unit file.


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