2025-02-05 13:10:41 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2025-04-25 17:54:38 +02:00
|
|
|
if systemd-detect-virt -qc; then
|
|
|
|
echo "haveged service will fail in (unprivileged) container, skipping test"
|
|
|
|
exit 77
|
|
|
|
fi
|
|
|
|
|
2025-02-05 13:10:41 +01:00
|
|
|
if ! systemctl is-active haveged; then
|
|
|
|
echo "haveged service is not active"
|
|
|
|
systemctl status haveged
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|