Category: FreeBSD
Anything related to FreeBSD
Upgrading from dns/bind910
to dns/bind911
Upgrading from dns/bind910 to dns/bind911 isn’t particularly difficult. Hopefully, these notes will prepare you for your own endeavour.
Read More → Upgrading fromdns/bind910
to dns/bind911
Boot menu changes in base/head r325694
Update 2017-11-13 r325743 corrected the mistakes. The below no longer applies. Remove /boot/loader.rc.local if you created it. /boot/loader.rc used to be copied from base/head/sys/boot/i386/loader/loader.rc on FreeBSD/amd64. With r325694 this changed to base/head/sys/boot/forth/loader.rc. Nothing was added to base/head/UPDATING, explaining this change. As instructed in /boot/loader.rc, to regain our beloved boot menu, we must create and edit […]
Read More → Boot menu changes in base/head r325694pf(4) as a NAT44 router
pf(4) is a bit optimistic with regard to how many states it can track using the defaults. Raising the hard limits to four times the default seems better:
Read More → pf(4) as a NAT44 routerUpgrading PHP from 7.0.22 to 7.1.9
I created a shell script which began its simple life as After running the script for a second time and a third time, etc, the script was successively changed to: Restart Apache using service apache24 restart. In the end, PHP 7.0.22 got upgraded to PHP 7.1.9. All is well.
Read More → Upgrading PHP from 7.0.22 to 7.1.9Patch for math/py-matplotlib
Without this patch, python2.7 will crash when the loop in setup.py reaches setupext.BackendGtk3Cairo().
Read More → Patch formath/py-matplotlib
ocserv and user-profile=profile.xml
Running OpenConnect’s ocserv with user-profile=profile.xml creates some headache as all files are removed from /var/run at reboot. Enabling ocserv_prep in /etc/rc.conf and adding this shell script solves that problem.
Read More → ocserv anduser-profile=profile.xml
namei
(1) from util-linux
on FreeBSD
After a couple of crude attempts at making my own versions of namei(1) this spring, namei.c and namei.go, I decided to take a look at the original. My goals were to see if I had made any mistakes, and if possible, have the original properly working on FreeBSD.
Read More →namei
(1) from util-linux
on FreeBSD
AMANDA 3.3.9 as of r441897
misc/amanda-{client,server} as of r441897 fails to create the directory /usr/local/etc/amanda and an empty file named /usr/local/etc/amanda/security.conf. The client will fail during client checks and backup runs claiming: failed: planner: [Can’t get realpath of the security file ‘/usr/local/etc/amanda/security.conf’: No such file or directory] Here’s the remedy in the short run: There is one additional issue, pkg-plist […]
Read More → AMANDA 3.3.9 as of r441897Upgrading PostgreSQL from 9.5.7 to 9.6.3
All commands were done as the root user unless indicated. This time it was necessary to create a new ZFS hierarchy of filesystems rooted at /var/db/postgres/data96. Also, the new PostgreSQL DBMS runs as the postgres user, not the pgsql user.
Read More → Upgrading PostgreSQL from 9.5.7 to 9.6.3Consolidation of the mesa libraries in the FreeBSD ports collection
r400699 created some headache for me. The UPDATING file has so far nothing on the matter.
Read More → Consolidation of the mesa libraries in the FreeBSD ports collection