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.
NetBSD
NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.
Building
You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:
./build.sh -U -u -j4 -m amd64 -O ~/obj release
Additional build information available in the BUILDING file.
Binaries
Testing
On a running NetBSD system:
cd /usr/tests; atf-run | atf-report
Troubleshooting
- Send bugs and patches via web form.
- Subscribe to the mailing lists. The netbsd-users list is a good choice for many problems; watch current-users if you follow the bleeding edge of NetBSD-current.
- Join the community IRC channel #netbsd @ libera.chat.
Latest sources
To fetch the main CVS repository:
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src
To work in the Git mirror, which is updated every few hours from CVS:
git clone https://github.com/NetBSD/src.git