sawtooth-core icon indicating copy to clipboard operation
sawtooth-core copied to clipboard

Sawtooth should run on modern systems

Open mtbc opened this issue 1 year ago • 0 comments

Less urgently than but related to #2454 (regarding OpenSSL), Sawtooth's,

Supported operating systems: Ubuntu 16.04 ...

is some way back now, the Docker files are largely based on ubuntu:xenial and ubuntu:bionic.

At BTP we've had some success in bringing Sawtooth up to more recent Debian, it may be worth getting it building on a debian:bookworm-slim image or suchlike.

Separately, Sawtooth seems to be working best with old Docker Compose. v1 doesn't even receive updates any more. It'd probably be worth updating the compose files to work with the current latest version. In this effort, also note discussion on #2434.

Software library/package/crate dependencies for the source code may also be worth updating, for ease of both initial installation and subsequent bug patches. On the Rust side, cargo audit is useful.

In general, while backward compatibility is welcome where feasible, Sawtooth should work on a modern system with up-to-date dependencies.

This issue is created to capture discussion on versions of,

  • base Linux image
  • Docker and Docker Compose
  • software libraries

and to include related discussion on if Sawtooth packages still need providing (e.g. *.deb) or if Docker images suffice, which may inform what we can most feasibly achieve.

mtbc avatar Jul 10 '23 16:07 mtbc