rebuilderd1
Independent verification of binary packages (daemon)
Usage
rebuilderd [-v]
[-c
/etc/rebuilderd.conf]
Overview
The rebuilderd binary keeps track of the state for all packages, the work queue and assigns rebuilds to rebuilderd-worker instances.
Authentication
There are two public routes so anybody can run rebuildctl pkgs ls and rebuildctl queue ls. Everything else requires authentication. rebuilderd is going to check multiple locations in this order:
•
|
~/.config/rebuilderd.conf |
|---|---|
•
|
/etc/rebuilderd.conf |
•
|
/var/lib/rebuilderd/auth-cookie |
•
|
~/.local/share/rebuilderd-auth-cookie |
Paths ending with .conf are parsed as config files and we're looking for a section like this:
[auth] cookie = "Put your secret here"
With paths ending in auth-cookie we're taking the content as-is. If we can't find a pre-configured value we're going to generate one and write it to /var/lib/rebuilderd/auth-cookie.
Worker authentication
There are two ways to authenticate workers. If you work with a fixed number of workers you can allow-list their keys:
[worker] authorized_workers = ["key1", "key2"]
NOTE: the keys are currently not challenged and the worker doesn't have to prove ownership of the private key. This is going to change in future versions.
You can also use a shared secret that allows you to dynamically join new workers. This is especially useful in cloud setups. A secret can be generated with `pwgen -1s 32`:
[worker] signup_secret = "Put your secret here"
If both are not configured the workers need to provide admin credentials described in the previous section.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.
--check-config until Debian 13 (Trixie);
--config until Debian 13 (Trixie);
--help until Debian 13 (Trixie);
--verbose... until Debian 13 (Trixie);
--version until Debian 13 (Trixie);
-V until Debian 13 (Trixie);
-c until Debian 13 (Trixie);
-h until Debian 13 (Trixie);
-v until Debian 13 (Trixie).