lotherk 62d9bb9c71 etc: junction, splinter and the four daemons as native services
Six rc.d scripts, all off by default (junction=YES etc. in /etc/rc.conf):
junction (the policy router, 127.0.0.1:8090), splinter (its MCP registry,
8098), wikid (8796), skilld (8790), tasksd (8781) and memoryd (8795).
The programs run in the foreground, so command_args ends in "&"; stop finds
them by their command, they write no pid file.

/etc/junction/junction.conf is a loopback listener with no endpoints and no
rules: a request is answered 503 naming why until one is added (the commented
block is the smallest working setup).  /etc/splinter/splinter.conf has one
provider, the local junction, so the routing decision stays in
/etc/junction/junction.conf and not in splinter.

wikid and memoryd take their embeddings from the local junction and keep
their data in /var/db/<name>; each start_precmd makes the directory.  skilld
and tasksd use their own stores, /var/db/skilld and /var/db/tasksd.

The scripts are installed by src/etc/rc.d/Makefile, the configurations by the
subdir loop in src/etc/Makefile, the directories by NetBSD.dist.base, and the
set list (src/distrib/sets/lists/etc/mi) carries all eight files.

Measured: sh -n on all six rc=0; /sbin/rcorder rc.d/* rc=0, junction at 113
before splinter (117), no stderr.
2026-11-22 11:40:50 +01:00
2026-11-19 10:43:15 +01:00
S
Description
The Modern Unix Workstation OS
https://makronix.hiddenbox.org
7.1 GiB
0 Stars 3 Watchers 0 Forks
Languages
C 83.2%
Roff 5.6%
Assembly 5.3%
Shell 1.5%
Makefile 1.3%
Other 2.6%