https://osmocom.org/https://osmocom.org/favicon.ico?16647414092019-04-07T16:05:58ZOpen Source Mobile Communicationslibosmocore - Bug #3909: osmo_get_rand_id() fails in containerised environmenthttps://osmocom.org/issues/3909?journal_id=138292019-04-07T16:05:58Zipse
<ul></ul><p>To give some context, we found that the current <code>osmo_get_rand_id()</code> behavior breaks OsmoMGW and OsmoMSC when running in a container when the host system runs an older kernel version. In general, it looks wrong to assume that a newer <code>libc</code> always comes with a newer kernel..</p>
<p>As a side note, the <code>osmo_get_rand_id()</code> failure in OsmoMGW was a bit hard to trace - OsmoMGW didn't provide any meaningful log message, just silently rejected all requests. It took us a while to figure out (using <code>strace</code>) that the reason is in the <code>getrandom()</code> returning <code>ENOSYS</code>.</p> libosmocore - Bug #3909: osmo_get_rand_id() fails in containerised environmenthttps://osmocom.org/issues/3909?journal_id=142832019-05-08T15:04:49Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-1 priority-lowest" href="/issues/2610">Feature #2610</a>: optimize GnuTLS fallback</i> added</li></ul> libosmocore - Bug #3909: osmo_get_rand_id() fails in containerised environmenthttps://osmocom.org/issues/3909?journal_id=217142021-03-24T12:34:59Zlaforge
<ul><li><strong>Category</strong> set to <i>libosmocore</i></li></ul>