Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275068 - www-servers/cherokee-0.99.17 bad file permissions default cherkee.conf for php
Summary: www-servers/cherokee-0.99.17 bad file permissions default cherkee.conf for php
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 15:57 UTC by Juanlu Pérez
Modified: 2012-03-24 10:41 UTC (History)
1 user (show)

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


Attachments
Differences between cherokee.conf 0.99.15 and 0.99.19-r1 (0.99.15to0.99.19-r1.conf.diff,1.71 KB, text/plain)
2009-06-29 14:12 UTC, Juanlu Pérez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juanlu Pérez 2009-06-22 15:57:14 UTC
When updated from 0.99.15 to 0.99.17:
I had to change owner and group of /var/log/cherokee.* from root:root to cherokee:cherokee to make cherokee to start.
And cherokee.conf was modified by env-update deleting php support.

Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2009-06-26 06:49:19 UTC
Thanks for reporting these issues. Could you provide a little more explanation on your second point? env-update is only supposed to modify /etc/profile.env and /etc/ld.so.conf; how can you tell that it modified cherokee.conf?
Comment 2 Daniel Robbins 2009-06-27 21:21:19 UTC
This commit contains fixes for the logging/permissions issue: http://github.com/funtoo/portage/commit/df9a4a1f7e7ce4e8d6b468a60a6e0261b1cc2fe0

Committed to the Funtoo Portage tree.

Comment 3 Juanlu Pérez 2009-06-28 14:28:37 UTC
(In reply to comment #1)
> Thanks for reporting these issues. Could you provide a little more explanation
> on your second point? env-update is only supposed to modify /etc/profile.env
> and /etc/ld.so.conf; how can you tell that it modified cherokee.conf?
> 

I meant etc-update.
Comment 4 Juanlu Pérez 2009-06-29 14:12:34 UTC
Created attachment 196083 [details]
Differences between cherokee.conf 0.99.15 and 0.99.19-r1

As you can see this new installation makes cherokee.conf to delete php support.
And at least with 0.99.17 I tried to regenerate cherokee.conf using cherokee-admin but it didn't work, I'll try again with 0.99.19-r1.

Anyway, this .conf changing should be fixed.
Comment 5 Wormo (RETIRED) gentoo-dev 2009-07-02 06:48:19 UTC
Thanks, that makes more sense. I see that Daniel's permissions fix has already been commited, so the only issue left is php being taken out of the default cherokee config file. I think it was an upstream decision since ebuild doesn't appear to modify the config, but you can see what the maintainers have to say about this topic.
Comment 6 SpanKY gentoo-dev 2012-03-11 02:50:43 UTC
etc-update doesn't really have anything to do with the issue here.  it just merges what the package itself installs.
Comment 7 Pacho Ramos gentoo-dev 2012-03-24 10:41:52 UTC
(In reply to comment #5)
> Thanks, that makes more sense. I see that Daniel's permissions fix has
> already been commited, so the only issue left is php being taken out of the
> default cherokee config file. I think it was an upstream decision since
> ebuild doesn't appear to modify the config, but you can see what the
> maintainers have to say about this topic.

Regarding this remaining issue, we are not changing it at ebuild level and, then, this is an upstream decision that you need to report directly to them