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:
293 install-data-local: 294 if [ `id -un` != "root" ]; then \ 295 $(INSTALL) -d $(DESTDIR)$(pkglocalstatedir) $(DESTDIR)$(pkglogdir) $(DESTDIR)$(pkgruntimedir) \ 296 $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgsysconfdir)/internal $(DESTDIR)$(pkgdatadir) \ 297 $(DESTDIR)$(pkgcachedir); \ 298 else \ 299 $(INSTALL) -d -o $(pkgsysuser) -g $(pkgsysgroup) $(DESTDIR)$(pkglocalstatedir) $(DESTDIR)$(pkglogdir) \ 300 $(DESTDIR)$(pkgruntimedir) $(DESTDIR)$(pkgsysconfdir) \ 301 $(DESTDIR)$(pkgsysconfdir)/internal $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgcachedir); \ 302 fi After this modification the problem goes away: 293 install-data-local: 294 if [ `id -un` != "root" ]; then \ 295 $(INSTALL) -d $(DESTDIR)$(pkglocalstatedir) $(DESTDIR)$(pkglogdir) $(DESTDIR)$(pkgruntimedir) \ 296 $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgsysconfdir)/internal $(DESTDIR)$(pkgdatadir) \ 297 $(DESTDIR)$(pkgcachedir); \ 298 else \ 299 $(INSTALL) -d $(DESTDIR)$(pkglocalstatedir); \ 300 $(INSTALL) -d -o $(pkgsysuser) -g $(pkgsysgroup) $(DESTDIR)$(pkglogdir) \ 301 $(DESTDIR)$(pkgruntimedir) $(DESTDIR)$(pkgsysconfdir) \ 302 $(DESTDIR)$(pkgsysconfdir)/internal $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgcachedir); \ 303 fi I also considered setting --localstatedir=/var/trafficserver but then log dir is set to /var/trafficserver/log/trafficserver which seems just wrong. So is this by design or should I fill a bug report? -- Tomasz Kuzemko tomasz.kuze...@ovh.net