Posts categorized under: administration

Automated Stage3 Gentoo Install Using Ansible

Objectives

The objective is to, as far as possible, fully automate a stage3 Gentoo build. While we're at it, we'd like to add some flexibility in building different kernel configurations or passing in different parameters like the initial username, passwords, etc.

Ansible fits the bill for this task ...

OSXFuse 2.6.2 Kext Fails to Load in Mavericks

The Problem

Installing the most recent OSXFuse from Homebrew (or from the main site), fails to load the new kext. If you attempt to load the kext, you get errors in your logs like:

Mar 19 11:34:30 metaverse.local com.apple.kextd[29]: WARNING - \
Invalid signature -67062 0xFFFFFFFFFFFEFA0A ...

Dell Perc 5i on Ubuntu 64

I've been setting up an Ubuntu server on a Dell with a 29xx series with a Perc 5i SAS/SATA RAID controller. It took a bit of digging around and piecing together posts on the ubuntu forums and random blogs, but I'm pretty sure I've got it ...

FIX mod_rewrite: could not init rewrite log lock in child

Ran into this issue a couple of times already, duplicating it here so I dont' have to go dig for it again:

Error:

[crit] (2)No such file or directory: mod_rewrite: could not init rewrite log lock in child

Change This:

RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]

To this ...

Auto-Configure OSX clients for BackupPC

This script auto-configures osx 10.4-10.5 clients for backup via BackupPC. It creates a hidden backuppc user with standard permissions. Limits that users sudo permissions to rsync, sets up public/private key authentication, fliters all incoming ssh connections using that key to only allow rsync commands.

The project also ...

Command Line Group Management

Adding a user:

dscl . append /Groups/admin GroupMembership gneagle

Removing a user:

dscl . delete /Groups/admin GroupMembership gneagle

Reading the membership of the admin group:

dscl . read /Groups/admin GroupMembership

This comes with a nod to Managing OSX

Disable Extended Attributes for Tar Backup

To disable the tar'ing of extended attributes (those pesky ._foo files), export the following variable:

For Tiger:

export COPY_EXTENDED_ATTRIBUTES_DISABLE=true

For Leopard & Snow Leopard:

export COPYFILE_DISABLE=true

Fixing errant Share Points

Recently, I ran into an issue where Share Points which were removed from Server Admin were showing up as stale links in my clients. Though not deal breaking, it was annoying as it indicating some sort of corruption in my ldap configuration.

After digging around, I found that the records ...