• Bug#1109459: rebuilderd: collection of config files and scripts needed

    From Holger Levsen@21:1/5 to All on Fri Jul 18 12:40:01 2025
    Package: rebuilderd
    Severity: wishlist

    Dear Maintainer,

    this is to document a simple setup because such documentation does not exist.

    To be continued later today... :)


    --
    cheers,
    Holger

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
    ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
    ⠈⠳⣄

    Surely we can discuss whether 5 or 15 is the bigger integer, however this won't change the facts. #climatechange. (John Oliver)

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmh6GgMACgkQCRq4Vgaa qhzzDQ//Qe7eI2+Qz54ebpdIbkbH5ntaVcg8KcJKW3K/2SqomO+kVDjwZFJ0MqxG XwFgRXt2lGxm8RH7W+9q+seAPXrUgaNiJN7rNLMNZ/Sx6JNhiigQtd9TybtNJS1E U0v5pdWToS8DRFTDBE24qIELbU2AEociaNoWdgWY28pIZFd5DjjNJZ7iQMMWjAAS iePogVd5kuGZQJlhntE917EKRWnHopECYos4huKG/xiYY/D6jeXWfPSsGxvdOnLb EUHXsQGnQuA39IC/IO263fZHprNmKV1NL1hfM91VmbOMnJZt4ioGdIqrkMQ8kijS ywMGawPXFSiZCNlhs8Z6szqnZExWc6zsXqVyAhHsJ2WjOvyUxhK3DdVQmjK2Ee9v xbW2R8DVvq728suDkcyY30l6Kbl1L7lHkBv7PDYNlOlrqtsu10vbZ3r7KubdkLYH LuBZ9dOkdVEPgFYnmVMJSeJ9zjO9gY2vMcHsVpukFp5O4PTmF5BGtnd6+DphWjko zniNB95lvpGJzZyRhdIQZj0OEnn5DZ8B1cMn4lmieXPCcNMQZt
  • From Holger Levsen@21:1/5 to All on Mon Jul 28 14:50:01 2025
    --U4hvSk2wPbvNdJLN
    Content-Type: text/plain; charset=utf-8
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    control: retitle -1 rebuilderd: config files and scripts for a simple one machine setup
    control: clone -1 -2
    control: clone -1 -3
    control: clone -1 -4
    control: reassign -3 rebuilderd-worker
    control: reassign -4 rebuilderd-worker
    control: retitle -3 rebuilderd-worker: config files and scripts for a simple one machine setup
    control: retitle -2 rebuilderd: create rebuilderd user
    control: retitle -4 rebuilderd-worker: create rebuilderd-worker user with subuid

    attached is a .tgz Manuel Alberer <[email protected]>
    sent to me during DebConf25 in Brest, which includes these files:
    etc/systemd/system/rebuilderd_boot_cleanup.service
    etc/systemd/system/rebuilderd-cache-cleanup.service
    etc/systemd/system/rebuilderd-cache-cleanup.timer
    etc/systemd/system/rebuilderd-pkgsync.service
    etc/systemd/system/rebuilderd-pkgsync.timer
    etc/systemd/system/rebuilderd.service
    etc/systemd/system/[email protected]
    etc/rebuilderd/rebuilderd_cleanup.sh
    etc/rebuilderd/rebuilderd.conf
    etc/rebuilderd/rebuilder-debian.sh
    etc/rebuilderd/rebuilderd_pkgsync.sh
    etc/rebuilderd/rebuilderd-sync.conf
    etc/rebuilderd/rebuilderd-worker.conf
    etc/nginx/nginx.conf
    var/www/html/index.html

    For trixie I propose to add least put them into /usr/share/doc/rebuilderd(-worker)/examples/ and maybe
    add a README.Debian next to it.

    So I've created several new bugs (as cloned above) as
    I also suggest we do suggest to install rebuilderd in
    the trixie release notes! and this needs some proper docs
    somewhere - see https://salsa.debian.org/ddp-team/release-notes/-/merge_requests/294

    I also think we should aim for getting these bugs fixed with a/the first
    trixie point release (so no need to hurry them in the next two days).

    Final note: I've split out creating the user(s) because that's
    more tricky than just providing documentation files: IMO the users
    should be seperate and they should have seperate home directories (/srv/rebuilderd and /srv/rebuilderd-worker) but all config files
    should live in /etc/rebuilderd. And probably those two usernames are
    ok, or should they be namespaced under debian- ?


    --
    cheers,
    Holger

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
    ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
    ⠈⠳⣄

    Dance like no one's watching. Encrypt like everyone is.

    --U4hvSk2wPbvNdJLN
    Content-Type: application/x-gtar-compressed
    Content-Disposition: attachment; filename="rebuilderd_config.tgz" Content-Transfer-Encoding: base64

    H4sIAAAAAAAAA+w8bVfbONb9Ov4V2sCehBY7LwToQNNnW2BmOE9bOEB3uodhg2IriRbH8lgy IdOyv33vlWzHSZyElg6dOYNmSrAs6V7pvt+rwJRblSOp2MBLPqsR68Tc91jktTtCqLbrMxrE oSNZdM1d9uSzWw3aVrOpP6FNf9aa9dqT+mZtY6u+3ahvbjypwc/trSek9vmgPr/FUtGIkCcR bHXRuGXv/6Tt/H3A1YW1z6Qb8VBxEbRO4oCIwGWEKmJYgiAfECVIwgpkzCLwq08V80iX+0xa r7qKRS1fuNS3u9KBo+0xlfQGTA1FdJV2rpjeDx8+WNb5qeGtC+vghrmnMEK1qgxYcwwoz5YZ R/atEzagPNBLHdxw1VJRzKyzUchaImCyLxQsfhgAjX3/wvqZBoDq61FrEPuK2zFwdIrNt6bD t2pskfzbLnX7zL6vAlgm/xs5+QfR1/K/UXuU/4doBfJ/zCIuPA4i7I8yiVd9RjQ3EJAaj3RG OR2Ql9/3wCSt3KsfIxGH+Y75Au6xTvLU1pDaPh9wkOsiMQ/ElJB/63P8s7bPkX/