Return-Path: Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (Postfix) with ESMTP id E2F8F3F106; Sat, 24 Apr 2010 13:55:22 -0400 (EDT) Received: from pch.mit.edu (pch.mit.edu [127.0.0.1]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id o3OHtMMd020829; Sat, 24 Apr 2010 13:55:22 -0400 Received: from mailhub-dmz-1.mit.edu (MAILHUB-DMZ-1.MIT.EDU [18.9.21.41]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id o3OFd1kE004350 for ; Sat, 24 Apr 2010 11:39:01 -0400 Received: from dmz-mailsec-scanner-5.mit.edu (DMZ-MAILSEC-SCANNER-5.MIT.EDU [18.7.68.34]) by mailhub-dmz-1.mit.edu (8.13.8/8.9.2) with ESMTP id o3OFd0Pq000505 for ; Sat, 24 Apr 2010 11:39:01 -0400 X-Auditid: 12074422-b7c13ae000003829-97-4bd31095add3 Received: from homiemail-a12.g.dreamhost.com (Unknown_Domain [208.97.132.5]) by dmz-mailsec-scanner-5.mit.edu (Symantec Brightmail Gateway) with SMTP id BC.02.14377.59013DB4; Sat, 24 Apr 2010 11:39:01 -0400 (EDT) Received: from [192.168.1.4] (pool-96-254-109-43.tampfl.fios.verizon.net [96.254.109.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jblaine@kickflop.net) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPSA id 67F11714058 for ; Sat, 24 Apr 2010 08:39:00 -0700 (PDT) Message-ID: <4BD31085.6030209@kickflop.net> Date: Sat, 24 Apr 2010 11:38:45 -0400 From: Jeff Blaine User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: krb5-bugs@mit.edu Subject: patch against trunk/src/kdc/main.c for more logging info Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAARPZKCw= X-Mailman-Approved-At: Sat, 24 Apr 2010 13:55:21 -0400 X-Beenthere: krb5-bugs-incoming@mailman.mit.edu X-Mailman-Version: 2.1.6 Precedence: list Sender: krb5-bugs-incoming-bounces@PCH.mit.edu Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu X-RT-Original-Encoding: iso-8859-1 Content-Length: 1262 Log more stuff, it only happens once per process start... Index: src/kdc/main.c =================================================================== --- src/kdc/main.c (revision 23930) +++ src/kdc/main.c (working copy) @@ -670,6 +670,7 @@ argv[0], optarg); exit(1); } + krb5_klog_syslog (LOG_INFO, "initialized realm %s", optarg); kdc_realmlist[kdc_numrealms] = rdatap; kdc_numrealms++; free(db_args), db_args=NULL, db_args_size = 0; @@ -789,6 +790,8 @@ com_err(argv[0], retval, "while initializing KDC replay cache '%s'", rcname); exit(1); + } else { + krb5_klog_syslog (LOG_INFO, "initialized replay cache"); } #endif @@ -971,7 +974,7 @@ } krb5_klog_syslog(LOG_INFO, "commencing operation"); if (nofork) - fprintf(stderr, "%s: starting...\n", kdc_progname); + fprintf(stderr, "%s: starting without forking...\n", kdc_progname); if ((retval = listen_and_process(0, kdc_progname, reset_for_hangup))) { kdc_err(kcontext, retval, "while processing network requests"); errout++;