Repository navigation
v0.1.3
Changed
-
Breaking for a home on a network filesystem: the remote accounting directory
(~/.local/state/bitc/account: the launch lock, ledger and reservations behind the spend cap) is
now refused like the state dir when it is on a network filesystem, with
accounting dir <path> is on NFS; bitc needs a local filesystem for flock(on macOS the message
names the filesystem type). A remote job then falls back to local with that reason (or exits 69 or
75, as for any remote problem) and launches nothing;bitc config checkexits 78, and so does
bitc statuson a host with remote providers or unfinished reservations;bitc doctor --remote
printsfail accounting dir: ...where it used to skip those checks silently. On macOS a filesystem that statfs does not flag
MNT_LOCAL(FUSE) is now refused too, for both the state and accounting dirs. -
bitc sweepon a host whose home is on a network filesystem no longer just prints the refusal and
exits 0. It tears down only the resources it can prove orphaned without trusting flock (past their
own expiry, with a verified owner tag or a ledger launch line), lists every other own resource with
its age and hourly cost without touching it, writes nothing to the accounting dir, skips the git ref
sweep, and exits 78 naming what it tore down, listed, kept and failed on, so a sweep timer fails
visibly. With no usable install secret or an unusable accounting dir it tears down nothing and
exits 78.What to do: on a host whose home is on NFS or another network filesystem, run
bitc sweep
before upgrading, then move the home to a local filesystem.
A host on a local filesystem is not affected.
Fixed
- On macOS,
bitc config checknow reports an unknown provider name in a pool, as Linux does. - On macOS,
status,doctorandsweep --dry-runno longer make a free lock look busy to a
concurrent admission (a spurious wait, or withwait = 0a spurious STARVED or queue exit) or to a
legacyflock -n. They read lock holders withfcntl(F_GETLK), which takes no lock. Linux is
unchanged.
Known issues
- macOS builds still refuse every remote provider: any
[providers.*]table is a config error (78).
macOS as a client to remote providers (#4) needs
the exec-plugin work in #26; both are planned for
0.1.5. - On Linux without a readable
/proc/locks(no procfs, an LSM or seccomp denial, or gVisor),
status,doctorandsweep --dry-runread pool slot holders with a brief try-lock, so for that
moment a concurrent admission can find a free slot busy
(#24). - On Linux, the network-filesystem refusal covers NFS only; a home on CIFS/SMB2 or FUSE is not yet
detected (#25, planned for 0.1.4). - Sprites stays refused until the catch-all egress deny lands
(#6). - Under
[compat]with remote providers on (experimental_remote), a launch that cannot open the
legacy<legacy_dir>/locks/runpod-launch.lock, or take it withinlaunch_wait, still goes ahead
without it, so a legacy launcher's launches are not excluded for that one
(#9). It should be refused with 75 instead.
Workaround: during a mixed rollout, do not run remote bitc jobs and legacy launches against
the same account at the same time. A longerlaunch_waitunder[providers.<type>](default
5m) makes the timeout rarer but does not close it, and does not help when the lock cannot be
opened. A host withoutexperimental_remote, or without[compat], is not affected.
Install
Assets for linux and darwin, amd64 and arm64: bitc_0.1.3_<os>_<arch>.tar.gz (binary, LICENSE,
README) and the bare bitc_0.1.3_<os>_<arch>, with sha256 sums in checksums.txt. Check an install
with bitc version (expect bitc 0.1.3 (commit 9bc24e8) ... release=true).