| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
| |
The zones come from hrm.dns.zones, a new module that writes zone files
from records by owner name, checked by kzonecheck.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
As application/x-openssh-private-key; algorithm=ed25519, a type of
hrm's own with a validator, from the host's entry in the passage store
unless the host names another, instead of krebs.build.host.ssh.privkey.
sshd reads the key itself, not by LoadCredential=, so it gets ordered
after enstate.service here, and enstate reloads it, which reads the key
again, when it changes. A generated key, after enstate's, keeps sshd
up while enstate has none: on a first boot, with lost state, or after a
rollback it can't serve.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
The forward chain accepts established and related connections itself.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
For both families; ne had it for IPv4 only.
|
| | |
|
| | |
|
| |
|
|
|
| |
Hosts still configured by tv.iptables keep their rules: the adapter
translates them.
|
| | |
|
| |
|
|
| |
ne set IPv4 forwarding itself; IPv6 forwarding came from tv's dirt.
|
| |
|
|
|
|
| |
Peers' subnets are empty but for the hub's, so the hub had no route to
any other host. The other hosts have only hubs as peers: those without
an endpoint were of no use to them.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
As application/x-wireguard-private-key, a type of hrm's own with a
validator, from the host's entry in the passage store unless the host
names another. With networkd, the key is systemd-networkd's credential,
so enstate's module orders it after enstate.service, and enstate
restarts systemd-networkd when the key changes; the scripted unit reads
the key itself, so it gets the ordering here, and enstate restarts it.
Without the key, systemd won't start networkd at all, taking every
interface down; a placeholder key as networkd's fallback credential
leaves only wiregrill down until the key comes.
|
| | |
|
| |
|
|
|
|
| |
The rules pkgs/haskell and pkgs/rust follow, and why, for the next
overlay of the kind.
|
| |
|
|
|
|
| |
As for packages: a checkout in ~/sync/src wins over NIX_PATH, for every
input but nixpkgs and secrets.
|
| |
|
|
|
|
|
|
|
| |
A plan kept in hrm whose package's source has a Cargo.json of its own
doesn't apply. plans shows it as unused/current or unused/stale, and
--update makes it again anyway, as it may apply on a builder. The
sources and feature flags for --update come from the same evaluation as
the states, instead of one more per plan.
|
| |
|
|
|
|
|
|
|
| |
A package file in pkgs/rust names its source as it is; the overlay
builds a cleaned copy of it, and checks the plan against the source
itself. So the copy can leave Cargo.lock out next to a Cargo.json, as
before, while the lock check still has it. A source in the store
already, like a fetched one, isn't copied again.
|
| |
|
|
|
|
|
|
|
|
| |
A plan goes with the source it was made for. A checkout in ~/sync/src
used the plan in pkgs/rust/<pname>/ anyway, which was made for the
package's own source; now it uses its own Cargo.json, or none. A
package's source that has a Cargo.json, like a checkout delivered by
krops' checkouts=, uses that, too; the plan kept in hrm applies only to
sources without one.
|
| |
|
|
|
|
|
|
| |
checkLock knew a crate by name and version only, so a plan with an older
revision of a Git dependency of the same version passed: enstate's plan,
with continuum's config crate at 45b0676 where Cargo.lock had 9f64a8d,
failed to compile on the deploying host.
|
| |
|
|
|
|
|
|
| |
enstate a5175d9 replaces locations by named importers, and refuses the
old form. A slot names its source as { secrets.key = …; }, and krops.nix
puts its importer secrets into each source list's meta.importer, merged
with the host's own enstate.importers.
|
| |
|
|
|
|
|
|
|
| |
Says whether the stored plans hrm builds Rust and Haskell projects from
are current, stale or missing, as hrm's evaluation sees them: the
Cargo.json and cabal2nix.nix of the checkouts in ~/sync/src, and the
Cargo.json kept in pkgs/rust/<pname>/. With --update, makes them again,
for all projects or the named ones.
|
| |
|
|
|
|
|
|
|
|
| |
Only plans in ~/sync/src checkouts were checked, against the checkout. A
plan in pkgs/rust/<pname>/Cargo.json, used wherever there's no checkout,
as on the hosts, wasn't checked at all: enstate's, older than its libc,
passed and failed the build on ru. rustHrmCrateArgs has these packages'
arguments as hrm has them, without what ~/sync/src overrides, for plans
to check them, too.
|
| |
|
|
|
|
|
|
| |
checkLock only sees crates the plan has and the lock doesn't, so a plan
older than a new dependency, like enstate's libc, passed and the build
failed. Now the root crate's non-optional dependencies in Cargo.toml
must be in the plan.
|
| |
|
|
|
|
| |
Its directory for providers, as the host's configuration names it, on a
ramfs that is never written to swap, instead of /run/enstate/krops.
|
| |
|
|
|
|
| |
Memory that is never written to swap, at /run/enstate/memory, with
enstate.providersDir on it, for what providers like krops deliver.
|
| |
|
|
|
|
|
| |
If the checkout has one, instead of running cabal2nix during evaluation.
It starts with the sha256 of the .cabal file it was made from, and a
mismatch fails evaluation, with the command that makes it again.
|
| |
|
|
|
|
|
| |
lib.cleanSource kept cabal's build directory, so a checkout with a build
in it was copied into the store whole. mylib.copyWithout, as for Rust,
leaves out .git, .graveyard and dist-newstyle.
|
| |
|
|
|
|
|
| |
A checkout in ~/sync/src with a cargo build in it was copied into the
store whole. The copying moves to mylib.copyWithout, which the Haskell
overlay can use, too.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The merge happens in the object store, without a worktree, a checkout or
a commit. That fixes a conflict stopping the script before it removed
its worktree, and the removal of .git/worktrees/NAME failing outside the
repository's top directory and in a linked worktree. A conflict now
shows in the diff, as conflict markers. merge-tree knows only git's
default strategy, so GIT_PREVIEW_MERGE_STRATEGY goes. The commit is
checked first, since merge-tree exits with 1, as for a conflict, for a
name it can't resolve.
|
| | |
|
| | |
|