py-iocage

Converting an iocage jail to a vanilla jail

Tonight I got blocked by iocage and handling a ZFS filesystem from within an iocage jail. These are the steps I followed to convert that jail from iocage to a vanilla jail. The variable To make this solution easier to use, at least for me, on future jail migrations, I have these variables: For example, my devgit-nginx01 jail is at: [dan@knew:~] $ zfs list system/iocage/jails/mysql56 NAME USED AVAIL REFER MOUNTPOINT system/iocage/jails/mysql56 11.5G 20.6T […]

Converting an iocage jail to a vanilla jail Read More »

hostmask on an ip address can affect jail DNS

I encountered, and later solved, a DNS issue on a FreeBSD jail. The jail is my web proxy, of sorts. I have one public IP address, which is dynamic (not relevant, but mentioned only in passing) so all incoming web traffic goes to a single internal RFC-1918 IP address. From there, nginx does reverse proxies out to the various hosts: devgit.freshports.org dev.freshports.org test.freshports.org stage.freshports.org There are more, but you get the idea. Each

hostmask on an ip address can affect jail DNS Read More »

iocage

I was asked why I was exasperated with iocage: This is the list of issues where I found my name. A given issue may be listed multiple times. Oct 2017 – iocage upgrade is looping: https://github.com/iocage/iocage/issues/399 Jun 2018 – cannot run ‘iocage start’ from my home dir: https://github.com/iocage/iocage/issues/567 Aug 2018 – entries in fstab disappear: https://github.com/iocage/iocage/issues/595 Dec 2018 – Cannot install 12.0 in a jail: https://github.com/iocage/iocage/issues/715 Jan 2019 – iocages puts exec files

iocage Read More »

pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record

I’ve been making use of some FreeBSD-provided scripts within my Nagios monitoring. Recently, I started seeing a problem after some jail maintenance. This post is about that problem and the fix. Full disclosure: the issue was not what I thought it was and I did not solve it. I’m using: FreeBSD 11.2-RELEASE-p9 The scripts are: 405.pkg-base-audit 410.pkg-audit Where are they from? $ pkg which /usr/local/etc/periodic/security/405.pkg-base-audit /usr/local/etc/periodic/security/405.pkg-base-audit was installed by package base-audit-0.3 You don’t

pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record Read More »

Moving bacula-sd into a FreeBSD jail

In this post: Bacula 7.4 FreeBSD 11.1 py-iocage 0.9.9.2 I recently wrote about Converting a Dell R710 into a ZFS-based FreeBSD 11.1 tape library bacula-sd and then about getting the drives ready. That system, henceforth referred to as the r710 is now ready for the Bacula setup. Last night I created a jail and installed the software I’ll need. Most of this was done via Ansible. I also configured Bacula both on the

Moving bacula-sd into a FreeBSD jail Read More »

Scroll to Top