[Bug 589642] Re: courier-imap-4.7.0-2.x86_64 Input/output error

Artur Frysiak 589642 at bugs.launchpad.net
Wed Dec 28 14:18:49 CET 2011


** Changed in: pld-linux
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/589642

Title:
  courier-imap-4.7.0-2.x86_64 Input/output error

Status in PLD Linux Distribution:
  Fix Released

Bug description:
  courier-imap-4.7.0-2.x86_64 is not usable. says "Input/output error"

  apparently build with openssl 1.0.0 is the cause as it works ok with
  courier-imap-4.7.0-1.x86_64.

  simple test possible
  1. install package
  2. start courier-authlib service

  broken situation:
  # echo ". login a a " | /usr/sbin/imaplogin /usr/bin/imapd Mail/Maildir
  DEBUG: Connection, ip=[127.0.0.1]
  * OK [CAPABILITY IMAP4rev1] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
  INFO: LOGIN FAILED, user=a, ip=[127.0.0.1]
  ERR: authentication error: Input/output error
  * BYE Temporary problem, please try again later

  OK situation:
  # echo ". login a a " | /usr/sbin/imaplogin /usr/bin/imapd Mail/Maildir
  DEBUG: Connection, ip=[127.0.0.1]
  * OK [CAPABILITY IMAP4rev1] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
  INFO: LOGIN FAILED, user=a, ip=[127.0.0.1]
  . NO Login failed.
  DEBUG: Disconnected, ip=[127.0.0.1], time=5

  
  strace revealed that it got empty response [1] when talking to authd:

  Process 18725 attached - interrupt to quit
  select(1, [0], NULL, NULL, {1793, 867612}) = 1 (in [0], left {1790, 192668})
  read(0, ". login a b\n", 8192)          = 12
  socket(PF_FILE, SOCK_STREAM, 0)        = 3
  fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
  connect(3, {sa_family=AF_FILE, path="/var/spool/authdaemon/socket"}, 110) = 0
  fcntl(3, F_SETFL, O_RDONLY)            = 0
  select(4, NULL, [3], NULL, {10, 0})    = 1 (out [3], left {9, 999998})
  write(3, "AUTH \361\210\322\306\177\nimap\nlogin\na\nb\n", 26) = 26
  select(4, [3], NULL, NULL, {30, 0})    = 1 (in [3], left {29, 999998})
  read(3, "", 8191)                      = 0   [1]
  close(3)                                = 0
  write(2, "INFO: LOGIN FAILED, user=a, ip=["..., 43) = 43
  write(2, "ERR: authentication error: Input"..., 46) = 46
  write(1, "* BYE Temporary problem, please "..., 49) = 49
  exit_group(1)                          = ?
  Process 18725 detached

To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/589642/+subscriptions


More information about the pld-bugs mailing list