FreeBSD

FreeBSD – /etc/pam.d/sshd was updated/overwritten – no merge attempt

I was wondering why hare did not seem to be working anymore. I tracked it down to a missing line in /etc/pam.d/sshd. The file is there in this snapshot: [12:24 r730-01 dvl /jails/serpico/.zfs/snapshot] % diff -ruN autosnap_2026-08-04_00:00:18_daily/etc/pam.d/sshd /jails/serpico/etc/pam.d/sshd — autosnap_2026-08-04_00:00:18_daily/etc/pam.d/sshd 2023-12-03 16:38:51.359135000 +0000 +++ /jails/serpico/etc/pam.d/sshd 2026-06-12 09:42:15.000000000 +0000 @@ -21,4 +21,3 @@ # password #password sufficient pam_krb5.so no_warn try_first_pass password required pam_unix.so no_warn try_first_pass -session optional pam_exec.so /usr/local/sbin/hare 10.55.0.10 [12:25 r730-01 dvl /jails/serpico/.zfs/snapshot] […]

FreeBSD – /etc/pam.d/sshd was updated/overwritten – no merge attempt Read More »

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)

NOTE: I suspect some configuration file changes happened silently. See FreeBSD – /etc/pam.d/sshd was updated/overwritten – no merge attempt 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

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

Updating FreeBSD 15.0 to FreeBSD 15.1 (via pkgbase)

NOTE: I suspect some configuration file changes happened silently. See FreeBSD – /etc/pam.d/sshd was updated/overwritten – no merge attempt 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

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 »

Scroll to Top