<p></p>
<p dir="auto">This is not related to C source code.<br>
This is related to the file system used by OS.<br>
<a href="https://en.wikipedia.org/wiki/OSTree" rel="nofollow">https://en.wikipedia.org/wiki/OSTree</a></p>
<p dir="auto">I think, more prefer to use <code class="notranslate">CFGFILE</code> variable in the <code class="notranslate">/etc/sysconfig/kamailio</code> to define a custom config file, like</p>
<pre class="notranslate"><code class="notranslate">[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)
</code></pre>
<p dir="auto">And when I "upgrade" or "install" packages then it will not conflict with files (symbolic links) manually placed on the file system.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3252#issuecomment-1262275739">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLJWOVSHIXEF75662DWAWJ4BANCNFSM6AAAAAAQVWRJGY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZONBI4BE2VF33WIE3TWAWJ4BA5CNFSM6AAAAAAQVWRJG2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSLHTGJW.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3252/1262275739</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3252#issuecomment-1262275739",
"url": "https://github.com/kamailio/kamailio/issues/3252#issuecomment-1262275739",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>