I hate it when that happens…

I had a bit of free time – and a half-day at work yesterday to boot – so I thought I’d modernise my set of hacked-up shell scripts (calling mock/createrepo/rsync+ssh) and install the all-singing & dancing Koji suite.

Now I’ve done this at work (1.2 under RHEL 5) with a fair amount of success. No problems on my slightly venerable but functional Fedora 9 server – or so I thought

(The fun that is Kerberos I’ll not go into, I do have a working KDC and other services are fine. I’d also be keen to see a day where Koji is database-independent :-P)

Packages installed OK, configuration looks good, principals look sane and added to keytabs. PostgreSQL database looks spiffy. All is well?

No such luck! Fired up kojiweb and Firefox gives me nothing. Checking the error log, it appears that httpd is an unhappy camper – it’s segfaulted.

So I tell Apache to generate some coredumps (CoreDumpDirectory) and run some gdb magic. I obtain the following enlightenment:

  • I have far too much hooked into Apache and could really do with some cleaning (auth modules in particular lightly used)
  • Something httpd did has tripped up a call to lua libraries. “bt” stops at this gem: block = (*g->frealloc)(g->ud, block, osize, nsize);
  • The only Apache module that uses lua is mod_security, which is too useful to disable. Crap – might have a chat to the fine gents @ Breach about that if I can’t find anything useful.

If anyone else has had a successful crack at Koji+ModSecurity+SELinux (if you’re running a server you do have it turned on and Enforcing, yes!?) or some insight into my problem, I’d be very keen to hear from you 🙂 I have core dumps but they’re 50mb apiece, so I’m not going to post it here (or the backtrace, it’s quite long)

To top things off, my otherwise very useful Blackberry Storm[1] crashes occasionally with an “Error 534”. C’mon Research In Motion, make your error messages useful! Making me pine for the elegance[2] of Windows error messages is bad indeed, k?

I think I’ll avoid production equipment for a little while, I seem jinxed. *sigh*

[1] I’m not enough of a conformo to go with an iPhone and the local telco (not Telstra!) gives free BB/RIM traffic on their plans, which is an Epic Win in my book.
[2] Detect Obvious Sarcasm (y/n/duh)

Crackberries, Earth Hour and Web 2.0 boredom

After having a good laugh at “crackberry” users and their addiction for what seemed like forever, I gave in and traded in my not-trusty-at-all Nokia Slide for a Blackberry Storm.

After playing with it for a while, I must say it’s not bad. Getting used to typing with it was a pain in the arse (protip: turn off smart type and flip it horizontally – you get QWERTY keyboard goodness) but it’s growing on me. The browser is decent too (using the BB one not Vodafone’s to avoid data usage) and I’ve added Alex King’s WordPress Mobile plugin, so mobile users will see something readable (I love the theme I have but it’s not good on tablets / smartphones)

Having my home email pushed to the handset is nice – I’m not a fan of webmail and it’s not always convenient to ssh in and fire up alpine in some places. The twitter app isn’t bad, nor is the MSN messenger one. I’ll need the SSH client though.

Oh, and Lazyweb: Any Cisco VPN or compatible clients out there? Inquiring minds want to know.

I’m doing the decent thing and participating in Earth Hour and so is my site – the little bar at the top of my site? Check it out, especially if you’re a WordPress user.

We’ve all heard about the new Facebook layout: yeah, it sucks, looks like Twitter feeds etc. – these days I just can’t get into it at all, I guess being in technology I’m becoming less enthused with the idea of socialising online – I’d much prefer to be in a real pub or backyard / apartment balcony with friends than write on Walls and SuperPoke people.

I also wonder how I’m picking up a diverse range of Twitter followers – PUAs (Pick Up Artists for those not in the know), social media wonks (not you @lozz you’re a good friend whom I miss :-)) and fellow techies – but even BigPond and ABC Radio are following me. Am I more interesting than I credit myself with or are you just picking me out at random? 🙂