Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31196 - mod_ssl depends on old apache, emerge overwrites /home/httpd/htdocs
Summary: mod_ssl depends on old apache, emerge overwrites /home/httpd/htdocs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 06:59 UTC by John Altstadt
Modified: 2003-10-24 02:52 UTC (History)
3 users (show)

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


Attachments
Patch that removes mod_ssl from the guide (virt-mail-howto.diff-no_mod_ssl,2.99 KB, patch)
2003-10-18 12:44 UTC, Sven Vermeulen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Altstadt 2003-10-15 06:59:05 UTC
Following the directions in the Virtual Mailhosting System Guide, I ran:
emerge apache mod_php mod_ssl phpmyadmin

mod_ssl-2.8.15.ebuild has DEPEND="=net-www/apache-1.3.28* ..." in it, so apache
was emerged after apache2, overwriting at least some of the contents of
/home/httpd/htdocs. I didn't realize until after I had emerged apache(2) again
that the manual directory was a softlink, so I could have probably saved myself
some effort, the the computer did most of the heavy lifting anyways.

Reproducible: Always
Steps to Reproduce:
1. Upon initial system configuration, follow the directions in Virtual
Mailhosting System Guide to emerge apache mod_php mod_ssl phpmyadmin.
Actual Results:  
apache-1.3.28 was emerged after apache-2.0.47

Expected Results:  
Should have used apache-2.0.47 and not emerged apache-1.3.28 at all.

Looking back, I can see that the emerge -p did say that it was going to emerge
the older apache, but I didn't notice it among the 20 some odd packages that
were listed.

emerge -p apache mod_php mod_ssl phpmyadmin

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-util/yacc-1.9.1-r1  
[ebuild  N    ] net-www/apache-2.0.47  
[ebuild  N    ] media-libs/lcms-1.09  
[ebuild  N    ] media-libs/libmng-1.0.4  
[ebuild  N    ] app-doc/qt-docs-3.1.2  
[ebuild  N    ] x11-libs/qt-2.3.2-r1  
[ebuild  N    ] dev-db/unixODBC-2.0.6  
[ebuild  N    ] x11-libs/qt-3.1.2-r4  
[ebuild  N    ] app-crypt/mhash-0.8.18-r1  
[ebuild  N    ] net-libs/c-client-2002d  
[ebuild  N    ] dev-libs/libmcrypt-2.5.7  
[ebuild  N    ] media-libs/pdflib-4.0.3-r1  
[ebuild  N    ] dev-perl/XML-Parser-2.31-r1  
[ebuild  N    ] app-text/sablotron-0.97  
[ebuild  N    ] media-libs/freetype-1.3.1-r3  
[ebuild  N    ] media-libs/t1lib-1.3.1  
[ebuild  N    ] net-libs/libwww-5.4.0-r1  
[ebuild  N    ] dev-php/mod_php-4.3.3-r1  
[ebuild  N    ] dev-libs/mm-1.2.1  
[ebuild  N    ] net-www/apache-1.3.28  
[ebuild  N    ] net-www/mod_ssl-2.8.15  
[ebuild  N    ] dev-db/phpmyadmin-2.5.3-r1  


Here is emerge info, note that apache2 is explicitly selected:

Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.23_pre6-gss-r1)
=================================================================
System uname: 2.4.23_pre6-gss-r1 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.noved.org/ ftp://gentoo.ccccom.com
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gpm jpeg kde gnome
libg++ mad mikmod mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga
truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline bonobo X tcpd pam
libwww ssl python esd imlib gtk qt motif opengl apache2 doc emacs gd guile imap
-ldap maildir mozilla mysql odbc perl samba sasl slp tcltk tiff usb xml zeo"
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2003-10-15 10:20:17 UTC
You should not have to emerge mod_ssl, since it is included in apache2.
So the guide should be changed, so is does not say anything about mod_ssl.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-10-18 12:44:20 UTC
Created attachment 19420 [details, diff]
Patch that removes mod_ssl from the guide

This should be sufficient to fix this bug.

If a docdev can review this I'd appreciate it.
Comment 3 Benny Chuang (RETIRED) gentoo-dev 2003-10-23 02:31:25 UTC
patch looks good
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-10-24 02:52:01 UTC
Committed. Thanks for reporting!