From owner-freebsd-bugs Thu Nov 28 14:50: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E030F37B404 for ; Thu, 28 Nov 2002 14:50:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA5E043EA9 for ; Thu, 28 Nov 2002 14:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gASMo2x3007154 for ; Thu, 28 Nov 2002 14:50:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gASMo2Mt007153; Thu, 28 Nov 2002 14:50:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F63A37B401 for ; Thu, 28 Nov 2002 14:47:32 -0800 (PST) Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51DC743EB2 for ; Thu, 28 Nov 2002 14:47:31 -0800 (PST) (envelope-from michel@shift.xs4all.nl) Received: from shift.xs4all.nl (shift.xs4all.nl [213.84.238.5]) by smtpzilla1.xs4all.nl (8.12.0/8.12.0) with ESMTP id gASMlPgx035855 for ; Thu, 28 Nov 2002 23:47:26 +0100 (CET) Received: by shift.xs4all.nl (Postfix, from userid 1000) id A449A1415; Thu, 28 Nov 2002 23:47:24 +0100 (CET) Message-Id: <20021128224724.A449A1415@shift.xs4all.nl> Date: Thu, 28 Nov 2002 23:47:24 +0100 (CET) From: Michel Oosterhof Reply-To: Michel Oosterhof To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/45830: KDC has problems when listening to IPv6 and IPv4 addresses Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45830 >Category: misc >Synopsis: KDC has problems when listening to IPv6 and IPv4 addresses >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 28 14:50:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Michel Oosterhof >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: >Environment: System: FreeBSD hydrogen 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Mon Sep 9 20:44:52 CEST 2002 root@hydrogen:/usr/obj/usr/src/sys/HYDROGEN i386 >Description: I'm trying to run the kdc (heimdal kerberos daemon), on a specific ipv6 address (and 2 ipv4 addresses). This works, if i specify the following in /etc/krb5.conf ... [kdc] addresses = 3ffe:8280:10:1050::1 10.1.1.1 127.0.0.1 ... However, if I configure this line as: ... [kdc] addresses = 10.1.1.1 127.0.0.1 3ffe:8280:10:1050::1 ... It will fail! Apparently there is some process that depends on the order of the entries. I classify this as a bug, the documentation does not mention there is any order dependency in here. Related to this are some confusing error messages (in the second scenario): Nov 28 23:41:30 hydrogen kdc[98309]: bind IPv6:3ffe:8280:10:1050::1/88: /var/heimdal/kdc.conf:0: can not open file Nov 28 23:41:30 hydrogen kdc[98309]: bind IPv6:3ffe:8280:10:1050::1/88: Can't assign requested addre ss Nov 28 23:41:30 hydrogen kdc[98309]: listening on IPv4:10.1.1.1 port 88/udp Nov 28 23:41:30 hydrogen kdc[98309]: listening on IPv4:127.0.0.1 port 88/udp Nov 28 23:41:30 hydrogen kdc[98309]: listening on IPv4:10.1.1.1 port 88/tcp Nov 28 23:41:30 hydrogen kdc[98309]: listening on IPv4:127.0.0.1 port 88/tcp The last four lines are normal, listening to the IPv4 ports is working. The first two lines confuse me. The first warning seems to be some cached warning about the configuration file, but this does not have to do anything with the ipv6 binding. (FYI, i only use /etc/krb5.conf, there is no /var/heimdal/kdc.conf file, all [kdc] entries are in /etc/krb5.conf) >How-To-Repeat: Install heimdal kerberos on -STABLE, specify specific listening addresses and list the ipv6 address last. >Fix: Workaround: list the ipv6 addresses first (could be a doc workaround). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message