Reported as TS-2131, patch included:

https://issues.apache.org/jira/browse/TS-2131

--
Tomasz Kuzemko
[email protected]

W dniu 13.08.2013 17:11, Leif Hedstrom pisze:
On Aug 13, 2013, at 8:58 AM, Tomasz Kuzemko <[email protected]> wrote:

Hello,

When building traffic server I call configure with --localstatedir=/var
and --with-user=trafficserver. I noticed that make install sets /var
owner and group to trafficserver. After doing some research I found
that the problematic code is in proxy/Makefile.am:

Hmmm, yeah, that does seem broken, doesn't it ? I don't think we write into 
localstatedir directly, but into subdirectories of that? Can you file a bug, 
and perhaps go through the layout.config as well, to make sure we never need 
write perms / ownership of this dir?



I also considered setting --localstatedir=/var/trafficserver but then
log dir is set to /var/trafficserver/log/trafficserver which seems just
wrong.


Well, you could override that too in this case. Looking at the layout.config, 
it seems in many cases it'll do e.g.

     localstatedir: /var+
     runtimedir:    ${localstatedir}/run
     logdir:        ${localstatedir}/log
     cachedir:      ${localstatedir}/cache


(which makes it e.g. /var/ltrafficserver/log/).

Thanks!

-- leif

Reply via email to