Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2022 21:39:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260709] arc4random() non-randomness
Message-ID:  <bug-260709-227-PQu8uGg4UC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260709-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260709-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260709

--- Comment #4 from wbe@psr.com ---
Created attachment 231096
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231096&action=
=3Dedit
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 tha=
t'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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260709-227-PQu8uGg4UC>