[Bug 780820] Re: kadmin: IPv6 support binds IPv4 socket leading to EAFNOSUPPORT.

Bug Watch Updater 780820 at bugs.launchpad.net
Thu Aug 11 00:03:18 UTC 2011


** Changed in: krb5 (Debian)
       Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/780820

Title:
  kadmin: IPv6 support binds IPv4 socket leading to EAFNOSUPPORT.

Status in “krb5” package in Ubuntu:
  Fix Released
Status in “krb5” package in Debian:
  Fix Released

Bug description:
  Package: krb5-user
  Version: 1.8.3+dfsg-4
  Severity: important
  File: /usr/bin/kadmin

  Here is a small bit of strace output:
  socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4

  bind(4, {sa_family=AF_INET, sin_port=htons(775),
      sin_addr=inet_addr("0.0.0.0")}, 16) = 0

  connect(4, {sa_family=AF_INET6, sin6_port=htons(749),
      inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0,
      sin6_scope_id=0}, 16) = -1 EAFNOSUPPORT (Address family not supported
      by protocol)

  Obviously the bind needs to be made IPv6 aware.  I hope this is self
  explanitory, the initial connection to the admin server falis as a
  result and kadmin exits.  Also the addres in the connect seams wrong.
  This is run on localhost and the '-s 127.0.0.1' option is ignored.

  -- System Information:
  Debian Release: 6.0.1
    APT prefers stable
    APT policy: (900, 'stable')
  Architecture: amd64 (x86_64)

  Kernel: Linux 2.6.35.4-rscloud (SMP w/4 CPU cores)
  Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
  Shell: /bin/sh linked to /bin/bash

  Versions of packages krb5-user depends on:
  ii  krb5-config                 2.2          Configuration files for Kerberos V
  ii  libc6                       2.11.2-10    Embedded GNU C Library: Shared lib
  ii  libcomerr2                  1.41.12-2    common error description library
  ii  libgssapi-krb5-2            1.8.3+dfsg-4 MIT Kerberos runtime libraries - k
  ii  libgssrpc4                  1.8.3+dfsg-4 MIT Kerberos runtime libraries - G
  ii  libk5crypto3                1.8.3+dfsg-4 MIT Kerberos runtime libraries - C
  ii  libkadm5clnt-mit7           1.8.3+dfsg-4 MIT Kerberos runtime libraries - A
  ii  libkeyutils1                1.4-1        Linux Key Management Utilities (li
  ii  libkrb5-3                   1.8.3+dfsg-4 MIT Kerberos runtime libraries
  ii  libkrb5support0             1.8.3+dfsg-4 MIT Kerberos runtime libraries - S
  ii  libss2                      1.41.12-2    command-line interface parsing lib

  krb5-user recommends no packages.

  krb5-user suggests no packages.

  -- no debconf information

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: krb5-user 1.8.1+dfsg-5ubuntu0.7 [modified: usr/bin/kadmin usr/bin/kdestroy usr/bin/kinit usr/bin/klist usr/bin/kpasswd usr/bin/ksu usr/bin/ktutil usr/bin/kvno]
  Uname: Linux 2.6.39-020639rc1-generic i686
  Architecture: i386
  Date: Tue May 10 19:27:38 2011
  ProcEnviron:
   LANGUAGE=C:en
   PATH=(custom, no user)
   LANG=C
   SHELL=/bin/bash
  SourcePackage: krb5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/780820/+subscriptions




More information about the foundations-bugs mailing list