Skip to content

{ Category Archives } unix

UNIX-ey stuff

Automating Zone creation in OpenSolaris 2009.06

With the announcement of OpenSolaris 2009.06 I thought it would be appropriate to blog a little about a tool I had been writing to help myself play with Zones a bit easier. My overall goals were the following: Have each zone configured with its own virtual NIC (Crossbow) Allow easy creation of zones without having […]

The role of loghost entry in /etc/inet/hosts for OpenSolaris

After looking at /etc/inet/hosts I noticed a loghost entry. Being a Solaris newbie I was curious to see why this entry was there. A quick Google brought up this nice discussion:… Summary, don’t delete it.

Enabling ZeroConf / Bonjour DNS resolution in OpenSolaris

On small LAN networks that do not have an internal DNS server. There is a nice technology called ZeroConf that uses multicast to enable name lookup resolution. It has been baked into OS X for quite some time now. Linux and other UNIX flavors have been picking this up as well. OpenSolaris also includes this […]


Good Systems Administration should be boring

Tom has a great summary on why. One challenge for the cowboy sys admin is on how to keep oneself engaged while making their job basically… a walk in the park. One thing I have found helpful in creating lists is to be dogmatic about writing docs as you are doing something somewhere, anywhere and […]

Getting X working again after swapping hardware on Open Solaris nv100

After having dain bramaged myself for years with Linux usage. I had gotten spoiled into believing an OS should make it simple to do the following: 1. Shutdown computer 2. Swap around hardware components 3. Restart 4. Life is good However any techie should tell you this is a pipe dream on Windows. Mac users […]

Understanding what an L2ARC is

I’ve been silently scanning some Solaris blogs and skimming some of the appropriate websites for documentation on some of the more interesting features of Solaris for awhile now. One thing that requires time to adjust to is the number of acronyms that the Solaris community has to describe their technologies. One of these is called […]

Getting KDE 4.1.0 on a Fedora 8 machine when KDE 3 is already there

According to the Fedora FAQ one should be able to update with just this sudo yum –enablerepo=updates-testing groupupdate “KDE (K Desktop Environment)” However when I did, I ran into some icons from packages kdepim-3.5.9 and kdegraphics-4.1.0 conflicting with packages crystalsvg-icon-theme and libkipi. Here is a log… file /usr/share/icons/crystalsvg/48×48/apps/kpalmdoc.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file […]

I can’t get no satisfying manpages

It seems that with most default UNIX-like installations outside of FreeBSD just include craptastic manpages. This really puts a dent in RTFM. In Linux-land this has been a serious PITA for years (Yes, I know how to hunt around for the packages to install the manpages in Redhat-ish and Debian lang but it is still […]

Linux is a woman

I love this quote It’s obvious that GNU/Linux is a woman. She’s high maintenance, expects everything to be given to her for free, and no matter what goes wrong… it’s your fault.

Multiple renaming utilities: mmv

There are many multiple file rename utilities that you can dig up. One that I am used to on Debian/Ubuntu-based distros is called rename which is one that is derived from the Perl Cookbook. However, note that this rename script does not seem to exist on other UNIX variants in a packaged format. It definitely […]

On the irritation of trying to run GPG on a remote headless server

My short, short suggestion is… don’t: This blog post explains it much better than I can although I definitely have been the victim of trying to generate a GPG key on a headless server to no avail: While trying to generate a gpg keypair on a remote server, I discovered I lack entropy. Eventually I […]

svnbackup-restore.rb, svnbackup’s handy companion tool

Doug Hellman’s svnbackup script tool is a really handy tool for setting up automated backups for a subversion repository. However, the non-fun time comes when one wants to restore a subversion repository that has way too many dumpfiles parts. The instructions for restoration are basically ‘roll your own’ if you want to try to automate […]

Yapc Asia 2008 Day 1 Notes

Okay first day at YAPC… Missed most of the opening speeches and Larry Wall’s Keynote.. d’oh. Then again trying to handle the incoming rush of attendees was quite the experience. I’d say jumbled is a good word for how we handled it but at least it got handled. It’s pretty hard handling the Japanese Incoming […]

Why does RTFM with GNU manpages just suck

After looking at a seriously useful tip for cleaning out a clogged postfix queue I puzzled over the -r option in xargs. I’m not an xargs master but I figure if I need it I can always RTFM. Well man xargs on my Ubuntu box provides the typical GNU fair and I spend the next […]

One way to clean out a gazillion files in a directory without causing the server to hang on IO

Had a case where I had some rails app that was using files for its session store and had been running like that for months. While it was a careless (and dumb) thing to run it that way, we had to do something about it since it was eating up close to 85% of the […]