Let us know if it happens again after you manually re-install Steam. Additionally, if you experience this issue on a supported distribution (Ubuntu, SteamOS, or a derivative) then let us know, Gentoo is not officially supported by Valve.
Nothing extracted yet.
Your system information
Please describe your issue in as much detail as possible:
I restarted steam a couple of times and suddenly it self destructed, the last message I got from it was:
/home/turmfalke/.steam/steam/steam.sh: line 455: no match: /home/turmfalke/.steam/steam/*
From the looks of it, it triggered a reset and moved some files into a .save folder and then tried to delete everything in the steamroot with rm -rf, but there was already nothing there and the script failed due to shopt -s failglob. Could it be that it triggered a reset twice in a row? With the first one getting interrupted? Or failing in a different way?
The comment in the steam.sh warns that the system can get corrupted if interrupted and apparently expects trap int to protect from that. I feel like triggering a reset and deleting a everything except for a few selected directories should require a user input.
I can piece my steam installation together again, but I don't feel like this is the expected behaviour when launching steam.