Discussion:
[Sks-devel] Anyone successfully running SKS on FreeBSD 11.1 ?
Daniel Austin
2018-04-12 14:35:55 UTC
Permalink
Hi Phil,

Both of my SKS instances are running under FreeBSD 11.1-RELEASE-p8 (amd64) (i've not installed -p9 yet)

on pgpkeys.co.uk:

***@bolton:~ # freebsd-version
11.1-RELEASE-p8
***@bolton:~ # pkg info | grep sks
sks-1.1.6 Synchronizing Key Server, a fast OpenPGP keyserver
***@bolton:~ # ps axuwww | grep sks
sks 15201 9.6 0.1 165124 117836 v0- S 25Nov17 12487:16.12 /usr/local/bin/sks db
sks 16683 0.0 0.1 129364 77724 v0- S 25Nov17 1819:38.51 /usr/local/bin/sks recon
and on pgpkeys.eu:

***@roubaix:~ # freebsd-version
11.1-RELEASE-p8
***@roubaix:~ # pkg info | grep sks
sks-1.1.6 Synchronizing Key Server, a fast OpenPGP keyserver
***@roubaix:~ # ps axuwww | grep sks
sks 45338 0.0 0.7 163312 111824 v0- S 18Mar18 3145:05.63 /usr/local/bin/sks db
sks 48048 0.0 0.3 98656 50068 v0- S 18Mar18 309:13.72 /usr/local/bin/sks recon
I use my own package builder, but here's my details for ocaml package:

Name : ocaml
Version : 4.02.3
Origin : lang/ocaml
Architecture : FreeBSD:11:amd64
Prefix : /usr/local
Repository : dan [pkg+http://pkg.dan.tm/FreeBSD:11:amd64/latest]
Categories : lang
Licenses : LGPL20, QPL10
Maintainer : ***@gmail.com
WWW : http://caml.inria.fr/ocaml/
Comment : Objective Caml compiler and programming environment
Options :
DOCS : on
EXAMPLES : on
THREADS : on
X11 : on
Shared Libs required:
libX11.so.6
Annotations :
FreeBSD_version: 1101001
cpe : cpe:2.3:a:inria:ocaml:4.02.3:::::freebsd11:x64
Flat size : 115MiB
Pkg size : 21.1MiB
Description :
Thanks,

Dan.
On Thu, Apr 12, 2018 at 14:03, Phil Pennock wrote:
I updated my system from FreeBSD 10.3 to 11.1, which for the most part
has gone far better than expected. The one dark spot is SKS.

The daemon keeps running away chewing CPU and not responding; ktrace
shows that it's doing nothing but _umtx_op() calls, which is kernel
support for userland threads.

OCaml 4.05.0 and my own patched code, so it's possible that I broke
something at some point in my patches. Berkeley DB 5.3. Code unmodified
since the version which was running fine on FreeBSD 10.3, only
recompiled since then.

I did a fresh keydump download and install; it took around 8 hours for a
fastbuild, which is significantly longer than I expected. (Dell
Poweredge hardware, Intel etc etc).

If there's anyone out there on FreeBSD, can you share tips please?
Anything in particular you did to build with an OCaml other than the one
in Ports, which has the "generate code susceptible to integer overflow
attack" vulnerability? My knowledge of the OCaml ecosystem is poor, I
poked and prodded until I got ocamlbrew appearing to give me working
binaries and I followed the exact same steps when I rebuilt.

Thanks,
-Phil

Loading...