Open Source

pkg: No SRV record found for the repo ‘local’

Today I removed and added the same package. The add failed. Background: I install from my own custom package repo server I do not install from the FreeBSD package servers My packages are built via poudriere The same basic repo configuration file has been in use for years This is what I just encountered: [tallboy dan ~] % sudo pkg install postfix Updating local repository catalogue… Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 […]

pkg: No SRV record found for the repo ‘local’ Read More »

vnet jail on FreeBSD not letting pings through from another non-vnet jail

NOTE: this problem was fixed by moving all the IP addresses to the bridge. See Changing how I use IP address with FreeBSD’s vnet – so IPv6 works I just restarted my pkg01 jail. Now Nagios can’t see it on IPv6. In fact, none of the jails on this host can now ping pkg01. This is FreeBSD 13.1-RELEASE-p6 I did try DAD (based on this previous post, but that’s no help here). [17:19

vnet jail on FreeBSD not letting pings through from another non-vnet jail Read More »

Monitor your backups

It’s good to do automated backups. When you do that, add monitoring to make sure the backups are occurring successfully. In my case, I backup using Bacula. Each job creates a new .bsr file. I copy these files to another location each day. Then I monitor the dates on those files and they should all be less then a day or so old. Edit (added 2023-08-29) This post is about upgrading net-mgmt/unifi6 to

Monitor your backups Read More »

Nagios 3: moving from nrpe 3 to nrpe 4 – what needs changing?

Yesterday, I noticed this message in one of the “daily security run output” emails which FreeBSD host can send out. I’ve used net-mgmt/nrpe3 for several years. It checks remote hosts and runs any number of predetermined commands and returns the results. It’s stable, highly configurable, and just keeps running. I had a look at the replacement (net-mgmt/nrpe) and decided to build and install it. First, it went onto my poudriere package bulding host

Nagios 3: moving from nrpe 3 to nrpe 4 – what needs changing? Read More »

mysqldump: Couldn’t execute ‘FLUSH TABLES’: Access denied; you need (at least one of) the RELOAD or FLUSH_TABLES privilege(s) for this operation (1227)

This article is a copy/paste/modify of mysqldump: Error: ‘Access denied; you need (at least one of) the PROCESS privilege(s) for this operation’ when trying to dump tablespaces. See also Creating read-only PostgreSQL database users for pg_dump and pg_dumpall. I’m linking this because I use both articles on a regular basis. The error After a recent upgrade of MySQL server from 5.7.40 to 8.0.32, my database backups started encountered this error: The search Searching,

mysqldump: Couldn’t execute ‘FLUSH TABLES’: Access denied; you need (at least one of) the RELOAD or FLUSH_TABLES privilege(s) for this operation (1227) Read More »

Is your jail not getting an IPv6 address soon enough? Blame DAD.

I have jails with both IP4 and IPv6 addresses. Lately, I’ve been noticing this in /var/log/messages: And this in console messages: Looking in the jail, it had IPv6 addresses. What gives? In this post: FreeBDS 13.1 The jail example I had a jail, similar to this: After the jail started, I could see both IP addresses on the specified NIC: [besser dan ~] % ifconfig igb0 igb0: flags=8963 metric 0 mtu 1500 options=4a500b9

Is your jail not getting an IPv6 address soon enough? Blame DAD. Read More »

Home Assistant Let’s Encrypt Add-on – how to get the newly obtained cert used?

I have the Let’s Encrypt Add-on configured for my Home Assistant logon. I got it to renew. I see the cert is stored at /data/letsencrypt/live/hass.example.org/fullchain.pem. But I don’t see directory in my terminal session for Home Assistant. It’s as if I should just give up and use an Nginx proxy instead. At least I know how to run that. I see files in /ssl and they have today’s date. openssl is not installed

Home Assistant Let’s Encrypt Add-on – how to get the newly obtained cert used? Read More »

Replacing postfix with dma

I like Postfix. I’ve been a fan of it for over 20 years. I deployed it on every host for outgoing email. Lately, I’ve taken to using dma (DragonFly Mail Agent) as my preferred mail handler on jails and hosts which don’t need to deal with incoming mail, only outgoing mail. After first getting serious with it about 6 months ago, I decided to remove it from all internal hosts during the consolidation

Replacing postfix with dma Read More »

Home Assistant running natively on FreeBSD via bhyve

This is is mostly written after-the-fact without good notes. Much of what I’m writing is pulled from a tweet and from things I did as I later copied this VM from one host to another. In this post: FreeBSD 13.1 vm-bhyve-1.5. edk2-bhyve-g202202_1 qemu-7.2.0 Much of what I’m doing is based up David Reid’s blog post: Home Assistant on FreeBSD. I recommend reading his blog post and using updated values, perhaps from my post,

Home Assistant running natively on FreeBSD via bhyve Read More »

Moving ZFS filesystems/datasets from one ZFS zpool to another

Now that I’ve filled up data01, I bought some more SSDs and created another zpool. Today, on this snow-is-anticipated Saturday winter morning, I’m going to move some ZFS filesystems/datasets around. Side note: I like the term dataset better than filesystem. man zfs talks about datasets, which can be a file system, a volume, a snapshot, or a bookmark. However, usually when I talk about a filesystem, it might be dataset. It’s a fine

Moving ZFS filesystems/datasets from one ZFS zpool to another Read More »

Scroll to Top