Open Source

Ansible playbook for FreeBSD jail.conf.d

While I was moving jails from one host to another, I decided to start using /etc/jail.conf.d/. The idea is each jail gets its own configuration file in that directory, instead of using /etc/jail.conf. In this post: FreeBSD 13.1 But first, you should know Let’s get some things out in the open before you jump into …

Ansible playbook for FreeBSD jail.conf.d Read More »

error: cannot open ‘.git/FETCH_HEAD’: No space left on device

After moving the poudriere jail (pkg01) to the new host (r730-01), I noticed this message from Nagios: That “email found in . /var/mail/dan” message is significant. In general mail on my hosts/jails is not delivered locally. It all goes off-host. That’s why I have this Nagios check. When mail like that is found, it’s either …

error: cannot open ‘.git/FETCH_HEAD’: No space left on device Read More »

Moving the poudriere jail from slocum to r730-01

I recently moved the pkg01 jail from one host to another. I’m having trouble getting it to build packages. [pkg01 dan ~] % sudo poudriere testport -j 131amd64 -p dvl -z primary -i devel/py-pip [00:00:00] Error: Please load the linux module on the host using “kldload linux” On the host: [r730-01 dvl /etc/jail.conf.d] % sudo …

Moving the poudriere jail from slocum to r730-01 Read More »

Why doesn’t sysutils/vm-bhyve start my hosts?

After booting, my vms are not started by sysutils/vm-bhyve. Why? Perhaps it’s because I did not set vm_list. Here is me starting them today up after booting the host yesterday. NOTE: I already have a not to myself to add VM monitoring to Nagios. [pro03 dan ~] % slocum Last login: Tue Jan 17 14:52:12 …

Why doesn’t sysutils/vm-bhyve start my hosts? Read More »

Why does net/mosquitto not save the pid on system restart?

I’m encountering this issue with net/mosquitto on FreeBSD. [empty dan ~] % grep mosquitto /etc/rc.conf mosquitto_enable=”YES” mosquitto_user=”mosquitto” mosquitto_pidfile=”/var/run/mosquitto/mosquitto.pid” [empty dan ~] % sudo service mosquitto status mosquitto is not running. [empty dan ~] % cat /var/run/mosquitto/mosquitto.pid cat: /var/run/mosquitto/mosquitto.pid: No such file or directory [empty dan ~] % ps auwwx | grep mosq mosquitto 8964 0.0 …

Why does net/mosquitto not save the pid on system restart? Read More »

How to limit a jail

After encountering a rare instance where processing a FreeBSD commit caused FreshPorts to run low on resources, I want to investigate how limiting a jail might help this situation. I searched for ‘jail limit’ – found sentencing guidelines. I searched for ‘jail limit freebsd’ and found a FreeBSD Forums referring me to rctl(8), which I …

How to limit a jail Read More »

using syncoid to backup ZFS snapshots – home assistant

Copies of data are good. Especially if on a different host. zfs snapshots combined with zfs send | zfs recv make replication of zfs file systems especially easy. I am already using sanoid to manage zfs snapshots. Now I’m going to use syncoid to transfer those snapshots to another host. Both sanoid and syncoid are …

using syncoid to backup ZFS snapshots – home assistant Read More »

openvpn: error=CRL has expired

After the former FreshPorts server was retired, its OpenVPN credential were revoked. I maintain those certificates via ssl-admin. I uploaded the new CRL into the System | Certificate Manager | Certificate Revocation page in pfSense. Today, I was seeing strange errors in Nagios, and figured someone wasn’t connected to the VPN. Checking OpenVPN client logs, …

openvpn: error=CRL has expired Read More »

Upgrading an NVMe zpool from 222G to 1TB drives

The FreshPorts dev, test, and stage websites are hosted on a server in my basement. Each instance consists of two jails: an ingress node – for pulling in new commits (and other data) into the database. a webserver node – for displaying the web pages. The new drives: Sometimes the zpool gets too close to …

Upgrading an NVMe zpool from 222G to 1TB drives Read More »

Scroll to Top