This post documents my attempt to reproduce the problem outlined in FreeBSD – /etc/pam.d/sshd was updated/overwritten – no merge attempt FYI, this bug report was created before I did this work: pkgbase upgrade to 15.1 restores default /etc/pam.d/* configuration I have a working test jail: testingmerge Snapshot of 15.0 [12:11 r730-03 dvl /usr/local/share] % zfs list grep testingmerge…
I was wondering why hare did not seem to be working anymore. FYI, this bug report was created before I did this work: pkgbase upgrade to 15.1 restores default /etc/pam.d/* configuration 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…
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…
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…
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…
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…
This morning I noticed this in the logs after doing some pkg upgrade. I was mainly updating openvpn, but in that operation, fail2ban was removed (because I went from python312 to python314). I noticed it missing on one host: Can t exec '/usr/local/bin/fail2ban-client': No such file or directory at /usr/local/etc/snmp/fail2ban line 116. I ran this grep to verify fail2ban had been removed from…
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 [ ]
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…
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…