Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16245 - mod_ssl is not automatically updated when a new version of openssl is emerged
Summary: mod_ssl is not automatically updated when a new version of openssl is emerged
Status: RESOLVED DUPLICATE of bug 1991
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
Depends on:
Reported: 2003-02-23 15:59 UTC by Ryan Earl
Modified: 2011-10-30 22:21 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Earl 2003-02-23 15:59:07 UTC
After doing an 'emerge rysnc' I checked packages in my world database that 
needed to be updated.  OpenSSL 0.9.6g went to OpenSSL 0.9.6i.  I emerged the 
new OpenSSL package, and restarted all programs dependent on it.  Checking 
phpinfo() under Apache revealed that it was still using OpenSSL 0.9.6g instead 
of i.  I then re-emerged mod_ssl--same version as before, 2.8.12--and 
restarted Apache again.  This time phpinfo() reported mod_ssl was linked to 
the new version of OpenSSL.

I'm not sure if this is a "feature" or an error, but in the instance, when 
installing a new version of a crypto package, it would make sense to have that 
version automatically used in its most common application.

Reproducible: Always
Steps to Reproduce:
1. Install Gentoo with Apache/openssl/mod_ssl
2. emerge rysnc
3. update just openssl

Actual Results:  
mod_ssl still used old version.

Expected Results:  
mod_ssl would use the new openssl package.

From phpinfo()

After updating openssl and restarting Apache, but before emerge mod_ssl again:
Apache/1.3.27 (Unix) (Gentoo/Linux) mod_gzip/ mod_ssl/2.8.12 
OpenSSL/0.9.6g PHP/4.3.1 

After emerging mod_ssl and restarting Apache having already emerged the new 
openssl pacakge a:
Apache/1.3.27 (Unix) (Gentoo/Linux) mod_gzip/ mod_ssl/2.8.12 
OpenSSL/0.9.6i PHP/4.3.1
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-02-23 16:07:02 UTC
please make a new -rX with >=openssl-0.9.6i as depend
Comment 2 Donny Davies (RETIRED) gentoo-dev 2003-02-23 16:46:42 UTC
please go right ahead, this is a community project.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-02-23 18:03:26 UTC
fixed apache with -r3 (stable) and -r4 (unstable)

now php has to be fixed
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-02-23 18:27:11 UTC
mod_ssl also fixed
Comment 5 SpanKY gentoo-dev 2003-02-23 20:14:37 UTC
umm, updating DEPEND is wrong ... 
you should add mod_ssl and stuff as a PDEPEND to the openssl ebuild ... 
or mark this bug as a duplicate of the bugs which discuss auto updating packages 
when libraries are updated ... 
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-02-24 15:41:23 UTC
SpanKY do you know the bugid from marking this as duplicate ?
Comment 7 SpanKY gentoo-dev 2003-02-24 15:45:40 UTC

*** This bug has been marked as a duplicate of 1991 ***