Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Prepare for running the dist suite as an unprivileged user #140

Merged
merged 6 commits into from
Feb 5, 2022

Conversation

Xanewok
Copy link
Contributor

@Xanewok Xanewok commented Feb 5, 2022

Uncontroversial bits of #128

Let's land this first to minimize bitrot and let #128 focus strictly on sandboxing details (need to update it to use fuse-overlayfs and separate another binary entrypoint for the unshared userns variant of the sandbox)

Previously we used CACHEPOT_LOG env var for the client/coordinator but
RUST_LOG for the scheduler/build worker.
This uses CACHEPOT_LOG consistently and we also include the information
what kind of cachepot service (client/coordinator/scheduler/worker) we
are logging from.
No need to spawn the default amount of ~CPU cores for the thread pool,
as the only use is to wait for a UDS connection with a simple timeout.
@Xanewok Xanewok requested review from montekki and drahnr February 5, 2022 00:13
src/lib.rs Outdated Show resolved Hide resolved
@@ -1,6 +1,6 @@
public_addr = "http://127.0.0.1:10600"

[server_auth]
[worker_auth]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

,👍

@Xanewok Xanewok enabled auto-merge (squash) February 5, 2022 16:24
@Xanewok Xanewok merged commit 2551fc8 into master Feb 5, 2022
@Xanewok Xanewok deleted the igor-tweaks branch February 5, 2022 16:35
@Xanewok
Copy link
Contributor Author

Xanewok commented Feb 5, 2022

Er, did I fat-finger something? I enabled the auto-merge but I don't remember merging this by hand and the other checks are still running... In any case, that was not intentional! But the CI was green before so there's that 😅

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants