Merge lp:~james-page/ubuntu/natty/cobbler/fix-760012 into lp:ubuntu/natty/cobbler

Proposed by James Page
Status: Merged
Merged at revision: 15
Proposed branch: lp:~james-page/ubuntu/natty/cobbler/fix-760012
Merge into: lp:ubuntu/natty/cobbler
Diff against target: 102 lines (+48/-4)
6 files modified
.pc/39_cw_remove_vhost.patch/config/cobbler_web.conf (+14/-0)
.pc/applied-patches (+1/-0)
config/cobbler_web.conf (+0/-4)
debian/changelog (+7/-0)
debian/patches/39_cw_remove_vhost.patch (+25/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~james-page/ubuntu/natty/cobbler/fix-760012
Reviewer Review Type Date Requested Status
Ubuntu Development Team Pending
Review via email: mp+57864@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.pc/39_cw_remove_vhost.patch'
2=== added directory '.pc/39_cw_remove_vhost.patch/config'
3=== added file '.pc/39_cw_remove_vhost.patch/config/cobbler_web.conf'
4--- .pc/39_cw_remove_vhost.patch/config/cobbler_web.conf 1970-01-01 00:00:00 +0000
5+++ .pc/39_cw_remove_vhost.patch/config/cobbler_web.conf 2011-04-15 12:50:55 +0000
6@@ -0,0 +1,14 @@
7+# This configuration file enables the cobbler web
8+# interface (django version)
9+
10+<VirtualHost *:80>
11+
12+# Do not log the requests generated from the event notification system
13+SetEnvIf Request_URI ".*/op/events/user/.*" dontlog
14+# Log only what remains
15+#CustomLog logs/access_log combined env=!dontlog
16+
17+WSGIScriptAlias /cobbler_web /usr/share/cobbler/web/cobbler.wsgi
18+
19+</VirtualHost>
20+
21
22=== modified file '.pc/applied-patches'
23--- .pc/applied-patches 2011-04-07 13:25:13 +0000
24+++ .pc/applied-patches 2011-04-15 12:50:55 +0000
25@@ -9,3 +9,4 @@
26 36_tainted_file_path.patch
27 37_koan_install_tree.patch
28 38_koan_qcreate_ubuntu_support.patch
29+39_cw_remove_vhost.patch
30
31=== modified file 'config/cobbler_web.conf'
32--- config/cobbler_web.conf 2011-04-04 12:55:44 +0000
33+++ config/cobbler_web.conf 2011-04-15 12:50:55 +0000
34@@ -1,8 +1,6 @@
35 # This configuration file enables the cobbler web
36 # interface (django version)
37
38-<VirtualHost *:80>
39-
40 # Do not log the requests generated from the event notification system
41 SetEnvIf Request_URI ".*/op/events/user/.*" dontlog
42 # Log only what remains
43@@ -10,5 +8,3 @@
44
45 WSGIScriptAlias /cobbler_web /usr/share/cobbler/web/cobbler.wsgi
46
47-</VirtualHost>
48-
49
50=== modified file 'debian/changelog'
51--- debian/changelog 2011-04-07 13:25:13 +0000
52+++ debian/changelog 2011-04-15 12:50:55 +0000
53@@ -1,3 +1,10 @@
54+cobbler (2.1.0-0ubuntu6) natty; urgency=low
55+
56+ * Fix DocumentRoot conflict with default vhost (LP: #760012)
57+ - debian/patches/39_cw_remove_vhost.patch: Remove VirtualHost definition.
58+
59+ -- James Page <james.page@canonical.com> Fri, 15 Apr 2011 13:35:20 +0100
60+
61 cobbler (2.1.0-0ubuntu5) natty; urgency=low
62
63 * Fix koan launch of Ubuntu images in KVM (LP: #751959).
64
65=== added file 'debian/patches/39_cw_remove_vhost.patch'
66--- debian/patches/39_cw_remove_vhost.patch 1970-01-01 00:00:00 +0000
67+++ debian/patches/39_cw_remove_vhost.patch 2011-04-15 12:50:55 +0000
68@@ -0,0 +1,25 @@
69+Description: Remove VirtualHost definition from cobbler-web Apache config
70+ as this causes any DocumentRoot settings in the default vhost to be
71+ lost on Ubuntu.
72+Author: James Page <james.page@canonical.com>
73+Forwarded: no
74+
75+Index: fix-760012/config/cobbler_web.conf
76+===================================================================
77+--- fix-760012.orig/config/cobbler_web.conf 2011-04-15 13:31:48.310736607 +0100
78++++ fix-760012/config/cobbler_web.conf 2011-04-15 13:32:18.610726223 +0100
79+@@ -1,8 +1,6 @@
80+ # This configuration file enables the cobbler web
81+ # interface (django version)
82+
83+-<VirtualHost *:80>
84+-
85+ # Do not log the requests generated from the event notification system
86+ SetEnvIf Request_URI ".*/op/events/user/.*" dontlog
87+ # Log only what remains
88+@@ -10,5 +8,3 @@
89+
90+ WSGIScriptAlias /cobbler_web /usr/share/cobbler/web/cobbler.wsgi
91+
92+-</VirtualHost>
93+-
94
95=== modified file 'debian/patches/series'
96--- debian/patches/series 2011-04-07 13:25:13 +0000
97+++ debian/patches/series 2011-04-15 12:50:55 +0000
98@@ -9,3 +9,4 @@
99 36_tainted_file_path.patch
100 37_koan_install_tree.patch
101 38_koan_qcreate_ubuntu_support.patch
102+39_cw_remove_vhost.patch

Subscribers

People subscribed via source and target branches

to all changes: