Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
304 stars 252 forks source link

OMS Agent resets the mode of /var/log/azure #1848

Closed narrieta closed 9 months ago

narrieta commented 9 months ago

The OMS Agent is resetting the mode of /var/log/azure every time it is executed: https://github.com/Azure/azure-linux-extensions/blob/master/OmsAgent/omsagent.py#L182

This directory is shared by all VM extensions and individual extensions should not change its properties. This is affecting customers that have set a specific mode on the directory and it get reset every time extensions execute if OMS has been installed.

NarineM commented 9 months ago

See linked PR. The fix was checked in.