Archive for the 'Linux' Category

Coping with busy mailing lists with Mutt

Sunday, March 14th, 2010

I’m on a couple of fairly busy mailing lists which by their nature have loose or no moderation. It’s natural that some mailing lists work well with tight moderation, even perhaps requiring every post to be approved, but it’s more common for there to be little or no moderation. This is not a bad thing; [...]

OpenLDAP and md5crypt

Saturday, January 23rd, 2010

I’ve got some machines which authenticate their local users against OpenLDAP, and I wanted to reset some passwords from a Perl script.
First I tried just calling modify from Net::LDAP. That worked but just set the new password as plain text. My passwords appear to be “md5crypt”, and normally look like this:

{CRYPT}$1$fywXcrPC$Uakrx8POGBf1WM9l6mkG6/

I could come [...]

Linux software RAID hot swap disk replacement

Sunday, January 17th, 2010

One of BitFolk’s servers in the US has had first one and then two dead disks for quite some time. It has a 4 disk software RAID-10, so by pure luck it was still running. Obviously as soon as a disk breaks you really should replace it, preferably with a hot spare. [...]

My root file system doesn’t show up in “df” anymore!

Thursday, November 26th, 2009

Earlier tonight I had a strange bug report from a customer. Ever since I’d moved his VPS from one host to another, he’d stopped being able to see how much disk space he had free.
At first I thought it was simply because when I had moved his VPS I had taken the opportunity to [...]

Recently updated gnutls then found you can’t connect to LDAP?

Saturday, November 21st, 2009

If you recently installed this update:

gnutls26 (2.4.2-6+lenny2) stable-security; urgency=high
* Non-maintainer upload by the Security Team.
* Fixed CVE-2009-2730: a vulnerability related to NUL bytes in
X.509 certificate name fields. (Closes: #541439)
GNUTLS-SA-2009-4

— Giuseppe Iuculano <iuculano@debian.org> Sun, 01 Nov 2009 21:29:06
+0100

and then found that your applications [...]

Dear Lazyweb, where’s my power beep gone in Ubuntu?

Sunday, May 17th, 2009

Update: Solved! Someone pointed me to the “beep” track of the volume control, which was hidden and muted.
Last month I upgraded my ThinkPad R61 to Ubuntu Jaunty. Recently I noticed that I no longer have the beep when taking it on or off of AC power. I don’t know if it has always [...]

GLIBC NO U

Monday, July 7th, 2008

Dammit, stop opening the bug.

Spell check in vim7 / mutt

Wednesday, April 16th, 2008

Perhaps this is widespread knowledge but I didn’t know about it, and in the short time since dg pointed it out to me I have been loving it, so I thought I’d mention it here.
A few days ago I made stupid typos twice in a row in emails of a professional nature that I really [...]

Sleeping deterministically in a shell script

Tuesday, April 1st, 2008

Occasionally on a Unix machine you might want a task to happen at the same time every iteration, but not have to specify the exact time. An example of this could be when getting multiple machines to mirror something from a master — you would like this to happen say every half an hour, [...]

Off to FOSDEM

Thursday, February 21st, 2008

I’m off to FOSDEM in Brussels tomorrow, in the yearly pilgrimage with the Hampshire LUG lot. If you’re also there and I haven’t made it obvious that I don’t want to talk to you, feel free to say hi!