protonscr

steam self destructed and failed to recover due to empty glob

steamopen Steam client
ValveSoftware/steam-for-linux#5100 · opened 2017-07-26 by Turmfalke2 · updated 2017-07-28 · 1 comments · github
TTurmfalke2 2017-07-26 github

Your system information

  • Steam client version (build number or date): today (Wed Jul 26 2017)
  • Distribution (e.g. Ubuntu): Gentoo
  • Opted into Steam client beta?: [Yes/No] unsure
  • Have you checked for system updates?: [Yes/No] yes

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.

Aaaronfranke 2017-07-28 github

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.