Open johanburati opened 5 years ago
I have already reported an issue with dsc_host changing configuration files permissions (https://github.com/microsoft/PowerShell-DSC-for-Linux/issues/589), a patch was created by @zjalali and merged (https://github.com/microsoft/PowerShell-DSC-for-Linux/pull/605) and the issue was closed.
However the issue still occur with OmsAgentForLinux-1.11.15 , as you can see bwlow the permissions change at random:
# 1568959190 -rw-r--r--. 1 omsagent omiusers 153 Sep 20 05:45 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-r--r--. 1 omsagent omiusers 1416 Sep 20 05:45 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-r--r--. 1 omsagent omiusers 1417 Sep 20 05:45 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959191 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959192 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959193 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959194 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959195 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959196 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959197 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959198 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959199 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959200 -rw-rw-rw-. 1 omsagent omiusers 154 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-rw-rw-. 1 omsagent omiusers 1416 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-rw-rw-. 1 omsagent omiusers 1417 Sep 20 05:59 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof # 1568959201 -rw-r--r--. 1 omsagent omiusers 154 Sep 20 06:00 /etc/opt/omi/conf/omsconfig/configuration/DSCEngineCache.mof -rw-r--r--. 1 omsagent omiusers 1417 Sep 20 06:00 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.backup.mof -rw-r--r--. 1 omsagent omiusers 1416 Sep 20 06:00 /etc/opt/omi/conf/omsconfig/configuration/MetaConfig.mof
Could you tell us when you plan to release a version of the OmsAgentForLinux extension with a fix for this issue ?
I could find the answer, the patch should be included in the next release.
Could you tell me when a new version of the extension with the patch (#605) will be pushed ?
I have already reported an issue with dsc_host changing configuration files permissions (https://github.com/microsoft/PowerShell-DSC-for-Linux/issues/589), a patch was created by @zjalali and merged (https://github.com/microsoft/PowerShell-DSC-for-Linux/pull/605) and the issue was closed.
However the issue still occur with OmsAgentForLinux-1.11.15 , as you can see bwlow the permissions change at random:
Could you tell us when you plan to release a version of the OmsAgentForLinux extension with a fix for this issue ?