Slaptijack Title

Archive for the ‘System Administration’ Category

OS X Not Appending Search Domains - Yosemite Edition

It seems this problem has resurfaced again with the new version of Mac OS X. More specifically, this problem seems to affect appending search domains when the hostname contains a dot. In Yosemite (10.10), mDNSResponder has been replaced with discoveryd. Fortunately, all we need to do here is add the --AlwaysAppendSearchDomains argument to the LaunchDaemon […]

Categories: System Administration

Mac OS X Not Using Search Domains

Every time I restart my OS X Mountain Lion (10.9) laptop, it stops using the DNS search domains I've added via the Network preferences pane. I have found that restarting mDNSResponder fixes this issue. There are two ways to do this.

Categories: System Administration

Puppet + Augeas: Modify Logrotate Configuration

On my web server, I keep my web sites in /var/lib/www. Each web site has a dedicated logs directory. Since logrotate is already rotating Apache logs on the server, I'd like to continue using that to rotate these log files as well. Below, is a Puppet snippet that uses Augeas to modify the stock Debian […]

Categories: System Administration

/usr/bin/mandb: the setuid man user "man" does not exist

I stumbled across this problem when a daily cronjob on one of our Debian servers complained about this. A lot. If you run across this on one of your systems, there is a quick fix.

Categories: System Administration

Finder Crashing Every Minute

Thanks to an error report from one of my backup jobs, I noticed that /Users/slap/Library/Logs/DiagnosticReports was filling up with Finder crash reports (files of the type *.crash). These files were being created once a minute. Additionally, icons on my Desktop were blinking once a minute.

Categories: System Administration