Sep 032014

Last night, this worked fine. This morning, it fails: # ansible-playbook jail-mailjail.yml PLAY [mailjails] ************************************************************** GATHERING FACTS *************************************************************** failed: [] => {“failed”: true, “parsed”: false} invalid output was: Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts TASK: [pkg | install pkg] ***************************************************** FATAL: no hosts matched or all hosts [...]

Aug 142014

After a lengthy Twitter discussion this afternoon, and a post to the forums, I decided to alter my ezjail basejail. The issue: when you update the basejail, /etc/rc.d and /etc/periodic do not get updated. This is by design. I wanted those directories to get updated. So I have changed the basejail. I will outline first, [...]

Aug 132014

I’m doing some work with logstash-forwarder as part of a consolidation effort to get all the logs into one place, and using logstash to put them into Elasticsearch. logstash-fowarder requires the Go programming language, and that will be our first step. Installing go, the programming language I am assuming you are installing go at /usr/local; [...]

Jul 262014

This was done on FreeBSD 9.2-RELEASE-p10. After my boss told me about losing qmail logs from a jail some time ago when a server was shutdown, I started looking at some tests to ensure that jails are shutdown properly. I am beginning to suspect they are not. Consider this test. I added this to /usr/local/etc/rc.d/nullmailer [...]

Jul 202014

Background I was asked to comment on the following: Our software is built and maintained by about 20 engineers, and runs in production on dozens of servers in a remote data center. One problem we frequently face is identity and access management on these servers – our engineers occasionally need to directly access the servers [...]

Jul 112014

I tried this today, creating an 8.3-RELEASE jail for poudriere: $ sudo poudriere jail -c -v 8.3-RELEASE -j releng_8_3 ====>> Creating releng_8_3 fs… done ====>> Fetching sets for FreeBSD 8.3-RELEASE amd64 fetch: File unavailable (e.g., file not found, no access) fetch: File unavailable (e.g., file not found, no access) ====>> Error: Failed to [...]

Jul 092014

Earlier today, I was reminded of a old series of tweets regarding temperature. That led me to this to a FreeBSD Forums post which showed me this interesting bit of information. I draw your attention to the two hw.acpi.thermal values near the top. Those may well represent the ambient room temperature, more or less. A [...]

Jul 082014

I had a power failure at home tonight. The clients did not react well to the outage. They aren’t at home. They’re out there on the internets. Jul 9 01:02:49 tallboy openvpn[40792]: UDPv4 link local (bound): [AF_INET] Jul 9 01:03:51 tallboy openvpn[40792]: UDPv4 link local (bound): [AF_INET] Jul 9 01:04:53 tallboy openvpn[40792]: UDPv4 link local [...]

Jun 292014

I’m running multiple concurrent poudriere builds on slocum. I see no problems doing this. [dan@slocum:~] $ uptime 9:51PM up 1 day, 6:37, 8 users, load averages: 30.38, 22.58, 11.87 [dan@slocum:~] $ ps auwx | grep sudo root 8877 0.0 0.0 48804 2616 1 I+ 9:45PM 0:00.01 sudo /usr/local/bin/poudriere bulk -j 92amd64 -f /usr/local/etc/poudriere.d/buildlists/knew -z knew [...]