Open Source

Bootstrapping / installing pkg on FreeBSD unattended and without answering Yes

Sometimes you want to do things alone. Or rather, without intervention. Unattended. Bootstrapping the pkgng package management tool is one of those things. From the pkgng documentation, “FreeBSD 9.1 and later includes a bootstrap utility which can be used to download and install pkgng, along with its manual pages”. Let me show you how that

Bootstrapping / installing pkg on FreeBSD unattended and without answering Yes Read More »

running OpenVPN as something other than nobody:nobody

I am a big fan of OpenVPN. I’ve been using it since 2008. It’s been extremely reliable and stable. Out of the box, at least on FreeBSD, it runs as nobody:nobody (not really, but that’s how most people configure it). I can’t point to am immediate security issue with this situation. However, I’d prefer it

running OpenVPN as something other than nobody:nobody Read More »

can’t re-use a leaf or module_register: module g_label already exists

For some time, I’ve seen these messages and been slightly bothered by them. Today, I found the solution. can’t re-use a leaf (geom_label)! can’t re-use a leaf (geom_part_gpt)! module_register: module g_label already exists! Module g_label failed to register: 17 module_register: module g_part_gpt already exists! Module g_part_gpt failed to register: 17 Those messages appeared on the

can’t re-use a leaf or module_register: module g_label already exists Read More »

zpool upgrade to get lz4_compress

FreeBSD now has zl4 compression for ZFS. But you must upgrade your pools to get it. If you try before upgrading, you’ll get: # zfs create -o recordsize=8k -o primarycache=metadata -o compress=lz4 system/usr/home/dan/pgsqlsql cannot create ‘system/usr/home/dan/pgsql’: pool must be upgraded to set this property or value So, let’s upgrade: # zpool upgrade -a This system

zpool upgrade to get lz4_compress Read More »

Scroll to Top