diff -up autofs-5.0.1/daemon/automount.c.cleanup-krb5-comment autofs-5.0.1/daemon/automount.c --- autofs-5.0.1/daemon/automount.c.cleanup-krb5-comment 2007-10-18 21:29:41.000000000 +0800 +++ autofs-5.0.1/daemon/automount.c 2007-10-18 21:32:49.000000000 +0800 @@ -1242,22 +1242,6 @@ void *handle_mounts(void *arg) } pthread_cleanup_pop(1); - - /* - * A cowboy .. me! - * That noise yu ear aint spuurs sonny!! - * - * The libkrb5support destructor called indirectly through - * libgssapi_krb5 which is used bt libkrb5 (somehow) must run - * to completion before the last thread using it exits so - * that it's per thread data keys are deleted or we get a - * little segfault at exit. So much for dlclose being - * syncronous. - * - * So, the solution is a recipe for disaster. - * Hope we don't get a really busy system! - */ - /*sleep(1);*/ sched_yield(); return NULL;