Gentoo Archives: gentoo-user

From: Leho Kraav <leho@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] apache-2.2.20 - upstream config files reappear in /etc
Date: Sat, 03 Sep 2011 23:34:05
Message-Id: 4E62B912.1000005@kraav.com
1 So after upgrading against the Range header vulnerability, I find that
2 apache-2.2.20 seems to litter /etc/apache2 with standard configuration
3 files, while I don't remember anything at least in 2.2.1x range doing that.
4
5 leho@server etc $ qlist apache- | grep etc
6 /etc/apache2/extra/httpd-autoindex.conf
7 /etc/apache2/extra/httpd-multilang-errordoc.conf
8 /etc/apache2/extra/httpd-vhosts.conf
9 /etc/apache2/extra/httpd-mpm.conf
10 /etc/apache2/extra/httpd-default.conf
11 /etc/apache2/extra/httpd-dav.conf
12 /etc/apache2/extra/httpd-languages.conf
13 /etc/apache2/extra/httpd-ssl.conf
14 /etc/apache2/extra/httpd-info.conf
15 /etc/apache2/extra/httpd-manual.conf
16 /etc/apache2/extra/httpd-userdir.conf
17 /etc/apache2/vhosts.d/00_default_ssl_vhost.conf
18 /etc/apache2/vhosts.d/00_default_vhost.conf
19 /etc/apache2/vhosts.d/.keep_www-servers_apache-2
20 /etc/apache2/vhosts.d/default_vhost.include
21 /etc/apache2/magic
22 /etc/apache2/original/extra/httpd-autoindex.conf
23 /etc/apache2/original/extra/httpd-multilang-errordoc.conf
24 /etc/apache2/original/extra/httpd-vhosts.conf
25 /etc/apache2/original/extra/httpd-mpm.conf
26 /etc/apache2/original/extra/httpd-default.conf
27 /etc/apache2/original/extra/httpd-dav.conf
28 /etc/apache2/original/extra/httpd-languages.conf
29 /etc/apache2/original/extra/httpd-ssl.conf
30 /etc/apache2/original/extra/httpd-info.conf
31 /etc/apache2/original/extra/httpd-manual.conf
32 /etc/apache2/original/extra/httpd-userdir.conf
33 /etc/apache2/original/httpd.conf
34 /etc/apache2/httpd.conf
35 /etc/apache2/apache2.conf
36 /etc/apache2/mime.types
37 /etc/apache2/modules.d/00_mod_userdir.conf
38 /etc/apache2/modules.d/00_languages.conf
39 /etc/apache2/modules.d/00_mod_status.conf
40 /etc/apache2/modules.d/00_mod_info.conf
41 /etc/apache2/modules.d/00_mod_mime.conf
42 /etc/apache2/modules.d/46_mod_ldap.conf
43 /etc/apache2/modules.d/00_error_documents.conf
44 /etc/apache2/modules.d/00_mod_autoindex.conf
45 /etc/apache2/modules.d/.keep_www-servers_apache-2
46 /etc/apache2/modules.d/00_mpm.conf
47 /etc/apache2/modules.d/45_mod_dav.conf
48 /etc/apache2/modules.d/40_mod_ssl.conf
49 /etc/apache2/modules.d/00_mod_log_config.conf
50 /etc/apache2/modules.d/00_default_settings.conf
51 /etc/apache2/modules.d/10_mod_mem_cache.conf
52 /etc/conf.d/apache2
53 /etc/init.d/apache2
54 /etc/logrotate.d/apache2
55
56 leho@server etc $ sudo git status -s apache2
57 M apache2/modules.d/70_mod_wsgi.conf
58 ?? apache2/apache2.conf
59 ?? apache2/extra/
60 ?? apache2/mime.types
61 ?? apache2/modules.d/00_mod_headers.conf
62 ?? apache2/original/
63
64 My git log shows I did a Gentoo-config migration about 8 months ago.
65
66 commit 48baa69137ad8d84c1678b59a13648092d8f7906
67 Author: leho <leho@×××××.com>
68 Date: Fri Dec 17 23:33:01 2010 +0200
69
70 apache2: vimdiff merge gentoo distro configa + apps/*.conf
71
72 diff --git a/apache2/httpd.conf b/apache2/httpd.conf
73 index 85e5126..241a7ba 100644
74 --- a/apache2/httpd.conf
75 +++ b/apache2/httpd.conf
76 @@ -1,69 +1,43 @@
77 +# This is a modification of the default Apache 2.2 configuration file
78 +# for Gentoo Linux.
79 ... yadda yadda
80
81 Can anyone shed some light (discussion URLs?) onto why apache2.conf,
82 extra/ and original/ are installed again? Maybe some eclass thing?
83
84 --
85 Leho Kraav, M.Sc.
86
87 http://leho.kraav.com

Replies

Subject Author
Re: [gentoo-user] apache-2.2.20 - upstream config files reappear in /etc Michael Hampicke <gentoo-user@××××.biz>