Open saez0pub opened 4 months ago
Hi @saez0pub, thanks for reporting this bug.
Yes, that's for sure a bug, thought it's strange why it occurs.
Sysbox emulates the contents of a few files under /proc/sys/kernel
, but interestingly /proc/sys/kernel/random/uuid
is not one of those, meaning that the access to that file within the container is eventually serviced by the Linux kernel (rather than emulated by Sysbox). So it's very strange that we see the same uuid on every invocation.
Let us investigate and get back to you.
Thanks!
The file /proc/sys/kernel/random/uuid should respond a new uuid each time we read it.
Some applications uses this file to generate uuid and we have collisions because it responds always the same uuid.
Here is an example with runc:
Here is the result with sysbox:
Some informations: