Fix the error that 'sensord' daemon cannot be spawn correctly in pmon container#4354
Merged
jleveque merged 1 commit intosonic-net:masterfrom Apr 3, 2020
Merged
Conversation
… container - This commit fixes the issue sonic-net#4021 (Sensord not able to start up on both master and 201911 branches) - Add the new patch file for "lm-sensors" to perform dh_installinit to include sensord.init in the packed deb. So that the missing init script file for 'sensord' will be included in the created 'sensord' deb. Signed-off-by: Charlie Chen <[email protected]>
Contributor
|
Thank you for the investigation and the patch! |
Collaborator
|
retest vsimage please |
jleveque
approved these changes
Apr 3, 2020
abdosi
pushed a commit
that referenced
this pull request
Apr 7, 2020
… container (#4354) - This commit fixes the issue #4021 (Sensord not able to start up on both master and 201911 branches) - Add the new patch file for "lm-sensors" to perform dh_installinit to include sensord.init in the packed deb. So that the missing init script file for 'sensord' will be included in the created 'sensord' deb. Signed-off-by: Charlie Chen <[email protected]>
tiantianlv
pushed a commit
to SONIC-DEV/sonic-buildimage
that referenced
this pull request
Apr 24, 2020
… container (sonic-net#4354) - This commit fixes the issue sonic-net#4021 (Sensord not able to start up on both master and 201911 branches) - Add the new patch file for "lm-sensors" to perform dh_installinit to include sensord.init in the packed deb. So that the missing init script file for 'sensord' will be included in the created 'sensord' deb. Signed-off-by: Charlie Chen <[email protected]>
mssonicbld
added a commit
that referenced
this pull request
Mar 20, 2026
…atically (#26263) #### Why I did it src/sonic-utilities ``` * 6b47fed6 - (HEAD -> master, origin/master, origin/HEAD) Updating mgmt vrf table id for 4k vrf pool (#4279) (3 hours ago) [Yash Pandit] * 4c03bdb9 - Add CLI commands for bgp aggregate feature (#4354) (20 hours ago) [nanali-msft] * 6098a0fa - scripts/generate_dump: Fix duplicate generate_dump entry (#4300) (32 hours ago) [yxu-lumentum] * 463fe890 - [console] add config console escape (#4266) (2 days ago) [Xichen96] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit fixes #4021 (Sensord not able to start up on both master and 201911 branches)
- What I did
Investigate the reason that "sensord" cannot be spawned correctly through the execution of "service sensord start" in the file "lm-sensors.sh". It is found that the required init script for 'sensord' is missing in the pmon container. The required init script is not found in the built "sensord_3.4.0-4_amd64.deb" either.
- How I did it
Add the new patch file for "lm-sensors" to perform dh_installinit to include "sensord.init" in the packed deb. So that the missing init script file for 'sensord' will be included in the created 'sensord' deb.
- How to verify it
Execute "target/debs/stretch/sensord_3.4.0-4_amd64.deb" after applying this commit and upload the new "sensord_3.4.0-4_amd64.deb" to the pmon container on AS7712-32X. Execute "dpkg -i sensord_3.4.0-4_amd64.deb" in the pmon container.
Here is the output of 'ps -x' in the pmon container before installing the new 'sensord' deb.
Here is the outout of the files under the directory '/etc/init.d' before and after installing the new 'sensord' deb in pmon container.
Here is the output in the pmon container after reboot the DUT. It is found that "/usr/sbin/sensord" is running now.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)