From 18dc4603da01878fbf542422f14e97fb578f18a6 Mon Sep 17 00:00:00 2001 From: jknapp Date: Sun, 29 Nov 2026 07:32:18 -0800 Subject: [PATCH] docs(pkg-cache): spell out the canary conf needed before the first sync Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6 --- docs/pkg-cache.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/pkg-cache.md b/docs/pkg-cache.md index 4af9fb4..d1849f7 100644 --- a/docs/pkg-cache.md +++ b/docs/pkg-cache.md @@ -255,6 +255,7 @@ HTTP 200, non-empty, a real PGP signature). The `.asc` is what broke on 2026-11- repos are already cache-first with the origin as 2nd URL. They have no health timer and no `/etc/pkgcache-host.conf`, so `sync` treats them as OFF and would revert them. To keep them on the cache, write the config with `PKGCACHE_ENABLED=1` first. To take them off, run `revert`. +**Before the first `sync` on the canary (192.168.1.148, which must keep using the cache)**, write `/etc/pkgcache-host.conf` there with `PKGCACHE_ENABLED=1`, `PKGCACHE_URL=https://192.168.1.40` and `PKGCACHE_CA=`. A `sync` without that file reverts it to the stock repos. **Why not "cache first, mirrorlist as fallback":** measured on AL10, with mirrorlist/metalink left in place dnf **ignores `baseurl` completely** (0 cache