Skip to content

Startup documentation nitpicks #17

@tzaeschke

Description

@tzaeschke

I am on Ubuntu 22.04.4, bazel 7.0.2, go 1.22.0, AMD64. Source has been locally modified as proposed in #16.

I followed the instructions here: https://github.com/netsec-ethz/bootstrapper/

Some minor problems:

  1. After building the packet, the packet is located in a subfolder bin (this is not a problem, it's just not documented).
  2. Generating default configuration with ./scion-bootstrapper -help-config > ./bootstrapper.yml: The generated binary is called bootstrapper, not scion-bootstrapper.
  3. sudo systemctl restart 'scion-bootstrapper@*.service' fails with an error. systemctl status [email protected] yields:
$ systemctl status [email protected]
× [email protected] - SCION Endhost Bootstrapper
     Loaded: loaded (/lib/systemd/system/[email protected]; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-02-23 13:35:44 CET; 18s ago
       Docs: https://www.scionlab.org
    Process: 1972478 ExecStart=/usr/bin/bootstrapper -iface docker0 -config bootstrapper.toml (code=exited, status=1/FAILURE)
   Main PID: 1972478 (code=exited, status=1/FAILURE)
        CPU: 17ms

Feb 23 13:35:44 til-X1 bootstrapper[1972478]: t=2024-02-23T13:35:44+0100 lvl=info msg="identical TRC version already exists, not overwriting" path=/etc/sc>
Feb 23 13:35:44 til-X1 bootstrapper[1972478]: t=2024-02-23T13:35:44+0100 lvl=info msg="identical TRC version already exists, not overwriting" path=/etc/sc>
Feb 23 13:35:44 til-X1 bootstrapper[1972478]: t=2024-02-23T13:35:44+0100 lvl=info msg="identical TRC version already exists, not overwriting" path=/etc/sc>
Feb 23 13:35:44 til-X1 bootstrapper[1972478]: t=2024-02-23T13:35:44+0100 lvl=info msg="Fetching signed topology" url=http://[2001:67c:10ec:3544::26]:8041/>
Feb 23 13:35:44 til-X1 bootstrapper[1972478]: t=2024-02-23T13:35:44+0100 lvl=eror msg="Failed to fetch signed topology from http://[2001:67c:10ec:3544::26>
Feb 23 13:35:44 til-X1 bootstrapper[1972478]: t=2024-02-23T13:35:44+0100 lvl=eror msg="Bootstrapping failed" err="status not OK: status: 404 Not Found"
Feb 23 13:35:44 til-X1 bootstrapper[1972478]: t=2024-02-23T13:35:44+0100 lvl=info msg="=====================> Service stopped bootstrapper"
Feb 23 13:35:44 til-X1 systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Feb 23 13:35:44 til-X1 systemd[1]: [email protected]: Failed with result 'exit-code'.
Feb 23 13:35:44 til-X1 systemd[1]: Failed to start SCION Endhost Bootstrapper.

The result error code (line 4 and 2nd line from end) is result: 'exit-code' where is should probably print the actual exit code instead of the string exit-code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions