The Life of a Sysadmin

Carousel is a lie!

Entries tagged "rant".

Windows 2000
13 November 2003 12:00:00 PST

A real OS shows messages when it's booting to let you know how far along it's gone. If something goes wrong, you can see where. A real OS doesn't have a fucking marquee of slowly-changing colour that you have to stare at intently from six inches away to see if it's frozen in place and yet another cold reboot needs to happen. Oh, and it logs how the boot went. Every time. Without being asked.

Also, if an OS comes with a package manager -- and a real OS does -- it shows you the fucking version of the software that's installed. A real OS knows that knowing ~FooTastic installed is only half the battle -- knowing that it's the buggy 6.2 build is just as important.

I try to give Windows and Microsoft a chance, I really do. But this is fucking ridiculous.

Original entry

Tags: packagemanagement, rant, windows.
Two good deeds
2004-12-22 22:21:00

Well, I did the right thing today -- twice. Damn right I'm bragging.

First off, it turns out that the FreeBSD Foundation has run into a (good!) problem: its donations have been too big. In order to keep its US charitable status, it needs to have two-thirds of its donations be relatively small. Due to a couple of big donations, this ratio is a little out of whack at the moment, and they need a bunch of small donations.

Welp, I've been administering FreeBSD systems for a living for...well, I was gonna say four years, but it's more like two and a half or three. I've been working on them for four, though; my rent and food has been paid in large part because of the generosity of the people who put together FreeBSD. A donation went off in short order.

Then I remembered that I've been meaning to join the Free Software Foundation for a while now. The motivation is the same: I've been paying my bills for a long time now (and enjoying myself immensely in the process) because of the generosity of Free-as-in-Freedom software people: Stallman, Torvalds, Wall, and a zillion others. I have a hard time imagining what I'd be doing now without Free software; I suspect that, if I was lucky, I'd be working as a grocery store manager right now. So: off to the FSF website to sign up for an associate membership.

And what did I find but two, count 'em TWO cool things:

  1. If you refer three people to the FSF for associate memberships, RMS or Eben Moglen will record a message for you, suitable for voicemail, Hallowe'en or impressing the ladies. I did a quick search on Google, but couldn't find anyone with the link...damn shame. Better than a free iPod, cooler than a CmdrTaco TiVo -- join the FSF and get RMS to say "All Hail Liddy!"

  2. The FSF is looking for a senior sysadmin. God, that'd be cool. Decent enough pay (no, it's not the sort of job you take because of the money, but it's nice to think about), all the Free software you can handle, and an IBM Thinkpad to run it on. Of course, I think I'd have some 'plainin' to do about the laptop I'm writing this on...and, of course, it would mean living in the US. Frankly, that scares the crap out of me these days. Goddamned PATRIOT Act...

In other news, work continues apace. We're losing two coop students and gaining one, gaining another full-time person, and I'm still trying to get my RAID array -- credit app is with the boss, and after that's done the order'll finally go in.

Rough guess (wild hope) at this point is that it'll be in my hands in mid-January, which won't be a moment too soon. There's a new Linux server I'm setting up that I'm desperately hoping won't have problems due to proprietary kernel modules in the software I'm installing. (I'm just writing myself further and further out of that job, aren't I?)

And I'm wondering if the simplest way to get Nagios to make sure the right machines are exporting the right filesystems is to check if amd is mounting them correctly. (No matter whether the machine or amd fails, something needs to be fixed.) Or maybe I just need to figure out the right wrapper for showmount -e.)

On the spam front: good god, what a smoking hole Movable Type is turning out to be. First there were the license changes, then the comment spammers (who seem to be posting a lot more aggressive to MT than to WordPress)...Of course, comment spam affects all blogs, not just MT. Still, this whole idea of rebuilding static pages every time the stars move seems to be causing them a lot of trouble. (Yep, that last sentence was pure FUD. Or bullshit.) And okay, no, I don't use MT, so what precisely is my beef?

As I'm not going to put up, I should shut up. I still have to upgrade WP -- though according to this posting, there are still lots of XSS issues left unfixed. I'm also upgrading PHP, and I should probably use ApacheToolbox to do that automagically, rather than periodically editing my own Makefile.

The release party for Where Are They Coming From? came off JUST FINE, thank you. EVERYONE was there. Top Stars include Topo, Phil Knight and Mos Def, fresh from the set of HHGTTG. Uh huh.

Further thoughts on the MySQL + GPhoto2 thing: gphoto2 does have the ability to pipe to STDOUT, which I don't think I knew...maybe it won't be as much work to insert directly into a database as I thought. Might even be able to do it as a Perl script.

Finally: what a gorgeous day. It's downtown Vancouver on the back steps of the Art Gallery, it's sunny (in December, too) and just cold enough to make you go "brr". The skater kids are practicing their synchronised jumping -- just in time for the Olympics, I'm sure. A far-too-generous co-worker has handed out chocolate, another has handed out home-made rum and brandy balls, and I'm taking off early to go drinking with a third. Feeling pretty damned good right now.

Update: Too bad Topo's not so great -- fever of 102.8F, as of a couple minutes ago. (Still haven't figured out what that is in Celsius; bad Canuckistanian!) It's down a bit from earlier this afternoon, though, so I'm thinking good things. And these pages say to not worry if it's less than a couple days, so I'm not worrying. Nope.

Tags: bsd, hardware, meta, politics, rant, spam, wontyoupleaselendahand.
What have I got myself into?
Tue Jan 9 09:38:39 PST 2007

From openbsd-misc:

 Do you have any idea how fucking insane the h.323 protocol is?  Anyone
 who runs a h.323 should get shoved out a window, beaten, flayed,
 spanked, shot, disembowled, hung, and forced to listen to hummpa music.  If
 you  want to firewall h.323, go commit yourself to an asylum with
 straight jackets and with padded walls -- at least you'll be in common
 company with the other linux wacko's.
Tags: openbsd, rant.
I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers.
Wed Apr 18 09:46:18 PDT 2007

This is how I imagine Samuel L. Jackson leading off a conversation with the writers of the PHP language (edited to be less obscene and offensive).

In the name of all that is holy and right, please explain to me why the fuck PHP's preg_replace() takes delimiters for the first argument, but not the second. IOW, Perl's

$foo =~ s/baz/bum/;

becomes

preg_replace('/baz/', 'bum', $foo);

Yes, I should've just RTFM. You're completely right. But this just bit me in the ass, after spending 10 minutes wondering WTF was going wrong, and a little fucking consistency goes a long fucking way.

Tags: php, programming, rant, web.
It's only documentation, so why would you want it?
Thu Jul 5 16:26:48 EDT 2007

I swear, Sympa has the worst fucking documentation of any goddamned software I've ever used. I'd rather view /dev/random with Internet Explorer then try to figure out what the hell this software does.

Example: List creation. Since Sympa is mailing list software, this would seem to be pretty basic. It is if you're using the web management feature, which they document. But if you're not? Well, now, why would you do such a thing? Are you a Communist or something?

Here's what I know: there's a Perl script here that creates the Sympa config files for various lists as needed. Then these lists magically show up. This appears to be related to the task manager portion of Sympa, which seems to create lists for the new config files. Or maybe Sympa checks the config files when incoming email comes in, and that's how it works. Either way, it sure as hell isn't documented anywhere; not for the older version we have, nor for the newer version (which seems to be a nothing more than a wiki dump, with all its attendant lack of organization).

God, this is irritating.

Tags: rant.
This is ridiculous
Mon Aug 20 15:32:57 PDT 2007

I've complained about Blastwave before, but this is just terrible.

Trying to install VLC on a Solaris 10 machine using Blastwave. Says that CSWcommon is out of date, so please run pkg-get -u. As this always includes thousands of prompts that look like this:

The following package is currently installed:
CSWoldapclient  openldap_client - OpenLDAP client executables (oldapclient)
               (sparc) 2.3.31,REV=2007.01.07

Do you want to remove this package? [y,n,?,q] y

## Removing installed package instance <CSWoldapclient>
## Verifying package <CSWoldapclient> dependencies in global zone
WARNING:
The <CSWoldap> package depends on the package currently
being removed.
Dependency checking failed.

Do you want to continue with the removal of this package [y,n,?,q]

...I look around for a way to automate this. And surprise, there is, and I've missed it the whole time. My bad. So: pkg-get -f upgrade it is, then.

It runs for 45 minutes and stops with an error about CSWcommon:

Current administration requires that a unique instance of the
<CSWcommon> package be created.  However, the maximum number of
instances of the package which may be supported at one time on the
same system has already been met.

Hm, sez I. That's strange, but maybe that's what it's like for package managers that suck. pkg-get -r common and pkg-get -i common, and I'm ready for the upgrade again.

Somehow in the process I managed to remove the pkg_get package, which (surprise) contains the pkg-get command. Fortunately I have a backup copy around and use that to install pkg_get. Life continues.

