Skip to content

[HLX] Fix issue where HLX module failed to do postinit#7274

Merged
Blueve merged 1 commit intosonic-net:masterfrom
Blueve:dev/jika/hlxmodule
Apr 15, 2021
Merged

[HLX] Fix issue where HLX module failed to do postinit#7274
Blueve merged 1 commit intosonic-net:masterfrom
Blueve:dev/jika/hlxmodule

Conversation

@Blueve
Copy link
Contributor

@Blueve Blueve commented Apr 9, 2021

Why I did it

There is an issue where HLX module failed to do postinit script.
The issue were introduced in this PR: #7043

Basically, this is a low impact issue because the postinit script failed at last line and all required module service has started before the script crash.

How I did it

Copy the required script file before postinit run

How to verify it

No this kind of log raise again

[   27.556949] rc.local[384]: /var/lib/dpkg/info/platform-modules-haliburton.postinst: 12: /var/lib/dpkg/info/platform-modules-haliburton.postinst: /usr/local/bin/reload_udev.sh: not found
[   27.761279] rc.local[384]: dpkg: error processing package platform-modules-haliburton (--install):
[   27.869157] rc.local[384]:  installed platform-modules-haliburton package post-installation script subprocess returned error exit status 127

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

Fix issue where HLX module failed to do postinit

A picture of a cute animal (not mandatory but encouraged)

@Blueve Blueve requested a review from lguohan as a code owner April 9, 2021 01:53
@Blueve Blueve merged commit a523be9 into sonic-net:master Apr 15, 2021
@Blueve Blueve deleted the dev/jika/hlxmodule branch April 15, 2021 06:18
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-buildimage that referenced this pull request May 23, 2021
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
lizhijianrd pushed a commit to lizhijianrd/sonic-buildimage that referenced this pull request Jul 6, 2022
Blueve pushed a commit that referenced this pull request Jul 6, 2022
#11351)

* [HLX] Fix issue where HLX module failed to do postinit (#7274)

Signed-off-by: Jing Kan jika@microsoft.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants