Game: Windows farm sandbox check fails AppContainer write permission test #1118
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#1118
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported on Discord
Version and system
Beanstack agent nightly-110-002bc3fb on Microsoft Windows 10.0.26200; Intel UHD Graphics, driver 0.405.2992 (Intel Corporation), Vulkan 1.4.323; 16 GB RAM, 4 threads.
What happened
The AppContainer sandbox check failed because the probe could write to a folder expected to be read-only. The low-rights-user mode did not run because its runner account password file is missing. The check also reported failures for the two plain pipe checks, while its summary only identifies
write_grantedas failed/missing and says the current local-name pipe works.Steps
Run
beanstack-agent sandbox-checkon the Windows test-farm machine. The maintainer was asked to runbeanstack-agent setup-windows-userand retest, but no refreshed result or setup error has been provided yet.Exact check output
Fix already merged
Longshot PR #544 adds AppContainer and farm-user control-pipe grants. It is included since
v3.0.0-rc.4(and nightly-171-b80a68f1). This does not establish a fix for the separatewrite_grantedread-only-folder check.Still needed
A refreshed
sandbox-check.txtafter runningbeanstalk-agent setup-windows-userand retesting, or the exact setup error; clarification whether the pipe failures are expected/related; and the Beanstalk agent version/source or repository owner for tracking the runner-side checks. The full originalsandbox-check.txtis attached for context.Related: PR #544 adds the AppContainer and farm-user control-pipe grants and calls for Windows farm testing; this report includes a separate failed read-only-folder permission check and is not assumed to be a fix for that PR.
Files from the Discord report:
Updated with more from Discord: Recorded that PR #544's pipe-permission change is included since v3.0.0-rc.4, without treating it as a fix for the separate read-only-folder failure.
Thanks for the report. This is on Beanstalk's side, not Longshot's.
write_grantedis the one that matters. The sandbox could write a file in a folder it was only given to read, so the check refuses the sandbox on this PC, and the farm sends it no jobs, as it should. The usual causes are a data folder on a drive that keeps no permissions (FAT32 or exFAT, for example a USB stick or an SD card), or a parent folder whose permissions let every app write.*_plainpipe failures are expected. The sandbox can't make pipes with plain names; Longshot uses the local name, and thepipeline says that one works.lowusermode needsbeanstalk-agent setup-windows-userfirst. It's optional if AppContainer passes.Beanstalk#63 makes the check explain a
write_grantedfailure: the drive's file system, plus the folder permissions (with account ids cut). Once the next nightly arrives (the app updates itself), please runbeanstalk-agent sandbox-checkagain and attach the newsandbox-check.txt. If it says the drive keeps no permissions, choose a data folder on an NTFS drive in Settings, and the check should pass.From Discord:
The reporter asks whether files need to be deleted before replacing/updating. No new diagnostic output or system details were provided.