FreeBSD

Running pkgbasify on a FreeBSD 15.0 host to convert a jail

Not long ago, I ran pkgbasify on a FreeBSD 15.0 jail – this time I’m going to do it slightly differently. I’m going to run the script on the host. In this post: FreeBSD 15.0 the jail is named dns1 I’ll use the variable MYJAIL to make your copy/paste easier and my future runs easier Following the instructions at https://github.com/FreeBSDFoundation/pkgbasify I did the following. Download [23:03 r730-01 dvl ~/bin] % fetch https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua pkgbasify.lua […]

Running pkgbasify on a FreeBSD 15.0 host to convert a jail Read More »

Updating a FreeBSD 15.0 jail to FreeBSD 15.1 (via pkgbase)

On Friday, I finished upgrading all my FreeBSD hosts from FreeBSD 15 to FreeBSD 15.1 (the first host I did is in this blog post ). Before that, I had run pkgbasify on each of those hosts. I also ran pkgbasify in a jail, but I learned that I can run it from the host, using the -j parameter. Today, I’m going to update that jail using pkgbase, from outside the jail. In

Updating a FreeBSD 15.0 jail to FreeBSD 15.1 (via pkgbase) Read More »

Updating FreeBSD 15.0 to FreeBSD 15.1 (via pkgbase)

I decided that Thursday morning at 8:27 AM was the right time to start my first update from FreeBSD 15.0 to 15.1 – all my hosts are now on pkgbase. I used the pgkbasify script. Now it’s time to update again. In this post: FreeBSD 15.0 (before) FreeBSD 15.1 (after; hopefully) The host is a Microsoft Azure instance FreeBSD 15.1-RELEASE Upgrading Instructions In the following sections, I am showing the steps I carried

Updating FreeBSD 15.0 to FreeBSD 15.1 (via pkgbase) Read More »

During a power outage, how do the three servers in the basement react?

Over the weekend, some branches fell on a neighbor’s power service line. They still had power, but the branches had to be removed. That removal occurred this morning. I saw the trucks at about 6:45 AM as I walked past. I suspected I might lose power, and I did. This post records the shutdown and power on times/sequences. I might find this useful should I need to reevaluate the power-outage procedures. My thought:

During a power outage, how do the three servers in the basement react? Read More »

Running pkgbasify on a FreeBSD 15.0 jail

It’s time. All my hosts are on 15.0 and on pkgbase. Next, let’s move a jail to pkgbase. In this post: FreeBSD 15.0 the jail is named empty NOTE: After running this from within the jail, I learned I should run it from the host and using the -j parameter. I’ll create a new blog post once I do another jail. PLEASE use this updated post instead. I’m following instructions based on the

Running pkgbasify on a FreeBSD 15.0 jail Read More »

after pkgbasify – not finding all the repos?

If, after moving to pkgbase (for me, that was via pkgbasify), you discover you can’t find the package in question, you might, like me, run this command: % pkg repos -e [18:25 r720-02 dvl ~] % pkg repos -e local: { url : “https://fedex.example.org/packages/FreeBSD:15:amd64/”, enabled : yes, priority : 0, signature_type : “PUBKEY”, pubkey : “/etc/ssl/slocum.unixathome.org.cert” } Not to worry, that’s my local repo. What’s missing there is pkgbase. When I compare this

after pkgbasify – not finding all the repos? Read More »

pkgbasify: Authentication error

In this post: FreeBSD 15.0 If you’re running pkgbasify, and you hit this message: [15:02 zuul dvl ~/tmp] % fetch https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua fetch: https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua: Authentication error … my “fix” was: [15:04 zuul dvl ~/tmp] % fetch –no-verify-peer https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua fetch: https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua: Authentication error [15:04 zuul dvl ~/tmp] % fetch –no-verify-peer https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua fetch: https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua: Authentication error [15:04 zuul dvl ~/tmp] % fetch –no-verify-peer https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua pkgbasify.lua 21 kB 25 MBps 00s [15:04 zuul dvl ~/tmp] % As

pkgbasify: Authentication error Read More »

pkgbasify: /var/empty is a readonly zfs filesystem.

After my initial success yesterday with pkgbasify, today, I hit a block. This was my fourth host conversion. In this post: FreeBSD 15.0 The block There I was, minding my own business, when this jumped up and hit me. [root@tallboy:~] # sudo bectl create before-pkgbasify [root@tallboy:~] # uname -a FreeBSD tallboy.unixathome.org 15.0-RELEASE-p10 FreeBSD 15.0-RELEASE-p10 GENERIC amd64 [root@tallboy:~] # fetch https://github.com/FreeBSDFoundation/pkgbasify/raw/refs/heads/main/pkgbasify.lua pkgbasify.lua 21 kB 1910 kBps 00s [root@tallboy:~] # chmod +x ./pkgbasify.lua [root@tallboy:~] #

pkgbasify: /var/empty is a readonly zfs filesystem. Read More »

Did VictoriaLogs miss any logs during the reboot?

Yesterday, I modified r730-01 by Running pkgbasify on FreeBSD 15.0 – as a consequence, my log collecting jail was offline. Did it miss any logs? Let’s find out. In this post: FreeBSD 15.0 syslog-ng-4.11.0_2 (sending logs from FreshPorts production) victoria-logs-1.50.0_2 (receiving logs in the logs jail The period in question Looking at /var/log/messages, I see: With syslogd now stopped, there are no further logs until: NOTE: I had not set the logs jail

Did VictoriaLogs miss any logs during the reboot? Read More »

Running pkgbasify on FreeBSD 15.0

At BSDCan 2026, I attended the pkgbase in Production: A Practical Overview talk. What impressed me was the ease with which one could upgrade from 15.0 to 15.1 etc. Included in the demonstration was pkgbasify (“Automatically convert a FreeBSD system to use pkgbase”). In this post: the host being modified is running FreeBSD 15.0 Today, I took the plunge on my r730-01 host. Following the instructions at https://github.com/FreeBSDFoundation/pkgbasify I did the following. I

Running pkgbasify on FreeBSD 15.0 Read More »

Scroll to Top