Lutz Preßler
2013-Feb-27 15:39 UTC
[Dovecot] > 2.2.rc2: doveadm who -> Bad file descriptor
Hello, 2.2.rc2 is reproducibly fine, but (all from xi.rename-it.nl) dovecot_2.2.0~rc2-0~auto+11 (15988:2020ed15efb9) and dovecot_2.2.0~rc2-0~auto+7 (15980:d84c7c11d7b7) have "doveadm who" not working: # doveadm who doveadm(root): Fatal: fcntl(-1, F_GETFL) failed: Bad file descriptor strace doveadm who ends with: socket(PF_FILE, SOCK_STREAM, 0) = 8 fcntl(8, F_GETFL) = 0x2 (flags O_RDWR) fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(8, {sa_family=AF_FILE, path="/var/run/dovecot/anvil"}, 110) = 0 fcntl(-1, F_GETFL) = -1 EBADF (Bad file descriptor) write(2, "doveadm(root): Fatal: fcntl(-1, "..., 69doveadm(root): Fatal: fcntl(-1, F_GETFL) failed: Bad file descriptor ) = 69 exit_group(75) = ? same with 2.2.rc2 includes: socket(PF_FILE, SOCK_STREAM, 0) = 8 fcntl(8, F_GETFL) = 0x2 (flags O_RDWR) fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(8, {sa_family=AF_FILE, path="/var/run/dovecot/anvil"}, 110) = 0 fcntl(8, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl(8, F_SETFL, O_RDWR) = 0 fstat(8, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 write(8, "VERSION\tanvil\t1\t0\nCONNECT-DUMP\n", 31) = 31 Lutz -- Lutz Pre?ler <Lutz.Pressler at SerNet.DE> http://www.SerNet.DE/ SerNet Service Network GmbH, Bahnhofsallee 1b, D-37081 G?ttingen Tel.: +49-551-370000-2, FAX: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen
Lutz Preßler
2013-Feb-27 15:55 UTC
[Dovecot] > 2.2.rc2: doveadm who -> Bad file descriptor
On Mi, 27 Feb 2013, Lutz Pre?ler wrote:> Hello, > > 2.2.rc2 is reproducibly fine, but (all from xi.rename-it.nl) > dovecot_2.2.0~rc2-0~auto+11 (15988:2020ed15efb9) and > dovecot_2.2.0~rc2-0~auto+7 (15980:d84c7c11d7b7) have > "doveadm who" not working: > > # doveadm who > doveadm(root): Fatal: fcntl(-1, F_GETFL) failed: Bad file descriptor >http://hg.dovecot.org/dovecot-2.2/rev/91631438abce 1.79 "return -1;" looks suspicious. Lutz
Timo Sirainen
2013-Feb-27 16:00 UTC
[Dovecot] > 2.2.rc2: doveadm who -> Bad file descriptor
On 27.2.2013, at 17.55, Lutz Pre?ler <Lutz.Pressler at SerNet.DE> wrote:> On Mi, 27 Feb 2013, Lutz Pre?ler wrote: > >> Hello, >> >> 2.2.rc2 is reproducibly fine, but (all from xi.rename-it.nl) >> dovecot_2.2.0~rc2-0~auto+11 (15988:2020ed15efb9) and >> dovecot_2.2.0~rc2-0~auto+7 (15980:d84c7c11d7b7) have >> "doveadm who" not working: >> >> # doveadm who >> doveadm(root): Fatal: fcntl(-1, F_GETFL) failed: Bad file descriptor >> > http://hg.dovecot.org/dovecot-2.2/rev/91631438abce 1.79 "return -1;" > looks suspicious.Yes, very :) Fixed: http://hg.dovecot.org/dovecot-2.2/rev/976bf9e69367