[Samba] Kodi crashes when trying to browse network
Jeremy Allison
jra at samba.org
Fri Nov 2 18:32:53 UTC 2018
On Thu, Nov 01, 2018 at 09:40:32AM -0500, Michael Cronenworth via samba wrote:
> Hi,
>
> I maintain Kodi[1] in RPMFusion[2] and the latest version of Kodi, 18.0, is
> crashing when trying to browse the SMB network. The previous version, 17.x,
> worked fine.
>
> The backtrace shows that Samba was not able to open /dev/urandom, which
> can't be true and must be masking another issue. The issue occurs on any
> Fedora 28 or 29 system (multiple user reports[3]). SELinux is disabled and
> /dev/urandom is chmod' 666.
>
> Any pointers?
>
> Backtrace from samba-client-libs-4.9.1-2.fc29.x86_64:
> #0 0x00007fe785c0b53f in raise () from /lib64/libc.so.6
> #1 0x00007fe785bf5895 in abort () from /lib64/libc.so.6
> #2 0x00007fe782ad97d5 in open_urandom () at ../lib/util/genrand.c:37
> #3 generate_random_buffer (out=out at entry=0x7ffeb252b536 ".\025\260\230\027\207\260U",
> len=len at entry=2) at ../lib/util/genrand.c:46
The above is deliberate. open of /dev/urandom should never fail.
If it does we have worse problems :-).
https://en.wikipedia.org/wiki//dev/random
"In Unix-like operating systems, /dev/random, /dev/urandom and
/dev/arandom are special files that serve as pseudorandom number
generators. They allow access to environmental noise collected
from device drivers and other sources.[1] /dev/random typically
blocks if there is less entropy available than requested;
/dev/urandom typically never blocks, even if the pseudorandom
number generator seed was not fully initialized with entropy
since boot."
What errno is being returned on open of /dev/urandom ?
More information about the samba
mailing list