Skip to content

Bump tor to 0.4.9.18-r0 and upgrade busybox in the Alpine images - #4683

Draft
pithead-developer[bot] wants to merge 1 commit into
developfrom
deps/tor-0.4.9.18
Draft

pithead-developer[bot] wants to merge 1 commit into
developfrom
deps/tor-0.4.9.18

Conversation

@pithead-developer

Copy link
Copy Markdown
Contributor

What's the problem

develop's required "Build image (tor)" check fails. build/tor/Dockerfile pins tor=0.4.9.17-r0, Alpine now serves only 0.4.9.18-r0, and the build stops at "unable to select packages". Every pull request built against develop fails the same check. The tor image and the tor-client and netwatch test images also keep busybox, busybox-binsh and ssl_client 1.37.0-r31 from their Alpine base, where 1.37.0-r32 is available (#4676).

How I fixed it

This is the tor part of #4668, split out so that develop's checks pass again while #4668 is still in review. Its lines are byte-identical to #4668's, so #4668 merges over it without a conflict.

  • The tor image pins tor 0.4.9.18-r0.
  • The tor image and the tor-client and netwatch test images add busybox, busybox-binsh and ssl_client to the apk add --no-cache --upgrade list they already use for musl and the OpenSSL libraries.
  • The tor image creates its tor user and group as 100:101 before apk runs, and the build fails unless tor is 100:101. Upgrading busybox creates a klogd system user that would otherwise take uid 100 and move tor to 101, while pithead hands the tor data folder to 100:101 (lib/pithead/29-preserved-state-and-dirs.sh, lib/pithead/17-backup-restore.sh), so tor would not start.
  • tests/stack/test-harness-tooling.sh checks the upgrade list in all three images and ties the tor ids to the CLI's chown.

This changes an image that pithead starts, so it needs a hardware end-to-end run that only the runner can start; its result goes below.

Part of #4676.

Here is the proof

Models: claude-opus-5-5 (developer)

🤖 Generated with Claude Code

The tor image, the tor-client test image and the netwatch test image upgrade busybox, busybox-binsh and ssl_client past their Alpine base, and the tor image creates its tor user as 100:101 before apk runs, the owner pithead already gives the tor data folder. Alpine no longer serves tor 0.4.9.17-r0, so the tor image now pins 0.4.9.18-r0. The lines are the same as in #4668.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stage/needs-review green or pending CI, no reviewer verdict on the head yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants