Watch
0
0
Fork
You've already forked hyperhive
0

grant-bootstrap re-applies the granter and restarts failed policy units; setup treats a refused granting unit as not done

This commit is contained in:
maia 2026-11-19 06:18:04 +01:00 • committed by mara
commit c7d37ca455

View file

@ -333,8 +333,10 @@ enum BaoVerb {
/// Reads the root token from a hidden prompt, or from stdin when stdin isn't
/// a terminal; never from an argument or an environment variable. Writes
/// the `bao-bootstrap` policy, places a 24h grant token for the granter unit
/// and restarts it, so run it as root on the host running that unit. Says so
/// and does nothing when the granter exists already.
/// and restarts it, so run it as root on the host running that unit. When
/// the granter exists already it runs the same steps again, which is how a
/// change to the granter's policy reaches an existing store, then resets
/// and restarts the failed `swarm-bao-*-policy` units.
GrantBootstrap(bao::GrantBootstrapArgs),
}