Reindl...

I noticed in your config:

> [root@proxy:~]$ cat records.config | grep disable
> CONFIG proxy.config.disable_configuration_modification 1

Shouldn't this be:
CONFIG proxy.config.disable_configuration_modification INT 1

I think you are missing the DATATYPE for the config value.

Steven

From: Reindl Harald <h.reindl@thelounge.net>
Sent: Monday, January 30, 2017 12:35:26 PM
To: users@trafficserver.apache.org
Subject: Re: upstart vs systemd: ATS best service practice
 


Am 30.01.2017 um 16:57 schrieb David Carlin:
> Reindl,
>
> I think there is a setting
> 'proxy.config.disable_configuration_modification = 1' to prevent ATS
> from modifying the config files:
>
> https://issues.apache.org/jira/browse/TS-315?focusedCommentId=14970110&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14970110
>
> I've not tried it

i have set that for a very long time and it does *nothing* and even if -
is it really that hard to behave like every other application on this
planet and not doing such harmful things by default of if /etc is
read-only as it should be for every network service just skip all that
stuff and work proper?

especially when i now complain at least for *5 years* about it?

[root@proxy:~]$ cat records.config | grep disable
CONFIG proxy.config.disable_configuration_modification 1

[Jan 30 17:30:52.483] Manager {0x7f58d97ed700} WARNING: open file:
/etc/trafficserver/records.config.tmp to write fail, errno: 13, error
info: Permission denied


[root@proxy:~]$ touch /etc/trafficserver/records.config
[root@proxy:~]$ systemctl reload trafficserver.service
[root@proxy:~]$ cat /var/log/trafficserver/manager.log
[Jan 30 17:30:52.483] Manager {0x7f58d97ed700} WARNING: open file:
/etc/trafficserver/records.config.tmp to write fail, errno: 13, error
info: Permission denied
[Jan 30 17:33:02.921] Manager {0x7f58d7bfe700} NOTE:
[Rollback::openFile] Open of records.config failed: Permission denied
[Jan 30 17:33:02.921] Manager {0x7f58d7bfe700} NOTE:
[Rollback::internalUpdate] Unable to create new version of
records.config : Permission denied
[Jan 30 17:33:02.921] Manager {0x7f58d7bfe700} NOTE:
[Rollback::checkForUserUpdate] Failed to roll changed user file
records.config: System Call Error
[Jan 30 17:33:02.921] Manager {0x7f58d7bfe700} NOTE: User has changed
config file records.config
[Jan 30 17:33:07.501] Manager {0x7f58d97ed700} WARNING: open file:
/etc/trafficserver/records.config.tmp to write fail, errno: 13, error
info: Permission denied

[root@proxy:~]$ systemctl reload trafficserver.service
[root@proxy:~]$ systemctl reload trafficserver.service
[root@proxy:~]$ systemctl reload trafficserver.service
[root@proxy:~]$ cat /var/log/trafficserver/manager.log
[Jan 30 17:30:52.483] Manager {0x7f58d97ed700} WARNING: open file:
/etc/trafficserver/records.config.tmp to write fail, errno: 13, error
info: Permission denied
[Jan 30 17:33:02.921] Manager {0x7f58d7bfe700} NOTE:
[Rollback::openFile] Open of records.config failed: Permission denied
[Jan 30 17:33:02.921] Manager {0x7f58d7bfe700} NOTE:
[Rollback::internalUpdate] Unable to create new version of
records.config : Permission denied
[Jan 30 17:33:02.921] Manager {0x7f58d7bfe700} NOTE:
[Rollback::checkForUserUpdate] Failed to roll changed user file
records.config: System Call Error
[Jan 30 17:33:02.921] Manager {0x7f58d7bfe700} NOTE: User has changed
config file records.config
[Jan 30 17:33:07.501] Manager {0x7f58d97ed700} WARNING: open file:
/etc/trafficserver/records.config.tmp to write fail, errno: 13, error
info: Permission denied
[Jan 30 17:33:30.265] Manager {0x7f58d7bfe700} NOTE:
[Rollback::openFile] Open of records.config failed: Permission denied
[Jan 30 17:33:30.265] Manager {0x7f58d7bfe700} NOTE:
[Rollback::internalUpdate] Unable to create new version of
records.config : Permission denied
[Jan 30 17:33:30.265] Manager {0x7f58d7bfe700} NOTE:
[Alarms::signalAlarm] Skipping Alarm: '[TrafficManager] Configuration
File Update Failed: Permission denied'
[Jan 30 17:33:30.265] Manager {0x7f58d7bfe700} NOTE:
[Rollback::checkForUserUpdate] Failed to roll changed user file
records.config: System Call Error
[Jan 30 17:33:30.265] Manager {0x7f58d7bfe700} NOTE: User has changed
config file records.config
[Jan 30 17:33:31.433] Manager {0x7f58d7bfe700} NOTE:
[Rollback::openFile] Open of records.config failed: Permission denied
[Jan 30 17:33:31.433] Manager {0x7f58d7bfe700} NOTE:
[Rollback::internalUpdate] Unable to create new version of
records.config : Permission denied
[Jan 30 17:33:31.433] Manager {0x7f58d7bfe700} NOTE:
[Alarms::signalAlarm] Skipping Alarm: '[TrafficManager] Configuration
File Update Failed: Permission denied'
[Jan 30 17:33:31.433] Manager {0x7f58d7bfe700} NOTE:
[Rollback::checkForUserUpdate] Failed to roll changed user file
records.config: System Call Error
[Jan 30 17:33:31.433] Manager {0x7f58d7bfe700} NOTE: User has changed
config file records.config
[Jan 30 17:33:32.165] Manager {0x7f58d7bfe700} NOTE:
[Rollback::openFile] Open of records.config failed: Permission denied
[Jan 30 17:33:32.166] Manager {0x7f58d7bfe700} NOTE:
[Rollback::internalUpdate] Unable to create new version of
records.config : Permission denied
[Jan 30 17:33:32.166] Manager {0x7f58d7bfe700} NOTE:
[Alarms::signalAlarm] Skipping Alarm: '[TrafficManager] Configuration
File Update Failed: Permission denied'
[Jan 30 17:33:32.166] Manager {0x7f58d7bfe700} NOTE:
[Rollback::checkForUserUpdate] Failed to roll changed user file
records.config: System Call Error
[Jan 30 17:33:32.166] Manager {0x7f58d7bfe700} NOTE: User has changed
config file records.config
[Jan 30 17:33:32.505] Manager {0x7f58d97ed700} WARNING: open file:
/etc/trafficserver/records.config.tmp to write fail, errno: 13, error
info: Permission denied
[root@proxy:~]$