On Fri, 27 Oct 2006, Wesley Craig wrote: > On 27 Oct 2006, at 15:33, Henrique de Moraes Holschuh wrote: > >Cyrus master has issues with FDs 0,1 and 2 since ancient times. If > >anything > >in the code, anywhere, closes them and don't reopen them immediately, > >something like syslog() or another offender will promptly take them > >over and > >cause a lot of ruckus later. > > That bug was fixed: > > https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2422 > > Of course, it probably wouldn't have been a problem is master wasn't > designed to use 0, 1, and 2. Yes, I missed a "had" after "has". 2.1 still has it somewhere deep inside the code I didn't manage to root out for Debian, for example. That said, just moving off 0,1,2 is not difficult. But it would not help at all with bug #2422 (it is a problem with statically allocated fds, not with them being 0, 1 and 2). The ideal fix would be to have them be dynamic. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html