And it's not for another 15 minutes after that that I notice that the package manager is going in loops. It keeps going over the same packages again and again, giving the same errror about unique instances each time. A quick search turns up this link, which tells me I'm a fool for believing the help offered by pkg-get:

$ pkg-get -h
pkg-get,   by Philip Brown , phil@bolthole.com
 (Internal SCCS code revision 3.6)
Originally from http://www.bolthole.com/solaris/pkg-get.html

pkg-get is used to install free software packages
pkg-get
Need one of 'install', 'upgrade', 'available','compare'
  '-i|install'   installs a package
  '-u|upgrade'   upgrades already installed packages if possible
  '-a|available' lists the available packages in the catalog
  '-c|compare'   shows installed package versions vs available
  '-l|list'      shows installed packages by software name only

Optional modifiers:
  '-d|download'  just download the package, not install
  '-D|describe'  describe available packages, or search for one
  '-U|updatecatalog'   updates download site inventory
  '-S|sync'      Makes update mode sync to version on mirror site
  '-f'           dont ask any questions: force default pkgadd behaviour
         Normally used with an override admin file
         See /var/pkg-get/admin-fullauto

  '-s ftp://site/dir'  temporarily override site to get from

and that the correct way to do what I want is to run:

true | sudo pkg-get upgrade

I admit that I neither knew nor sought to find out what "default pkgadd behaviour" would be, so that's my fault. I admit that I was the one who borked things by removing the pkg-get command. I admit that I did not think to record all of this with script, so at the moment I'm going on scribbled notes and memory. This is not a bug report, which is what I really should be writing. These are all things I did wrong or badly.

But isn't this what apt has fixed? On its worst day, I've never had to set up yes to be the drinking bird that would let me get stuff done. And — when all was done, and I got to go back to installing VLC — I've never had it depend on gcc.

Arghh. Arghh arghh arghh.

1 comments. Tags: packagemanagement, rant, solaris.
The pain
Fri Nov 23 12:38:11 PST 2007
$ sudo -u sympa /opt/pkg/bin/perl /opt/pkg/sympa/bin/sympa.pl --help
Line 38, unknown field: bounce_path in sympa.conf
No web archives directory: /opt/pkg/arc

MHonArc is not installed or /usr/bin/mhonarc is not executable.
Language::SetLang(), missing locale parameter
Missing Return-Path in mail::smtpto()
Missing directory '/opt/pkg/bounce' (defined by 'bounce_path'
parameter)
Configuration file /opt/pkg/etc/sympa.conf has errors.

What this error message doesn't bother saying is that it has silently sourced wwsympa.conf as well as sympa.conf, and that the errors come from that file. And no, there is no explicit sourcing of wwsympa.conf in sympa.conf.

God, I hate this software.

Tags: rant.
Procmail bites me in the ass \*again\*
Wed Feb 6 13:49:27 PST 2008

Okay, so it isn't quite as bad as the time I threw 3,000 incoming messages for an ISP into my home directory. But I've just figured out that the reason a) $VENDOR didn't get back to me and b) it's been so quiet for the last few days is because all email was going to a file called X-Original-Sender because of one missing *. (In fact, that may also have been the cause of the first big error...)

God, I hate procmail sometimes.

Tags: procmail, rant, screwup.
With apologies to Mark Twain
Fri Apr 4 14:04:10 PDT 2008

There are always timesinks at a job: the things that suck up all your spare time, that interrupt what you're doing and force you on to something else. They're urgent, or they're complicated, or they're obscure and you only ever touch them every six months. If you're really unlucky, they're all three. They drain the life from you; a good day turns shitty, and an already-shitty day becomes nigh-unbearable.

The website is one such timesink at my current job. It's a veritable Grand Canyon of different technologies, databases, and code. You can examine it and, like a geologist, date particular pages or code with great accuracy, judging by clues like composition, surroundings, indentation patterns ("Oooh, K&R crossed with…crack?"), and previous experience. When an Urgent Request for Web Changes comes in (and they're all urgent), figuring out how to do it means figuring out how that particular page was generated in the first place: static? dynamic? CMS? And then you have to figure how you can meddle with it: logging into Mambo, the CMS of the damned? If it's static: does the URL map nicely to the filesystem, or is there a hidden Apache Alias directive somewhere? Do you have permissions to open the file, or will it take sudo to chown it, or another nagging email to a coworker to please check their changes into RCS? And if, God help you, it's dynamic…but no; that mess of spaghetti should stay down. There's no sense bringing it up again simply for prurient purposes.

