Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291539 - courier-imap-4.5.0 broke relay-ctrl : imapd: relay-ctrl-allow []: Warning: Could not chdir to FD : Bad file descriptor.
Summary: courier-imap-4.5.0 broke relay-ctrl : imapd: relay-ctrl-allow []: Warning: Co...
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 304599 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-02 09:45 UTC by Régis Couperie
Modified: 2016-08-09 08:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Régis Couperie 2009-11-02 09:45:11 UTC
Hello,
After an update to courier-imap-4.5.0 the relay-ctrl function broke:

imapd: relay-ctrl-allow[4945]: Warning: Could not chdir to FD : Bad file descriptor.

>net-mail/relay-ctrl-3.1.1-r2
>net-mail/courier-imap-4.5.0  USE="berkdb fam gdbm nls -debug -gnutls -ipv6 (-selinux)"

Please ask me more info you need, as it's my first contribution to bugs.gentoo.org

Reproducible: Always
Comment 1 Vern Smith 2009-12-23 01:17:33 UTC
I have the same problem and I do not see any explanation as to why this bug is invalid. 
Comment 2 Jeff Benjamin 2010-08-20 22:31:03 UTC
Check that you still have this line:
        /usr/bin/relay-ctrl-chdir \

Just before the auth program in your /usr/lib/courier-imap/gentoo-*.rc files.

This error will occur if that line has been included too early, such as if it is on the PRERUN line in /etc/courier-imap/{imapd,pop3d}.  It must come AFTER couriertcpd is executed.
Comment 3 Pacho Ramos gentoo-dev 2016-08-09 08:58:53 UTC
*** Bug 304599 has been marked as a duplicate of this bug. ***