Bug#1093002: rng-tools-debian: systemd service fails instead of skipping

Thorsten Glaser tg at debian.org
Wed Jan 15 19:28:32 GMT 2025


On Wed, 15 Jan 2025, Sven Geuer wrote:

>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504044#162

>Applying ExecCondition to me seems the most reasonable solution to this
>bug.

Can the script behind ExecCondition pass variables to the script
behind ExecStart or, even better, the unit itself so we can then
use $HRNGDEVICE and $RNGDOPTIONS there?

If not, I’d lean towards one (which?) of the errorlevel-using ones,
because otherwise we’d have to run the detection code twice.

>I believe the service should get skipped per ExecCondition also in this
>case (no random device found/available).

OK.

bye,
//mirabilos
-- 
  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- Henry Nelson, March 1999



More information about the Pkg-systemd-maintainers mailing list