[Bug 230762] getentropy(3) should not use ENOSYS to test existence of getrandom(2)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 20 00:32:15 UTC 2018


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

            Bug ID: 230762
           Summary: getentropy(3) should not use ENOSYS to test existence
                    of getrandom(2)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: delphij at FreeBSD.org

Reported by Mark Millard:

-r338057 built fine for both then:

https://ci.freebsd.org/job/FreeBSD-head-amd64-testvm/9265/console

of -r338065 shows:
(so after "deprecation of arc4random_stir and arc4random_addrandom")

19:38:13 + sudo chroot ufs env 'ASSUME_ALWAYS_YES=yes' pkg update
19:38:13 Bad system call
19:38:13 Build step 'Execute shell' marked build as failure
19:38:13 FTP: Current build result is [FAILURE], not going to run.
19:38:13 [PostBuildScript] - Executing post build scripts.
19:38:13 [FreeBSD-head-amd64-testvm] $ /bin/sh -xe
/tmp/jenkins7995907498943424274.sh
19:38:13 + sh freebsd-ci/scripts/jail/clean.sh
19:38:13 clean jail FreeBSD-head-amd64-testvm
19:38:41 Finished: FAILURE

instead of (from the prior successful one):

18:37:15 + sudo chroot ufs env 'ASSUME_ALWAYS_YES=yes' pkg update
18:37:15 [FreeBSD-head-amd64-testvm.jail.ci.FreeBSD.org] Installing
pkg-1.10.5_1...
18:37:15 [FreeBSD-head-amd64-testvm.jail.ci.FreeBSD.org] Extracting
pkg-1.10.5_1: .......... done
18:37:15 Updating FreeBSD repository catalogue...
18:37:15 pkg: Repository FreeBSD load error: access repo
file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
18:37:15 [FreeBSD-head-amd64-testvm.jail.ci.FreeBSD.org] Fetching meta.txz: .
done
18:37:15 [FreeBSD-head-amd64-testvm.jail.ci.FreeBSD.org] Fetching
packagesite.txz: .......... done
18:37:16 Processing entries: .......... done
18:37:25 FreeBSD repository update completed. 32107 packages processed.
18:37:25 All repositories are up to date.
. . .

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

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


More information about the freebsd-bugs mailing list