[Bug 260709] arc4random() non-randomness

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Jan 2022 21:39:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260709

--- Comment #4 from wbe@psr.com ---
Created attachment 231096
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231096&action=edit
suggested patch for /usr/local/etc/periodic/security/410.pkg-audit

Well, foo.  It looks like I misunderstood how "periodic" works.

I had thought the sleep call inside /etc/periodic.conf's shell procedure
anticongestion {...} was called every day.  A search with grep revealed that's
not so.

In particular, on the system in question, anticongestion() would only
be invoked every second (usually) or third (occasionally) day.

So, that explains the roughly 50% "no sleep delay" results.

This bug report may be resolved as: not a bug (reporter misunderstood how
things work).

There is a change to /usr/local/etc/periodic/security/410.pkg-audit
you may wish to consider.  I've included that as an attachment.
 -WBE

-- 
You are receiving this mail because:
You are the assignee for the bug.