Skip to main content.

2002-Dec-30

Tried wrapping POP3 with SSL:

stunnel -d 995 -p /etc/httpd/conf/ssl.crt/server.crt -r localhost:pop3
But that failed with (using "-D debug -f"):
2002.12.31 00:52:46 LOG3[7390:8192]: SSL_CTX_use_RSAPrivateKey_file: error:0906D06C:PEM routines:PEM_read_bio:no start line
On a Red Hat Linux 8.0 box, under /usr/share/ssl/certs, I did "make stunnel.pem". I pressed enter to use defaults.

Then started with: "stunnel -d 995 -r localhost:pop3" which uses /usr/share/ssl/certs/stunnel.pem certificate.

Started building release sets on Saturday night.

time ./build.sh -u -U -D /home/src/netbsd-1.6 -R /home/src/netbsd-1.6-release
(That took about 68 minutes; normally about eight minutes, but had to build kernels too.)

Saw errors today, like:

> ./usr/src/usr.sbin/ypserv/yptest/CVS/Root
...
> ./usr/src/usr.sbin/zic/obj/zic.o
checkflist: flist inconsistencies found
checkflist: key to output:
<  file in flist but missing from DESTDIR
>  file in DESTDIR but missing from flist
This, I believe, was caused by doing a build.sh with -u so wouldn't start from beginning.

I then tried with unprivileged (and used sudo), because I guessed it wouldn't use this flist. But I had problem again -- and then directories were changed to be owned by root.wheel (I noticed this later).

So I started to build as unprivileged but without update and it failed. So I chowned the files back to reed.src.

I should have looked at the error closer. Because 146 minutes later, I see it again. I happened to have my source tree within the destination (usr/src is in it).

So I did a "make clean", then moved the src to a new directory and trying again. And 142 minutes, it failed again: I had three random, temporary files still in the destdir. So I deleted or moved out of the way.

time ./build.sh -U -u -D /home/src/netbsd-1.6 -R /home/src/netbsd-1.6-release
And it was done in ten minutes. (Later, I learned that the sets were all 20 bytes each!)