This is not related to C source code.
This is related to the file system used by OS.
https://en.wikipedia.org/wiki/OSTree
I think, more prefer to use `CFGFILE` variable in the `/etc/sysconfig/kamailio` to define
a custom config file, like
```
[root@ip-100-85-120-8 ~]# head /etc/sysconfig/kamailio
CFGFILE=/etc/sbc/kamailio.cfg
#
# Kamailio startup options
#
# Amount of shared memory to allocate for the running Kamailio server (in Mb)
SHM_MEMORY=128
# Amount of per-process (package) memory to allocate for Kamailio (in Mb)
```
And when I "upgrade" or "install" packages then it will not conflict
with files (symbolic links) manually placed on the file system.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3252#issuecomment-1262275739
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3252/1262275739(a)github.com>