Hades is the AG DSN authentication and authorization system
Documentation for Hades can be found on here
Enter the hades docker container:
docker compose exec --user=builder --workdir=/build/hades hades bashBuilding arpreq
(
cd vendor \
&& (cd arpreq && dpkg-buildpackage --no-sign -b) \
&& sudo dpkg -i python3-arpreq_*.deb;
)Building hades
dpkg-buildpackage --no-sign -b \
&& sudo dpkg -i ../hades_*.deb \
&& sudo systemctl start hadesIssues with the db schema / access
Try recreating the costgresql-cluster in the container:sudo systemctl stop hades-database
sudo /usr/lib/hades/control-database.sh clear
sudo systemctl start hades-databasesetup.py cannot be deleted when rebuilding
This can happen when the template instantiation command fails,
which causes setup.py to not be emitted.
Thus, setup.py clean cannot possibly work.
The quickfix is to
touch /build/hades/setup.pyand then rebuild.
Drawing a systemd unit dependency graph
Inside the docker container:
sydstemd-analyze dot --to-pattern='hades*' > hades.dotThen on your system (assuming it has dot installed):
dot -Tsvg <(<hades.dot | grep -v 'target') > hades.svg
xdg-open hades.svg