[sr-dev] [kamailio/kamailio] commit 0436af5abd8b73e breaks startup for jsonrpcs module (#2391)

Henning Westerholt notifications at github.com
Sun Jul 5 12:48:21 CEST 2020


> all files under `/var/run/` (a symbolic link to `/run`) must be created from scratch on server reboot.
> Could you make a test:
> 
>     1. systemctl disable kamailio
>     2. reboot
>     3. ls -ld /var/run/kamailio
>     4. ls -l /var/run/kamailio
>     5. systemctl enable --now kamailio
>     6. ls -ld /var/run/kamailio
>     7. ls -l /var/run/kamailio
> 
> And paste here output of these commands.

This is without the problematic cfg parameter:

root at kam01:/home/henning# systemctl disable kamailio
Synchronizing state of kamailio.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable kamailio
Removed /etc/systemd/system/multi-user.target.wants/kamailio.service.
reboot

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

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

root at kam01:/home/henning# systemctl enable --now kamailio
Synchronizing state of kamailio.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable kamailio
Created symlink /etc/systemd/system/multi-user.target.wants/kamailio.service → /lib/systemd/system/kamailio.service.

root at kam01:/home/henning# ls -ld /var/run/kamailio
drwxr-x--- 2 kamailio kamailio 120 Jul  5 10:46 /var/run/kamailio

root at kam01:/home/henning# ls -l /var/run/kamailio
total 4
srw------- 1 kamailio kamailio 0 Jul  5 10:46 kamailio_ctl
-rw-r--r-- 1 kamailio kamailio 5 Jul  5 10:46 kamailio.pid
prw-rw---- 1 kamailio kamailio 0 Jul  5 10:46 kamailio_rpc.fifo
srw-rw---- 1 kamailio kamailio 0 Jul  5 10:46 kamailio_rpc.sock


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2391#issuecomment-653872669
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200705/61d28473/attachment-0001.html>


More information about the sr-dev mailing list