I open a CLI and start the binary manually:
The game doesn't restart though, but just terminates here.$ ./bin/x64/factorio
0.000 Initializing Steam API.
steam.sh: line 122: DISTRIB_RELEASE: unbound variable
steam.sh: line 122: DISTRIB_RELEASE: unbound variable
steam.sh[1931]: Running Steam on gentoo 64-bit
steam.sh: line 122: DISTRIB_RELEASE: unbound variable
steam.sh[1931]: STEAM_RUNTIME is enabled automatically
setup.sh[2003]: Steam runtime environment up-to-date!
steam.sh[1931]: Steam client's requirements are satisfied
0.000 Steam requires game restart, restarting...
Attaching the logs here, can't see anything particularly interesting in them.
Tried to run a file verification on steam, which reports back all files successfully validated.