iocage

I was asked why I was exasperated with iocage: This is the list of issues where I found my name. A given issue may be listed multiple times. Oct 2017 – iocage upgrade is looping: https://github.com/iocage/iocage/issues/399 Jun 2018 – cannot run ‘iocage start’ from my home dir: https://github.com/iocage/iocage/issues/567 Aug 2018 – entries in fstab disappear: https://github.com/iocage/iocage/issues/595 Dec 2018 – Cannot install 12.0 in a jail: https://github.com/iocage/iocage/issues/715 Jan 2019 – iocages puts exec files […]

iocage Read More »

Installing Owntracks recorder on FreeBSD

I went and did a thing. I ported OwnTrack Recorder to FreeBSD. In this post: FreeBSD 12 owntracks/recoder 0.8.4 I refer to owntracks/recorder as ot-recorder. The FreeBSD service is known as otrecorder On FreeBSD, ot-recorder runs as the ot-recorder user, created by the package. I did not want it running as root. ot-recorder installs mosquitto by default, because it needs it’s libraries. That is also the reason why it installs curl. I chose

Installing Owntracks recorder on FreeBSD Read More »

upgrading to LibreNMS 1.53.1

When upgrading to LibreNMS 1.53.1, your website will not load. You’ll see a message saying check the logs. There will be nothing useful in the logs. I checked. Nothing. This is how I fixed the loading issue. In this post: FreeBSD 12.0 LibreNMS 1.51 running in a jail Upgrading to 1.53.1 First attempts Running as www OK, let’s run that as www. Eh? What? References Searching around, I found nothing useful. I found

upgrading to LibreNMS 1.53.1 Read More »

Replacing both drives in a zpool mirror

As previously mentioned, zuul has new drives. It is now time to replace the existing drives with the new drives. I will do this one at a time. Replace. Wait for resilver. At no time will the mirror be degraded (as would be the case if we removed a drive and mirrored). In this approach, we will mirror one of the drives to a new drive, and zfs will automatically remove the old

Replacing both drives in a zpool mirror Read More »

new drives for zuul

I have two new drives for zuul. I’ll start adding them into the zpool soon. For now, here is the smarctl output for the new drives. I’ll start some tests on them soon. By new, I mean new to this host. The drives have 17,000 hours on them. [dan@zuul:~] $ sudo smartctl -a /dev/ada2 smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-RELEASE-p7 amd64] (local build) Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org === START

new drives for zuul Read More »

Adding new DNS zones when using nsupdate & bind

Back in the good old days, I managed my DNS zones files by checking them into the repo, and then running svn up on the name servers. When I started using Let’s Encrypt, I stopped doing that because of the use of nsupdate. This post outlines how I added two new zones to my nameservers: vbsdcon.org vbsdcon.com The zone files Here is the zone I created. $ cat vbsdcon.org.db vbsdcon.org. 3600 IN SOA

Adding new DNS zones when using nsupdate & bind Read More »

hacking on iocage

Today is the day after BSDCan 2019. The power cables and extension cords from the hacking lounge have been laid to rest in an Ottawa basement until next year. Sitting in my parents garden, I noticed some Nagios cert warnings: I logged into my certificates server (the website from which all my hosts download their certs). The cert looked OK: [dan@webs01:/usr/local/www/certs.unixathome.org/www/certs/x8dtu.unixathome.org] $ ls -l total 14 -rw-r–r– 1 rsyncer rsyncer 1647 May 11

hacking on iocage Read More »

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: 405.pkg-base-audit 410.pkg-audit Where are they from? $ pkg which /usr/local/etc/periodic/security/405.pkg-base-audit /usr/local/etc/periodic/security/405.pkg-base-audit was installed by package base-audit-0.3 You don’t

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 31.4G 3.52T 88K /main_tank/data/freshports main_tank/data/freshports/backend 3.11G 3.52T 88K /main_tank/data/freshports/backend This is a pool I created long ago, but

Mount your ZFS datasets anywhere you want Read More »

Moving your IMAP server to a third party: FastMail

I am moving my existing IMAP services to a third-party, specifically FastMail. I started this process back in March 2017 when I signed up with FastMail. I did a mail migration then, but never proceeded. At present I am hosting my own IMAP server, via Dovecot, RoundCube, and Postfix, running in a FreeBSD jail. I got out of running a public incoming mail server back in 2010. It has been nearly 9 years

Moving your IMAP server to a third party: FastMail Read More »

Scroll to Top