Ticket #6006 (closed defect: worksforme)
trac.ini [inherit] doesn't seem to work properly.
| Reported by: | rfulcher@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | general | Version: | 0.10.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I'm running a pair of load ballanced apache servers, both use a common file system, dozens of other sites are working fine, including svn projects... However the trac inherit directive is "quarkie"... All of the global directives for a few hundred projects will Need to be managed from a common global file. For initial testing purposes with just a few of the projects I'm using, for the moment, the default trac.ini settings except for a custom header_logo image. The projects trac.ini file looks like this:
[inherit] file = /var/www/trac/site.ini [header_logo] link = http://our.site.edu/projects/project_name_here [project] name = project_name_here [trac] repository_dir = /var/www/svn/projects/project_name_here
Now I expect it to inherit the custom logo "src = common/trac_banner-dp.png" from the site.ini, set the link for that banner to the top of the current project, set the projects name, and set the projects svn path. These are the only three settings that I expect to be unique for each project, authentication is done via PAM, LDAP, and authz. Placing the custom logo url in the projects conf/trac.ini works perfectly, but once it's only in the site.ini to be inherited it only shows up randomly. As if it only occassionally inherits the site.ini settings.
So, am I in fact using the inherit directive properly for site.ini, is it safe to have only these three unique trac.ini items per project? Perhaps I'm simply experiencing some other issue with the servers, their shared filesystems, my python installation or some combination of other non-trac issues. It's odd as many other php and mysql sites appear to be working fine. Any ideas?


