An NSS update has broken some functionality in libsrtp. This has been fixed upstream for version 2.4[1], and was backported into Fedora 34[2], but remains a problem in EL9 and CentOS. See #1948729 for details and a patch that resolves the problem. The problem manifested itself for us when trying to run Asterisk built on EL9.1 with libsrtp-2.3.0-7.el9 and encountered these error messages: WARNING[47044] res_srtp.c: Failed to initialize libsrtp ERROR[47044] loader.c: *** Failed to load module res_srtp.so ERROR[47044] asterisk.c: Module initialization failed. ASTERISK EXITING! Applying the patch and building locally resolved the issue, as did installing the updated Fedora RPM. [1] https://github.com/cisco/libsrtp/commit/23576ff4c0ed505997eceace69a336f6bf629027 [2] https://bodhi.fedoraproject.org/updates/FEDORA-2021-9ac23c1745
Wim, mind taking a look here? Looks like a trivial patch to include
I made a merge request: https://gitlab.com/redhat/centos-stream/rpms/libsrtp/-/merge_requests/3 just need QA ack to get it in.
*** Bug 2163492 has been marked as a duplicate of this bug. ***
Would you consider adding the %check section I suggested in https://bugzilla.redhat.com/show_bug.cgi?id=2211526 ? Or do you prefer if I propose that to be added to the package in Fedora?
What %check option? (your link recursively links to this bug). Yes, also add this to fedora if it's useful.
Oh, sorry, I got the link from the wrong tab. I meant this one from the bug marked as duplicate: https://bugzilla.redhat.com/show_bug.cgi?id=2163492#c0