Categories
Linux WTF

Gallery2 not in Debian 5.0?!

When I upgraded to Debian 5.0 lately I noticed that there is no Gallery2 package anymore in Lenny. So I asked the Debian maintainer about this.

Here’s what he replied:

Gallery 2 is not available in Lenny due to large amount of differences between the previous version and 2.3-1 from unstable. The release team and I decided not to include Gallery 2 in stable due to this disruptive change late in the release process. The gallery2 package from sid can be installed via pinning.

WTF?! 🙁

Categories
Computers

Startled by “component device mismatches” on RAID1 volumes

I was startled today by a message in syslog that seems to point to a problem with my RAID1 volumes:

Mar  1 01:13:54 server mdadm[961]: RebuildFinished event detected on md device /dev/md3, component device  mismatches found: 512

This value is reflected in the following counter:
root:/etc/mdadm# cat /sys/block/md3/md/mismatch_cnt 512

I tried to clarify this by googling around, but I found no definitive answer whether this is an actual problem or not. However, I found a way to resync the MD components so that no mismatches remain:

root:/etc/mdadm# echo repair >> /sys/block/md3/md/sync_action

After you execute the repair you will notice that the counter shows the same number of mismatches again:

root:/etc/mdadm# cat /sys/block/md3/md/mismatch_cnt 512

This was to be expected — because the repair corrected (and thus encountered) this number of mismatches. So, if you force a check again, the counter should be down to 0:

root:/etc/mdadm# echo check >> /sys/block/md3/md/sync_action
root:/etc/mdadm# watch cat /proc/mdstat
[wait until check is finished]
root:/etc/mdadm# cat /sys/block/md3/md/mismatch_cnt
0

Categories
Computers

Beware: WordPress 2.5.1-6 is broken in testing (aka “Lenny”)

I just noticed that WordPress is broken since I upgraded it yesterday to Debian’s version 2.5.1-6 from testing. 🙁

Therefore I downgraded to 2.5.1-5 and cross my fingers that the Debian guys issue an update fast.

Someone else also posted about this already…

Categories
Mac WTF

“Burn VIDEO_TS folder to DVD” nightmare

I had a VIDEO_TS folder with VOB files that I wanted to burn to a DVD in order to be able to play it on our DVD player.

The first step was to create an ISO image. This can be done with a tool that comes with MacOS. Open a terminal and enter the following:

hdiutil makehybrid -udf -udf-volume-name "<volume name>" -o /target/image.iso \
    /path/to/parent/folder/

Make sure you specify the folder that contains the VIDEO_TS folder as the source folder in the above command line. Parallel to the VIDEO_TS folder you should also have an (empty) AUDIO_TS folder. Also make sure that there is no .DS_Store file (remove from terminal if present.) And note that the above is one logical line (the \ is a line break).

So, how do you write the ISO file to a DVD?

Categories
Computers deutsch WTF

Sinnfreie Geschäftsmails…

Während meines Urlaubs erhielt ich von einem großen und bekannten deutschen Domainanbieter folgende Mail (Auszug):

Wie Ihnen sicher bereits aufgefallen ist, haben wir die für den 14.07.2008 angekündigte Lastschrift der Rechnung <XY> bisher nicht durchgeführt. Durch die Umstellung auf eine neue Finanzbuchhaltungs-Software haben sich die Lastschriften im Monat Juli leider verzögert, so dass wir den Betrag von 0,00 Euro erst zum 08.08.2008 einziehen werden.

Diese Nachricht hätte man sich nun wirklich sparen können — ein kleiner Test, ob die Rechnungssumme größer Null ist, hätte den Zweck schon erfüllt.

Wer selber solche oder ähnliche Nachrichten erhalten hat ist herzlich eingeladen, sie hier (in anonymisierter Form) zu posten!

Categories
Mac WTF

Cisco’s VPN Client is crap…

I suddenly had a problem on my Mac that I couldn’t start the VPN client anymore — “Error 51” was the only thing I received.

Google pointed me to this site where I found some very helpful advice.

Thanks!

Categories
Mac WTF

How the Finder misbehaves on USB sticks…

As a new Mac user I find it very annoying that the Finder leaves its traces everywhere you go — even on USB sticks. 🙁

The finder will create hidden .DS_Store and .Trashes folders (used by SpotLight and the Trashcan) all over the place. 🙁

I’ve not yet found a way of disabling this unwanted behavior.

If you know of a way to do so, I definitely want to hear from you. So, please step ahead and leave a comment! 🙂

Categories
Mac Storage

Encrypted TimeMachine backups on network share

Mac OS normally doesn’t allow you to use network shares as targets for TimeMachine backups. This can be worked around, tho. 🙂

First you need to tweak Mac OS to accept network shares by entering the following command in a Terminal session:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

That would already allow you to store your backups on a network share. But do you really want to trust your valuable data to a network share that can potentially be accessed by untrusted users, such as your favorite bastard admin from hell?! :)

Here’s when the following comes in:

You will create an encrypted sparse bundle and use it as a target for the backup.

Categories
Computers

Migrate saved passwords in Firefox

If you are like me and often use the “Save password” feature of Firefox because you can’t remember all the passwords you use for different web sites, and then suddenly have to setup a “fresh” Firefox on a new box, you need Password Exporter, an invaluable Firefox extension that plugs into the “Security” page of Firefox’ options dialog.

It allows you to export the saved passwords on one machine, then to re-import them on a target machine.

This unfortunately only worked in part for me. Login credentials that applied to the same server, but to different realms obviously failed to be imported. I don’t know exactly why this is, but it made the hole story pretty useless for me. I ended up copying key3.db and signons3.txt manually from the Windoze box to the Mac. 🙁

Categories
Computers Mac

ARDAgent exploitable locally

I was pointed by a colleague that ARDAgent can be exploited locally to gain “root” privileges under MacOS 10.4 and 10.5. A quick search on Google turned up this post on Macworld that gives some details about this issue.

To check whether you’re vulnerable type the following in a Terminal window:

osascript -e 'tell app "ARDAgent" to do shell script "whoami"';

And if it says root you are vulnerable. To quickly protect you type the following:

sudo chmod u-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent