Tuesday, March 17, 2009

Speeding up SSH connections

If you make alot of connections to the same host, it's worth setting up connection sharing in OpenSSH. You can enable this by adding the following to you $HOME/.ssh/config file:


Host *
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p


Do keep in mind that the 'master' will linger on until all slave connections are gone.

Thursday, March 5, 2009

Boot failure

After the lastest kernel update on fedora, my box refused to boot since it was unable to mount the root filesystem. The old kernel still booted fine. My first thought was an issue with the initrd, so I first rebuild it to see if that resolved it. No change.
Therefor it was time to take a closer look.. after unpacking the initrd, I noticed the mkrootdev line was different.. and that's when I recalled that I had updated my /etc/fstab root entry and had added 'relatime' to the mount flags.
Apparently mkrootdev was failing on that flag. I'd figure it would be a simple thing to fix, so I checked out the repository and noticed it was fixed in version 6.0.76-1 (fedora 10 uses 6.0.71):



commit e993db4b1790d0328fcd76c0fd88ca2a82a931d5
Author: Jayson King
Date: Wed Feb 4 21:11:54 2009 +0100

Make nash mount support relatime (#296361)

Make nash mount support relatime (#296361).

Tuesday, March 3, 2009

Ubuntu: saslauthd internal error in k5support_verify_tgt

When trying to get LDAP simple bind to work against Kerberos5 with saslauthd, I kept running into the following error:


saslauthd[29808]: auth_krb5: k5support_verify_tgt
saslauthd[29808]: do_auth : auth failure: [user=kvo] [service=ldap] [realm=LOCALREALM] [mech=kerberos5] [reason=saslauthd internal error]


a search for the error only mentioned adding the host principle to the keytab file, which I had done, but I was still getting the error.

It seems saslauthd on ubuntu requires that KRB5_KTNAME is set... even though /etc/krb5.keytab is the default, it still needs the environment variable to be present. (explicitly setting the default keytab in /etc/krb5.conf didnt help either).

So the solution to the problem is to add:


export KRB5_KTNAME=/etc/krb5.conf


to the /etc/default/saslauthd file.

Monday, February 9, 2009

PulseAudio logspam

Does this look familiar to you?


Feb 9 09:49:50 laptop-i pulseaudio[3227]: module-alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! Most likely this is an ALSA driver bug. Please report this issue to the PulseAudio developers.


Then this might help: Bug 471941. It doesn't fix the root of the problem, but at least it gets rid of the logspam.

Wednesday, January 28, 2009

Mozilla Weave v0.2.99 for F10 x86_64

Version 0.2.99 compiled on F10 for x86_64 can be found here.

Sound issue on FC10

Today's fedora kernel update, kernel-2.6.27.12-170.2.5.fc10.x86_64, resolves the issues with the headphone output. There's no need for the hda-verb command anymore (at least on my Dell D830).

Thursday, January 15, 2009

Mozilla Weave on F10 x86_64

After installing my 64 bit fedora, I found out that the default weave download doesn't work on 64 bit as it needs a native 64 bit library to do the crypto stuff which isnt included in the distributed plugin.
Solution is to grab the weave source and compile it yourself, which has some pitfalls on fedora if you try to use the xulrunner rpm, due to difference in paths.

Therefor to help people looking for it, you can download a 64 bit compiled F10 weave 0.2.98 from here.

Note of warning: my laptop didn't import the bookmarks correctly, not sure if it's a weave issue or something else. So tred carefully.