[Dovecot] > 2.2.rc2: doveadm who -> Bad file descriptor

Lutz Preßler Lutz.Pressler at SerNet.DE
Wed Feb 27 17:39:07 EET 2013


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


More information about the dovecot mailing list