[Bug 230876] save-entropy: Sync saved random data

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 25 00:50:32 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230876

            Bug ID: 230876
           Summary: save-entropy: Sync saved random data
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: cem at freebsd.org

libexec/save-entropy/save-entropy.sh should probably fsync the directory it
modifies as well as the new file it creates to ensure newly saved entropy makes
it to disk in the event of a crash.

(The entire point of save-entropy is to make saved-entropy RNG seeding
crash-resistant — otherwise we could just rely on rc.d/random's shutdown
component.)

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


More information about the freebsd-bugs mailing list