Makefile changes ownership of web directory to 'apache', not 'www-data'.

Bug #708808 reported by Patrick Dubois
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: cobbler

Performing :

1) bzr co lp:~ubuntu-virt/cobbler/ubuntu

2) Apply patches as found.

3) verify patches applied :
--
tests@ubuntucobbler:~/ubuntu# quilt applied
01-ubuntu-webroot.patch
03-localboot-value.patch
04-logfile-check.patch
11_support-other-wol-tools.patch
21_cobbler_use_netboot.patch
22_re-enable_debmirror.patch
30_cobbler4j_redstone.patch
--

4) attempt make && make install results in :
--
....
Writing /usr/local/lib/python2.7/dist-packages/cobbler-2.1.0.egg-info
chown -R apache /usr/share/cobbler/web
chown: invalid user: `apache'
make: *** [install] Error 1
--

Suggested patch :
--
=== modified file 'Makefile'
--- Makefile 2011-01-13 22:05:33 +0000
+++ Makefile 2011-01-27 17:49:22 +0000
@@ -37,7 +37,7 @@

 install: build
        python setup.py install -f
- chown -R apache /usr/share/cobbler/web
+ chown -R www-data /usr/share/cobbler/web

 debinstall:
        python setup.py install -f --root $(DESTDIR)

--

Revision history for this message
Dave Walker (davewalker) wrote :

Hmm.. this was applied, need to investigate how it was reverted. :/

Revision history for this message
Patrick Dubois (pdubois) wrote :

Slight addition to this bug;

Line 75 of the same file has the same issue.
--
75 chown -R apache /var/www/cobbler
--

Revision history for this message
Chuck Short (zulcss) wrote :

The bzr branch is just a snapshot of the git tree at a certain point of time. I have cleaned it up and this patch should no longer be necessary.

chuck

Changed in cobbler (Ubuntu):
status: New → Invalid
Revision history for this message
Patrick Dubois (pdubois) wrote : Re: [Bug 708808] Re: Makefile changes ownership of web directory to 'apache', not 'www-data'.

Strikes me as the two other listed repositories are git snapshots as
well....

Which branch should we be using to build from source then?

On 01/28/2011 11:35 AM, Chuck Short wrote:
> The bzr branch is just a snapshot of the git tree at a certain point of
> time. I have cleaned it up and this patch should no longer be necessary.
>
> chuck
>
> ** Changed in: cobbler (Ubuntu)
> Status: New => Invalid
>

--
Patrick Dubois
Revolution Linux
819.780.8955 # 1124

GPG key available upon request.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.