From 824e3ea6a72b872aa76c98be67d4ed4dcd681117 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 17 Jun 2025 08:45:33 +0200 Subject: [PATCH 1/3] doc: explain baker keys and baker config file --- docs/introduction/services.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/introduction/services.rst b/docs/introduction/services.rst index f7f64b847b8b..7ee4a0476533 100644 --- a/docs/introduction/services.rst +++ b/docs/introduction/services.rst @@ -140,6 +140,8 @@ following command: $ sudo su tezos -c "octez-client gen keys alice" and the baker will use it automatically. +Indeed, the baker bakes for all the keys for which it has the private key. +If you want to avoid this behavior, you can specify a specific baking key by editing the file ``/etc/default/octez-baker`` and assigning a value to variable ``BAKER_KEY``. Configuring the baker --------------------- -- GitLab From a54af725c177bcb5cbe54e9b82c66f5bbbcde8d1 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 17 Jun 2025 08:58:03 +0200 Subject: [PATCH 2/3] doc: execute apt-get with sudo --- docs/introduction/install-bin-deb.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/introduction/install-bin-deb.sh b/docs/introduction/install-bin-deb.sh index 0bb9a95eaf09..8b61254489b0 100755 --- a/docs/introduction/install-bin-deb.sh +++ b/docs/introduction/install-bin-deb.sh @@ -1,5 +1,9 @@ #!/bin/sh +# The following is needed to allow using "sudo apt-get" below, even though apt-get is +# defined as an alias in library scripts/packaging/tests/tests-common.inc.sh +# shellcheck disable=SC2033 + distribution=$1 release=$2 @@ -62,7 +66,7 @@ if [ "$RELEASETYPE" = "Master" ]; then sudo gpg --dearmor -o /etc/apt/keyrings/octez.gpg echo "deb [signed-by=/etc/apt/keyrings/octez.gpg] https://packages.nomadic-labs.com/$distribution $release main" | sudo tee /etc/apt/sources.list.d/octez.list - apt-get update + sudo apt-get update # [end add repository] else apt-get update -- GitLab From 8b07ab7e7a08835901d8e823da7d6be7c481c374 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Wed, 18 Jun 2025 11:59:36 +0200 Subject: [PATCH 3/3] doc: mention the the baker service also runs a DAL node --- docs/introduction/services.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/introduction/services.rst b/docs/introduction/services.rst index 7ee4a0476533..d1643155c938 100644 --- a/docs/introduction/services.rst +++ b/docs/introduction/services.rst @@ -169,6 +169,7 @@ Now that everything is in place, we can start the Octez baker. This service will automatically start all accusers and bakers for all protocols shipped with the package. +It will also start a :doc:`DAL node <../shell/dal_node>` alongside the baker, which is the recommended setting for all bakers. The logs of the baker are available in ``/var/log/tezos/baker-.log``. -- GitLab