Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143830 - please stabilize net-mail/courier-imap-4.0.4
Summary: please stabilize net-mail/courier-imap-4.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords: STABLE
Depends on:
Blocks: pam.d-mailbase 98745
  Show dependency tree
 
Reported: 2006-08-13 17:43 UTC by Robin Johnson
Modified: 2006-11-11 20:45 UTC (History)
8 users (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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-08-13 17:43:21 UTC
arches: please stabilize courier-imap-4.0.4, the init scripts in this version are needed for usage with baselayout-1.12.*

test for compiling only, as upstream doesn't provide a testsuite that is usable for Gentoo (it conflicts with one of the options that we need to build with).
Comment 1 Brent Baude (RETIRED) gentoo-dev 2006-08-14 07:24:01 UTC
marked ppc64 stable, thanks
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2006-08-14 10:03:17 UTC
HPPA done!
Comment 3 Jason Wever (RETIRED) gentoo-dev 2006-08-15 05:42:29 UTC
The only thing that feels better than being hit by an 18 wheel truck is having your ebuild get a SPARC keyword! YEAH!
Comment 4 Richard Freeman gentoo-dev 2006-08-16 14:44:17 UTC
Looks OK to keyword stable on amd64.  Tested on stable amd64 box.  Out 30+days, no applicable bugs (the one re /usr/lib64/courier-imap/*.rc doesn't seem to apply to this ebuild).
Comment 5 Richard Freeman gentoo-dev 2006-08-16 14:45:12 UTC
Sorry - forgot to post the amd64 emerge --info:

Gentoo Base System version 1.12.4
Portage 2.1-r2 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12-rf54 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r12-rf54 x86_64 AMD Athlon(tm) 64 Processor 3000+
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home /opt/zetagrid /usr/NX/etc /usr/NX/home /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/freenet /var/www"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer multilib-strict nostrip parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j1"
PKGDIR="/var/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac aim alsa apache2 avi berkdb bitmap-fonts cdparanoia cli crypt css ctype cups dba dlloader dri dv dvb dvd dvdr dvdread eds emboss encode fam fbcon ffmpeg font-server foomaticdb fortran gif gimpprint glut gmail gpm gstreamer gtk gtk2 iconv ieee1394 imap imlib innodb isdnlog jabber java jpeg kde kerberos lm_sensors lzw lzw-tiff maildir memlimit mozsvg mp3 mp4 mp4live mpeg mplayer msn musicbrainz mysql ncurses nls nodrm nptl ntlm oav ogg oggvorbis opengl pam pcre pda pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sasl sdl session smime sox spell spl ssl svg tcpd theora tiff timidity transcode truetype truetype-fonts type1-fonts unicode usb vnc vorbis x264 xml xorg xpm xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 Ryan Hill (RETIRED) gentoo-dev 2006-08-16 17:53:23 UTC
[ebuild  N    ] net-libs/courier-authlib-0.58  USE="berkdb crypt gdbm pam -debug -ldap -mysql -postgres" 1,959 kB
[ebuild  N    ] net-mail/courier-imap-4.0.4  USE="berkdb fam gdbm -debug -ipv6 -nls" 3,082 kB

Compile tested for x86.  Longest configure ev-arr.  Looks good.


Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ ftp://cs.ubishops.ca/pub/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dirtyepic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

Comment 7 Fernando J. Pereda (RETIRED) gentoo-dev 2006-08-17 02:16:45 UTC
Alpha done.
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2006-08-17 05:03:28 UTC
You have amd64 keyword.
Comment 9 Togge 2006-08-17 10:20:01 UTC
been running this on my "x86" server for about 1 week now. no problems
x86 soon?
Comment 10 Joshua Jackson (RETIRED) gentoo-dev 2006-08-17 21:22:41 UTC
many people are clamoring for this on x86 ~_~
Comment 11 Tobias Scherbaum (RETIRED) gentoo-dev 2006-08-18 14:20:15 UTC
ppc stable
Comment 12 Joe Khoobyar 2006-08-23 21:05:59 UTC
Pam logins are broken for me after emerging 4.0.4.

x86.
Comment 13 Brendan Shanks 2006-08-25 10:50:07 UTC
(In reply to comment #12)
> Pam logins are broken for me after emerging 4.0.4.
> 
> x86.
> 

This may deserve a new bug, but I had the same problem. I'm x86 also, and upgraded from courier-imapd 4.0.1 to 4.0.4. I use courier-imapd-ssl exclusively. When trying to log in, messages like these showed up in logs:
Aug 25 10:26:58 [imapd-ssl] Connection, ip=[::ffff:132.xxx.xx.xx]
Aug 25 10:26:59 [imapd-ssl] exec(/usr/lib/courier-imap/courier-imapd.indirect) failed!!
Aug 25 10:26:59 [imapd-ssl] LOGIN FAILED, user=xxx, ip=[::ffff:132.xxx.xx.xx]

The problem was that, somehow, /usr/lib/courier-imap had been set to:
drw-------  2 root root      480 Aug 25 10:03 courier-imap

Resetting the permissions fixed the problem, and I can now log in:
drwxr-xr-x  2 root root      480 Aug 25 10:03 courier-imap
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-08-25 12:43:44 UTC
AFAIK nothing in any of the gentoo ebuilds ever set perms 600 on /usr/lib/courier-imap, but I will modify the ebuild to force perms to be something sane regardless.
Comment 15 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-08-25 14:15:11 UTC
the chown fixup is in the tree now.
Comment 16 Joe Khoobyar 2006-08-30 05:46:49 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > Pam logins are broken for me after emerging 4.0.4.
> > 
> > x86.
> > 
> 
> This may deserve a new bug, but I had the same problem. I'm x86 also, and
> upgraded from courier-imapd 4.0.1 to 4.0.4. I use courier-imapd-ssl
> exclusively. When trying to log in, messages like these showed up in logs:
> Aug 25 10:26:58 [imapd-ssl] Connection, ip=[::ffff:132.xxx.xx.xx]
> Aug 25 10:26:59 [imapd-ssl] exec(/usr/lib/courier-imap/courier-imapd.indirect)
> failed!!
> Aug 25 10:26:59 [imapd-ssl] LOGIN FAILED, user=xxx, ip=[::ffff:132.xxx.xx.xx]
> 
> The problem was that, somehow, /usr/lib/courier-imap had been set to:
> drw-------  2 root root      480 Aug 25 10:03 courier-imap
> 
> Resetting the permissions fixed the problem, and I can now log in:
> drwxr-xr-x  2 root root      480 Aug 25 10:03 courier-imap
> 

No, my problem is a bit stranger. The number "0" is appended to the username prior to being passed to courier-authlib. So, authlib keeps failing to authenticate any user because it's using the wrong name.  I built a patched version of authlib just to verify that it was getting passed this and that it wasn't doing it itself.  So, I know that for some reason courier-imap is passing this bogus crap.

However, I'm thinking that it might be related to some other library.  I tried upgrading to 4.0.6, downgrading to 4.0.1, and I still get this same issue.  And now that I've tried all of that, this is probably the wrong place for this bug... 
Comment 17 Joe Khoobyar 2006-08-30 06:19:11 UTC
I just fixed it simply by upgrading to courier-imap 4.1.1.

So, in my opinion, that package has my vote for at least bringing in the development ebuilds as ~x86.

Please!
Comment 18 Joshua Kinard gentoo-dev 2006-09-04 20:33:14 UTC
4.0.4 stable on mips.
Comment 19 SpanKY gentoo-dev 2006-11-11 20:45:58 UTC
all set