Repository navigation
test: drop uid/gid from the v61d_2 daemon config - #8255
Merged
Merged
Conversation
Upstream calls setgid() for any configured module gid even when the daemon is not root (clientserver.c:844, 1100), so a non-root runner got "@error: setgid failed" and the comment claiming upstream ignores uid/gid without root was wrong. With both unset a root daemon still drops to nobody (clientserver.c:833, 872-873).
Carries the session_fork.rs fix from #8253 so this branch's macOS jobs stop failing on the master test-harness race: on EPERM for our own child, SIGKILL the leader before a blocking WNOWAIT wait, and accept a setpgid refusal when the child already leads its own group. The content is identical to #8253, so the two merge without conflict.
oferchen
added a commit
that referenced
this pull request
Nov 4, 2026
The required Windows (stable) job ran core, engine and cli, then metadata, fast_io and transfer; daemon, protocol, rsync_io and the root package only ran in non-gating jobs or not at all on Windows. Run the whole workspace with every feature, as the Linux test job does, and drop the windows-daemon job and the per-crate QUIC steps it subsumes. Give the ACL/xattr metadata step its own 5-minute timeout and upload its nextest log, so a hang like the 30-minute stall on #8255 names its test.
oferchen
added a commit
that referenced
this pull request
Nov 4, 2026
The required Windows (stable) job ran core, engine and cli, then metadata, fast_io and transfer; daemon, protocol, rsync_io and the root package only ran in non-gating jobs or not at all on Windows. Run the whole workspace with every feature, as the Linux test job does, and drop the windows-daemon job and the per-crate QUIC steps it subsumes. Give the ACL/xattr metadata step its own 5-minute timeout and upload its nextest log, so a hang like the 30-minute stall on #8255 names its test.
oferchen
added a commit
that referenced
this pull request
Nov 10, 2026
The required Windows (stable) job ran core, engine and cli, then metadata, fast_io and transfer; daemon, protocol, rsync_io and the root package only ran in non-gating jobs or not at all on Windows. Run the whole workspace with every feature, as the Linux test job does, and drop the windows-daemon job and the per-crate QUIC steps it subsumes. Give the ACL/xattr metadata step its own 5-minute timeout and upload its nextest log, so a hang like the 30-minute stall on #8255 names its test.
oferchen
added a commit
that referenced
this pull request
Nov 10, 2026
…8316) * ci: run the full workspace test surface in the required Windows cell The required Windows (stable) job ran core, engine and cli, then metadata, fast_io and transfer; daemon, protocol, rsync_io and the root package only ran in non-gating jobs or not at all on Windows. Run the whole workspace with every feature, as the Linux test job does, and drop the windows-daemon job and the per-crate QUIC steps it subsumes. Give the ACL/xattr metadata step its own 5-minute timeout and upload its nextest log, so a hang like the 30-minute stall on #8255 names its test. * test: run each Windows test process in a private temp directory * ci: wrap each Windows test process in the per-process temp-dir runner * ci: build vendored OpenSSL with Strawberry Perl in the Windows cell * test: gate the trailing-space filter fixture off Windows; diagnose daemon start Win32 path normalisation (CreateFileW on a path without the \\?\ prefix) strips trailing spaces from each component, so the `a ` fixture in filter_file_record_ends_at_a_carriage_return cannot exist on Windows. Gate the file off Windows; the filter-file reader is platform independent and stays covered on every Unix cell. client_empty_flist_skips_recv_loop's daemon never listened on Windows. This is a diagnostic, not a fix: the harness keeps the daemon's stderr and, when the daemon exits or never listens, fails with its exit status and stderr so the next run names the cause. * ci: run the Windows test step with --no-fail-fast * test: make the full Windows test run pass or skip for a stated reason Daemon-backed client tests gate on unix: Windows refuses --daemon (cli frontend/server/daemon.rs:181-219; task 601 makes it run). QUIC config chunks that need a directive to parse gate on unix: a Windows daemon refuses every QUIC directive, and the existing quic_windows_refusal chunk covers that side. Literal-backslash filter tests and the trailing-space fixtures gate off Windows, where those names cannot exist. link_stat builds its expected path from the tempdir on Windows, since canonicalize returns a verbatim path the child never reports. The ssh -G differential skips an MSYS2 or Cygwin ssh, identified by the runtime DLL beside it: that build reads C:\ paths as relative. xtask branding requires daemon paths to start at /, the fake rpmbuild uses EXE_SUFFIX as the lookup does, and the fake-gh upload test gates on unix. * ci: run feature-combination tests on Windows under the per-process temp-dir runner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v61d_2_daemon_push_increcurse_perf_regressionfailed for any non-root runner once an upstream rsync was installed. Its module config setuid = nobodyandgid = nobody. The comment claimed upstream ignores them when not root, but it does not:gid.@ERROR: setgid failed(exit 5).This PR drops both lines and replaces the wrong comment. With them unset, a root daemon still drops to nobody (clientserver.c:833, 872-873), and a non-root daemon keeps the runner's identity. A root CI job therefore runs the same configuration as before.
Test plan
/usr/bin/rsync3.5.1 linked into the 3.4.1 install path): the test passes. With the previous config it fails with@ERROR: setgid failed (code 5).cargo fmt --all -- --check;cargo clippy -p transfer --all-targets --all-features -D warningsConventional commit prefix
test:Pre-merge checklist