azure-linux-extensions: DSC extension cause omiagent to segfault

The DSC extension installs dsc-1.1.1-294, that version cause omiagent to segfault as reported at microsoft/omi#641 and https://github.com/microsoft/PowerShell-DSC-for-Linux/issues/601

kernel: omiagent[38051]: segfault at 7fc32135ae00 ip 00007fc32135ae00 sp 00007fc30b106d50 error 14 in libbz2.so.1.0.6[7fc3214e2000+f000]
kernel: omiagent[41342]: segfault at 7f9494872e00 ip 00007f9494872e00 sp 00007f947e736d50 error 14 in libbz2.so.1.0.6[7f94949fa000+f000]                                        
kernel: omiagent[44770]: segfault at 7f3d5a8a4e00 ip 00007f3d5a8a4e00 sp 00007f3d58848d50 error 14 in libbz2.so.1.0.6[7f3d5aa2c000+f000]                                       
kernel: omiagent[48056]: segfault at 7fa116d07e00 ip 00007fa116d07e00 sp 00007fa114cabd50 error 14 in libbz2.so.1.0.6[7fa116e8f000+f000]                                        
kernel: omiagent[51421]: segfault at 7f21017aee00 ip 00007f21017aee00 sp 00007f20eb73fd50 error 14 in libbz2.so.1.0.6[7f2101936000+f000]                                        
kernel: omiagent[54705]: segfault at 7fe09b564e00 ip 00007fe09b564e00 sp 00007fe099508d50 error 14 in libbz2.so.1.0.6[7fe09b6ec000+f000]                                        
kernel: omiagent[58102]: segfault at 7fe40b9e0e00 ip 00007fe40b9e0e00 sp 00007fe409984d50 error 14 in libbz2.so.1.0.6[7fe40bb68000+f000]                                        
kernel: omiagent[61387]: segfault at 7f63425bee00 ip 00007f63425bee00 sp 00007f632bffed50 error 14 in libbz2.so.1.0.6[7f6342746000+f000]                                        
kernel: omiagent[67123]: segfault at 7f2e6883ee00 ip 00007f2e6883ee00 sp 00007f2e52736d50 error 14 in libbz2.so.1.0.6[7f2e689c6000+f000]  

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

I noticed that back on October 3, 2019 Microsoft snuck in a blurb on the DSC documentation page saying that DSC and OMS for Linux should not be used together on the same VM: https://github.com/MicrosoftDocs/azure-docs/commit/e58260ef8bf5ab8ffee8d9a1d95b5031cf20c129#diff-e4f18cdc8e305fd463a5813fdc3b199b

Given how long it has been since this issue was reported, I’m wondering is DSC even maintained anymore?

The issue is that the DSCForLinux extension install version 1.1.1-294 of the dsc package, this version cause omiagent to segfault. Installing version 1.1.1-926 fixes the issue.

All those cases are related to this issue:

I have already submitted a fix to bump up the version of the dsc package:

I am following up with PG internally for them to merge and push the fix:

Meanwhile you can fix the issue by installing the package manually:

wget https://github.com/microsoft/PowerShell-DSC-for-Linux/releases/download/v1.1.1-926/dsc-1.1.1-926.ssl_098.x64.rpm
yum upgrade dsc-1.1.1-926.ssl_098.x64.rpm -y

I hope this helps.