Nevyn (devnevyn) wrote,
Nevyn
devnevyn

  • Mood:
  • Music:

build_hd_index is evil.

/System/Library/CoreServices/RemoteManagement/ ARDAgent.app/Contents/Support/build_hd_index seems to build an index of my harddrives. At midnight. Every night. Of *all* my harddrives (I have quite a few...). When I'm trying to sleep.

Not only is this very annoying by itself, but the big question is: WHY, GOD, WHY?! The machine already has Spotlight! There's a complete index of my entire harddrive right there. Not only THAT, most unix systems -- including Mac OS X -- comes with a utility to do exactly what build_hd_index seems to be doing: /usr/libexec/locate.updatedb.

So, every night, every mac in my room builds a harddrive index. Just in case locate fails. Which you would only use in case Spotlight fails. Welcome to the Department of Redundancy Department.

Disable build_hd_index, with no apparent loss of functionality:

sudo chmod 000 /System/Library/\
CoreServices/RemoteManagement/\
ARDAgent.app/Contents/Support/build_hd_index


You probably have to redo that every time you do a system update or repair permissions.

WARNING! Don't use ACLs! In an attempt to prevent system updates from restoring build_hd_index, I used Access Control Lists to completely remove all permissions from it for all users. However, Apple's Software Updater can't handle this, and will fail fatally! This completely destroyed my 10.5.1 Server system when trying to update to 10.5.2.

You can also move the file, instead of chmodding it. Either will work, but both will be "repaired" with the next system update.
Tags: ard, bug, frustration, mac, osx
Subscribe

  • I just got the biggest conspiracy theory.

    I just got the biggest conspiracy theory. As you might know if you read John Gruber's Linked List it's not entirely unlikely that Apple is actually…

  • En cykeltur i Drömkarlshamn

    (Sorry for the language again. As soon as I write my new blog software, I'll split it into one technical and one personal part, and then I won't mix…

  • Fördomar, dagens humor

    (For any eventual non-swedish readers, sorry for today's Swedish exposition.) I några månader har det varit livliga klagomål från flera på min…

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic
  • 20 comments

  • I just got the biggest conspiracy theory.

    I just got the biggest conspiracy theory. As you might know if you read John Gruber's Linked List it's not entirely unlikely that Apple is actually…

  • En cykeltur i Drömkarlshamn

    (Sorry for the language again. As soon as I write my new blog software, I'll split it into one technical and one personal part, and then I won't mix…

  • Fördomar, dagens humor

    (For any eventual non-swedish readers, sorry for today's Swedish exposition.) I några månader har det varit livliga klagomål från flera på min…