Sunray terminals are another timesink. When they work they work very well. I like the energy-saving aspects of it — both electrical and my own; one machine to manage is always better than 40. But when they don't work, it's a pain. Has a session become wedged? Is it GNOME's fault? Has Adobe Acrobat decided to eat up all the CPU again? If so, is that worse than the security holes that remain unfixed in the later version? Why is Solaris 10 randomly not sending RST packets when it receives a SYN on a port it's not listening on? (If anyone has any ideas, please let me know.) Has a cheap switch, installed because no one believed that an office meant for one might someday hold four, gone off its meds again?

These things make me throw up my hands and and curse my fortune. I have no one unfortunate enough to be my subordinate, so it's up to me to hack and slash through the possibilities until it's finished, or at least put off for another day.

But LDAP is worse.

When it works it works very, very well. Failover works, replication works, and an account created here zips there without a moment's thought. But when it fails, it's urgent and complicated and obscure all at once, and sometimes in degrees polynomial.

At last count we have four different master-master replicas, running three or possibly four different versions of Sun's Directory Server (under six different product names, no less). There are replication agreements spanning versions that aren't even supposed to tolerate each other's existence, using two different encryption protocols and NetBEUI. Two completely different "helpful" management tools vie for our attention, lacking only flash plugins to trigger seizures. Only one server can be poked or prodded with a command line tool. Diagnostics are by turns nonexistent or endearingly fickle.

To be fair, the vendor documentation is vast and makes fine kindling, though its promise to fully document error codes like error 457758854b: BER error 45775885b4 is best regarded as a bitter joke by a jaded software engineer who died alone, unloved and without stock options. (Our own documentation is marginally better: no carbon is released when it is destroyed.) Thus, keeping track of ACLs (say), and exactly which unholy wrath you will invite upon your head should you make a mistake when granting or revoking privileges to read a particular entry, means digging through half-remembered conversations, drunken Google searches, year-old notebooks and a quiet, solitary introspection normally reserved for contemplating your own impending doom.

On top of everything else, LDAP encompasses everything, or nearly so. Email routing, website privileges, database access, even TCP checksum computation: all are kept in, or depend on, or just like to hold hands with, LDAP. It's enough to make me wistful for the good old days of NIS.

In a few minutes I am going to go back to work and try to figure out why a new account has stopped, in mid-replication, halfway between $UNIVERSITY and $OTHER_UNIVERSITY. It will take me the rest of the afternoon. I will use words that my own son does not know I know. And I will come out of it shrunken, withered, beaten down and humble.

Tags: ldap, rant.
A new tape without labels inside?
Mon Aug 18 11:50:36 PDT 2008

That's bush. Bush league. You hear me, Fuji? Look at me!

I knew there was a reason to compulsively squirrel away every half-used set of tape labels.

Tags: rant.
Because I am amused by childish things. Why do you ask?
Thu Nov 27 10:59:10 PST 2008

From a list of known issues with installation of Office 2008 for Mac. Number one:

Office 2008 updates cannot be installed if the Microsoft Office 2008
folder was moved, renamed, or modified

Office Installer installs Microsoft Office 2008 for Mac in the
Applications folder. If you move the Microsoft Office 2008 folder to
another location on your computer, or if you rename or modify any of
the files in the Microsoft Office 2008 folder, you cannot install
product updates. To correct this issue so that you can install product
updates, drag the Microsoft Office 2008 folder to the Trash, and then
reinstall Office 2008 from your original installation disk.

Ah, hard-coded paths.

Number two:

I can't download the volume license version of Office 2008 for Mac by
using Safari

Cause: Downloading the volume license version of Microsoft Office 2008
for Mac is unsuccessful when you use the Safari browser.
Solution: We recommend that you use the latest version of Mozilla
Firefox Web browser ( MozillaClick this link to open a browser
window.http://www.mozilla.com) to download the volume license versions
of the Microsoft Office 2008 for Mac suite or stand-alone
applications.

That said, it turns out you don't need a license key for a volume copy of Mac Office 2008.

And now you know the rest of the story.

Tags: rant.
Random notes
Wed Jan 28 06:34:47 PST 2009
Tags: books, dell, emacs, hardware, rant, solaris.
Hate hate hate
Fri Jan 29 05:53:03 PST 2010

Here's how to piss me off:

_Update, April 20th 2010:

2 comments. Tags: rant, software.

RSS Feed