Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70994 - apache-2.0.52-r1 dosnt install ssl directory witch make ssl fail
Summary: apache-2.0.52-r1 dosnt install ssl directory witch make ssl fail
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 70917 78970 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-12 12:17 UTC by Örjan Södergren
Modified: 2005-04-23 20:42 UTC (History)
4 users (show)

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


Attachments
Patch for apache-2.0.52-r1 ebuild (apache-2.0.52-r1.patch,1.75 KB, patch)
2004-11-16 19:53 UTC, David Stanek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Örjan Södergren 2004-11-12 12:17:13 UTC
when emerging the latest stable apache net-www/apache-2.0.52-r1 the ssl dir in /etc/apache2/conf dosnt get created whereas system.crt and server.key dosnt get installed. Creating /etc/apache2/conf/ssl and re-emerg apache does install the files. Unmasking APACHE2_OPTS="-D SSL" in /etc/conf.d/apache2 make a failure in starting apache [!!]. Masking the line again makes apache start.

Reproducible: Always
Steps to Reproduce:
1. USE="ssl" emerge apache
2. mkdir /etc/apache2/conf/ssl
3. USE="ssl" emerge apache
4. /etc/init.d/apache2 start
5. eneble APACHE2_OPTS="-D SSL" in /etc/conf.d/apache2
6. /etc/init.d/apache2 restart
Actual Results:  
apache2 aint starting [!!]

Expected Results:  
apache should run with ssl enabled

/usr/lib/portage/bin/ebuild.sh: line 384: cd: //etc/apache2/conf/ssl: File or
catalog dosnt exist
Comment 1 David Stanek 2004-11-16 19:53:44 UTC
Created attachment 44130 [details, diff]
Patch for apache-2.0.52-r1 ebuild

/var/lib/dav, /var/log/apache2, and /var/cache/apache2 were also not being
created because they were are being created from within pkg_postinst which is
called after the package has been installed.
Comment 2 Sven Wegener gentoo-dev 2004-11-17 08:51:21 UTC
*** Bug 70917 has been marked as a duplicate of this bug. ***
Comment 3 Sandro Bonazzola (RETIRED) gentoo-dev 2004-12-01 01:13:15 UTC
I have the same problem with a clean install.
/usr/portage/net-www/apache/apache-2.0.52-r1.ebuild: line 384: cd: //etc/apache2
/conf/ssl: No such file or directory
 *
 * Generating self-signed test certificate in /etc/apache2/conf/ssl...
 *
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...                                       [ ok ]
>>> net-www/apache-2.0.52-r1 merged.
>>> Recording net-www/apache in "world" favorites file...


nano /etc/conf.d/apache2
APACHE2_OPTS="-D SSL -D PHP5"

~ # /etc/init.d/apache2 start
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 44 of /usr/lib/apache2/conf/modules.d/41_mod_ssl.default-vh
ost.conf:
SSLCertificateFile: file '/usr/lib/apache2/conf/ssl/server.crt' does not exist o
r is empty

~ # cat /etc/passwd|grep apache
apache:x:81:81:apache:/home/httpd:/bin/false
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-12-02 13:48:55 UTC
Patch applied to apache-2.0.52-r2, which will appear in Portage at some point over the weekend.

Once it's there, please test, and let me know if this fixes your bug.

Best regards,
Stu
Comment 5 JOO ILYUNG 2004-12-15 23:09:35 UTC
Last night, I tried apache-2.0.52-r1 but the result was fail..
I am not sure if I tried r2 patch but I think the same.
I hope this information helps.
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-21 12:39:23 UTC
*** Bug 78970 has been marked as a duplicate of this bug. ***
Comment 7 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 20:42:34 UTC
This still an issue ?