Am 10.08.2013 00:34, schrieb Leif Hedstrom:
> On Aug 9, 2013, at 4:01 PM, Reindl Harald <[email protected]> wrote:
> 
>>> I believe that the reason ATS does not use the system DNS API is that it is 
>>> a
>>> synchronous API and does not support additional records types (eg. SRV 
>>> records)
>>
>> well, thats reasonable but why is "hostdb.config" needed at file if it can
>> and should be commpletly removed after upgrades and is generated dynamically
>> at startup?
> 
> You could argue that the hostdb.config info should be stored in the host.db 
> file. But alas, it is not, and it's by design as far as I know (comes from 
> how it repurposed other cache code). Since host.db is persistent, it needs 
> the hostdb.config to function.Basically, it's the only way it knows if you 
> have made changes to records.config that is incompatible with the layout of 
> host.db, and when that happens, it reconfigures both host.db and 
> hostdb.config accordingly.
> HostDB definitely have (or had) a use case, where caching locally was 
> important for performance (after restart). This is probably no longer true, 
> and I envision HostDB will go away as a persistent cache in v3.6 (replaced 
> with an in-memory cache only).

if it would be placed in /var/cache/trafficserver instead of 
/etc/trafficserver/internal
all would be fine - the point is that for security reasons no server process 
should
need mandatory write access for /etc, not more and not less and for 
non-clustered
all the messages below could go away easily

[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of plugin.config failed: Read-only
file system
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::internalUpdate] 
Unable to create new version of
plugin.config : Bad file descriptor
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Automatic Roll of Version 1 failed:
plugin.config
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of plugin.config failed: Permission
denied
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Config file is read-only : plugin.config
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of splitdns.config failed: Read-only
file system
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::internalUpdate] 
Unable to create new version of
splitdns.config : Bad file descriptor
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Automatic Roll of Version 1 failed:
splitdns.config
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of splitdns.config failed:
Permission denied
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Config file is read-only : splitdns.config
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of ssl_multicert.config failed:
Read-only file system
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::internalUpdate] 
Unable to create new version of
ssl_multicert.config : Bad file descriptor
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Automatic Roll of Version 1 failed:
ssl_multicert.config
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of ssl_multicert.config failed:
Permission denied
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Config file is read-only :
ssl_multicert.config
[Aug 10 00:31:57.259] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of stats.config.xml failed:
Read-only file system
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::internalUpdate] 
Unable to create new version of
stats.config.xml : Bad file descriptor
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Automatic Roll of Version 1 failed:
stats.config.xml
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of stats.config.xml failed:
Permission denied
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Config file is read-only : stats.config.xml
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of prefetch.config failed: Read-only
file system
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::internalUpdate] 
Unable to create new version of
prefetch.config : Bad file descriptor
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Automatic Roll of Version 1 failed:
prefetch.config
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of prefetch.config failed:
Permission denied
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Config file is read-only : prefetch.config
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of cluster.config failed: Read-only
file system
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::internalUpdate] 
Unable to create new version of
cluster.config : Bad file descriptor
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Automatic Roll of Version 1 failed:
cluster.config
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::openFile] Open 
of cluster.config failed: Permission
denied
[Aug 10 00:31:57.260] Manager {0x7fee28124900} NOTE: [Rollback::Rollback] 
Config file is read-only : cluster.config

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to