systemd-resolved: declare the private-interface fact, the literal mesh0 (lead answer L-2)

The fact itself was missing from the manifest (R2's own gap): the guard
and the uplink-names verb's DefaultRouteLink already read
/etc/node-resolver/private-interface, but nothing rendered it. Its
template is the literal "mesh0" per L-2, quick not thorough: the live
interface, named the same way already by netcheck's TunnelInterface and
networkmanager's unmanaged-devices. One value every module reads instead
is L-2's finding, carried outside this milestone.

Builds: design 08 sign-in-page §7, DQ-1
This commit is contained in:
jochen
2026-11-24 21:36:32 +01:00
parent 691ad760d3
commit ae7d0f874b
4 changed files with 14 additions and 2 deletions
@@ -163,7 +163,10 @@ func (r *Resolver) asks(ctx context.Context, server string) bool {
const SuffixPath = "/etc/node-resolver/suffix"
// PrivateInterfacePath is the file the mesh renders the private network's own interface name into,
// beside SuffixPath (the manifest's fact `private-interface`; design 08 sign-in-page §7, DQ-1).
// beside SuffixPath (the manifest's fact `private-interface`; design 08 sign-in-page §7, DQ-1). The fact's
// template is the literal `mesh0` (lead answer L-2): the live interface, named the same way already by
// netcheck's `TunnelInterface` and networkmanager's `unmanaged-devices`; one value every module reads
// instead is the thorough fix, carried as a finding outside this milestone.
const PrivateInterfacePath = "/etc/node-resolver/private-interface"
// UplinkNamesPath is where `uplink-names` keeps the host names, one a line, whole (design 08 sign-in-page