Open Source

pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record

I’ve been making use of some FreeBSD-provided scripts within my Nagios monitoring. Recently, I started seeing a problem after some jail maintenance. This post is about that problem and the fix. Full disclosure: the issue was not what I thought it was and I did not solve it. I’m using: FreeBSD 11.2-RELEASE-p9 The scripts are: […]

pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record Read More »

Mount your ZFS datasets anywhere you want

ZFS is very flexible about mountpoints, and there are many features available to provide great flexibility. When you create your second zpool this is what it might look like: $$ zfs list -r main_tank NAME USED AVAIL REFER MOUNTPOINT main_tank 893G 3.52T 96K /main_tank main_tank/data 786G 3.52T 88K /main_tank/data main_tank/data/dvl 755G 3.52T 755G /main_tank/data/dvl main_tank/data/freshports

Mount your ZFS datasets anywhere you want Read More »

Converting thin jails to thick jails

I have been using ezjail since at least 2008 (see earlier blog post). A few years ago, I started deploying iocage on new servers. About three months ago, I starting converting systems from ezjail to iocage. When I converted my first system, I found that the existing documentation for conversion was incomplete. Specifically, symlinks were

Converting thin jails to thick jails Read More »

using syncthing between my OSX laptop and my FreeBSD server

We know the routine. You have a desktop, and a laptop, or perhaps two laptops. You want your files in both places. A shared, remotely mounted directory is not ideal. Instead, let’s have the systems synchronize themselves. That’s where syncthing comes in: Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized.

using syncthing between my OSX laptop and my FreeBSD server Read More »

Getting ‘FreeBSD-10.2 is vulnerable’ messages on a 12.0 host

I started playing with /usr/local/etc/periodic/security/405.pkg-base-audit as part of a monitoring system. It works fine from the command line, but when I use Nagios plugins, I am getting unexpected results. By unexpected, I mean messages about FreeBSD 10.2. The host in question runs FreeBSD 12.0. The problem cannot be reproduced on the host, only from the

Getting ‘FreeBSD-10.2 is vulnerable’ messages on a 12.0 host Read More »

Double timestamps in logs

I noticed some double timestamps in my logs recently. They started just after I upgraded the host to FreeBSD 12, but I am not convinced they are related. This is from /var/log/messsages: Jan 22 21:41:40 knew 1 2019-01-22T21:41:40.760533+00:00 knew.int.unixathome.org pkg 89351 – – py36-iocage-devel upgraded: 1.0.0.20181219,1 -> 1.0.0.20190122,1 They started late yesterday, this is from

Double timestamps in logs Read More »

Upgrading to FreeBSD 12.0 from FreeBSD 11.2 using beadm and freebsd-update

Today I will upgrade knew from FreeBSD 11.2 to FreeBSD 12.0. It so happens that this is my last server at home which is still running 11.2, but I do have another server still on 11.2, but that one is at NYI. This post isn’t so much about beadm or about freebsd-update. I have written

Upgrading to FreeBSD 12.0 from FreeBSD 11.2 using beadm and freebsd-update Read More »

Configuring LibreNMS Nginx statistics

This post might help me in configuring net-snmp to deliver Nginx statistics to LibreNMS. As such, this post may not be as helpful to you as the official documentation. Key is this URL: http://127.0.0.1/nginx-status The nginx.conf file needs something like this: NOTE: the fastcgi_pass line might also be fastcgi_pass 10.80.0.92:9000 depending on what you find

Configuring LibreNMS Nginx statistics Read More »

Adding a zroot pool to an existing system

Current FreeBSD versions will allow you to create a zroot zpool from which you can boot. However, when I created the main zpool for slocum (on Fri May 3 2:16 2013), that option did not exist. You might ask: how do I know that date? [dan@slocum:~] $ zfs get creation system NAME PROPERTY VALUE SOURCE

Adding a zroot pool to an existing system Read More »

Scroll to Top