[Bug 589642] [NEW] courier-imap-4.7.0-1.x86_64 Input/output error

Elan Ruusamäe glen at delfi.ee
Fri Jun 4 13:45:10 CEST 2010


Public bug reported:

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

** Affects: pld-linux
     Importance: Undecided
         Status: New

-- 
courier-imap-4.7.0-1.x86_64 Input/output error
https://bugs.launchpad.net/bugs/589642
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: New

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




More information about the pld-bugs mailing list