steam-runtime-sniper creates var/tmp-XXXXXX folder that confuses backup tools
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- shell
調査の方向性
まず、Steam Runtime Sniper による var/tmp-XXXXXX ディレクトリの処理を調べ、記載されている Steam の起動およびバックアップ手順を使って問題を再現します。Steam を再起動してもディレクトリの名前が変更されたり、同等のディレクトリが再作成されたりしなくなり、その結果 rsync がデータを再コピーしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Your system information
- Steam Runtime Version: sniper_platform_0.20240916.101795
- Distribution (e.g. Ubuntu 18.04): Gentoo ~amd64
- Link to your full system information (Help -> Steam Runtime Diagnostics) in a Gist: https://gist.github.com/Anonymous1157/f733a83c09bb2625ed08876005f4cf0d
- Have you checked for system updates?: Yes
- What compatibility tool are you using?: Proton 9.0 (temporarily switched to Proton-GE in an attempt to remove steam-runtime-sniper but it did not let me, but also Proton is not relevant to the issue)
- What versions are listed in
steamapps/common/SteamLinuxRuntime/VERSIONS.txt? 0.20240806.0 - What versions are listed in
steamapps/common/SteamLinuxRuntime_soldier/VERSIONS.txt? 0.20241118.108551 - What versions are listed in
steamapps/common/SteamLinuxRuntime_sniper/VERSIONS.txt? 0.20241118.108552
Please describe your issue in as much detail as possible:
I'm running Steam from the Flatpak.
Steam Runtime Sniper creates a folder Steam/ubuntu12_64/steam-runtime-sniper/var/tmp-XXXXXX in its file structure where the XXXXXX changes every time Steam launches. I tried looking for other reported issues about this folder and it's allegedly being hardlinked from somewhere else rather than unpacking the runtime again every launch, but I'm also far from the only person that's had a weird issue with this folder.
I use rsync to backup my home directory. If I have launched Steam at any time since the last backup, the tmp-XXXXXX folder will change its name. At backup time approximately one gigabyte of data at the remote server will be deleted and a presumably identical gigabyte of data will be copied again as if it were completely new files.
Is there a way to make Steam stop recreating/renaming this folder? I tried to get my friends to reproduce this problem and apparently this folder was not getting renamed for them. I don't know any details about their setup other than it's a different distro but they were also using a Flatpak.
Of course I can work around the problem by excluding this folder in my rsync command. That's fine. But I think this is a problem that should be solved at the runtime so that less technical users don't have to worry about it. I think it's reasonable to expect someone could want a one-click backup solution with no strange gotchas to work around.
Steps for reproducing this issue:
- Launch Steam
- Backup your home directory
- Close and relaunch Steam
- Backup your home directory again
- Watch your backup software delete
Steam/ubuntu12_64/steam-runtime-sniper/var/tmp-XXXXXXand copySteam/ubuntu12_64/steam-runtime-sniper/var/tmp-YYYYYY - Repeat ad nauseum until your NAS' storage wears out
- 主要言語
- Shell
- スター
- 1.5k
- フォーク
- 98
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ValveSoftware/steam-runtime のほかの issue
-
難易度 4/5 1〜2日 初心者へのやさしさ 45/100
ValveSoftware/steam-runtime#865 · コメント 3 件 ·
-
Need Retest Pressure Vessel
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ValveSoftware/steam-runtime#854 · コメント 4 件 ·
-
Need Retest
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
ValveSoftware/steam-runtime#853 · コメント 6 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
ValveSoftware/steam-runtime#851 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
ValveSoftware/steam-runtime#847 · コメント 3 件 ·
ValveSoftware/steam-runtime の issue をすべて見る
似ている issue
-
area:docs documentation good first issue priority:medium
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PostHog/posthog-js#5524 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
paperclipai/paperclip#18671 ·
メンテナーはふだん 1 日以内に返信
-
package-update
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
area:core
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
julian-hemmer/ypass#4 ·