1. September 19, 2009

      Snow Leopard: Outdated-software-R-us!

      I apologize in advance for the lack of coherency in this post; it’s late, and I’m tired.

      So, I have a custom backup script (mostly because I know I can do it better for my workflow than some off the shelf solution). It uses tar’s listed-incremental function to do, as you can guess, incremental backups over a monthly cycle. It’s been working well since I made it on Tiger, except today, the first time I’ve tried to take a backup since upgrading to Snow Leopard. It straight off failed, claiming it doesn’t understand listed-incrementals.

      I’m scratching my head as to why (it’s really not a complex script), before I realise it’s using an older version of tar than what shipped with Tiger and Leopard (or it’s using BSD tar as opposed to GNU tar… but I can’t verify what Tiger/Leopard had, all I know is it worked previously). Hmmm… ok. So I open Macports, install the latest version of gnutar, removed the crappy Snow Leopard tar and all keps going happily… except I now have a wiggling suspicion in the back of my mind that there is another disturbance in the force…

      I dig a little, and it’s not long before I discover that Apple also decided to ship bzip2 1.0.4, which has a security exploit that was fixed 1 year 6 months before 10.6 was released…

      WTF Apple? Is anyone paying attention to software releases over there? It makes me wonder, what other outdated, exploitable software is installed on my laptop?

    2. August 31, 2009

      Soundflower + 10.6 == …. Works (now anyway)

      So, I’m procrastinating from writing my Java app. And when procrastinating, I like to listen to music. Except my laptop speakers suck, and as I’m home alone I would like to listen comfortably without headphones. Long story short; I need to hijack music form my laptop’s iTunes, and stream it to my desktop’s VLC or Windows Media Player.

      Instantly I turn to an old favorite; Soundflower, which provides virtual inputs and outputs for MacOS. Except, it stopped working in Snow Leopard, the dialog: System extension cannot be used The system extension “/System/Library/Extensions/Soundflower.kext” was installed improperly and cannot be used. appears. Thankfully, it’s actually a simple problem and a simpler fix.

      If you go:

      $ sudo kextutil /System/Library/Extensions/Soundflower.kext
      /System/Library/Extensions/Soundflower.kext has problems:
      Authentication Failures:
          File owner/permissions are incorrect (must be root:wheel, nonwritable by group/other):
              /System/Library/Extensions/Soundflower.kext/Contents/Info.plist
              /System/Library/Extensions/Soundflower.kext/Contents/MacOS/Soundflower
             /System/Library/Extensions/Soundflower.kext/Contents/Resources/Soundflower.xcconfig

      See, simple permissions problem! Running chown and chgrp cleans it up nicely. I’ve submitted the fix in the bug report, and hopefully soon a fix will be officially released.

      Now, back to streaming my music…