Retire node-resolver-config and the seat need it alone used (hq ADR 0223)
The uplink's holder writes /etc/resolv.conf, so the seat that wrote it and ADR 0220's dependency of it on the uplink have nothing left to say. The migration deletes the store's row; nothing holds it once resolv-conf is unassigned everywhere.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
-- What a machine asks for names is the uplink's holder's to write (novox/hq ADR 0223, retiring what
|
||||
-- ADR 0121 and ADR 0220 decided for node-resolver-config).
|
||||
--
|
||||
-- `/etc/resolv.conf` is written by the module holding `node-uplink` — the program that would otherwise
|
||||
-- rewrite it — so the seat whose holder wrote it, and its need of the uplink beside it, go. Its only
|
||||
-- claimant, `resolv-conf`, declared nothing for one release while every machine handed the file to its
|
||||
-- uplink module in one apply, and was then unassigned everywhere and forgotten before this runs.
|
||||
--
|
||||
-- **The compiled defaults no longer carry it, and that alone would not remove it**: seeding adds a
|
||||
-- seat a release ships and never takes one away (ADR 0122), as 0060 found for the per-node resolver.
|
||||
-- A holding on record goes with it by cascade; a node seat has none. No alias is kept: nothing was
|
||||
-- renamed, and a manifest still claiming the old name should be refused at registration, naming it.
|
||||
--
|
||||
-- Numbered after 0063 (node-hosts-file renamed to node-hostname), which is expected to merge first;
|
||||
-- if this one lands first, the two are renumbered so the order they merge in is the order they run.
|
||||
delete from seat_alias where seat = 'node-resolver-config' or alias = 'node-resolver-config';
|
||||
delete from seat where name = 'node-resolver-config';
|
||||
Reference in New Issue
Block a user