[docker-ptf]: Fix to set /run/sshd permission affecting 202405#22231
Merged
wangxin merged 1 commit intosonic-net:202405from Apr 8, 2025
Merged
[docker-ptf]: Fix to set /run/sshd permission affecting 202405#22231wangxin merged 1 commit intosonic-net:202405from
wangxin merged 1 commit intosonic-net:202405from
Conversation
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
wangxin
approved these changes
Apr 7, 2025
patrickmacarthur
pushed a commit
to patrickmacarthur/sonic-buildimage
that referenced
this pull request
Aug 6, 2025
…05 (sonic-net#958) ```<br>* d5fd28c - (HEAD -> 202405) Merge branch '202405' of https://github.com/sonic-net/sonic-buildimage into 202405 (2025-04-11) [Sonic Automation] * 3ec660c - (head/202405) [docker-ptf]: Fix to set /run/sshd permission affecting 202405 (sonic-net#22231) (2025-04-08) [Sai Kiran] * 6fad19a - [submodule] Update submodule sonic-sairedis to the latest HEAD automatically (sonic-net#22215) (2025-04-06) [mssonicbld] * 5b44167 - [202405] Update to Linux 6.1.123 (sonic-net#21924) (2025-04-04) [Saikrishna Arcot] * ec07425 - [docker-ptf] Port changes from master (sonic-net#22181) (2025-04-02) [Sai Kiran] * 0922b06 - [submodule] Update submodule sonic-swss to the latest HEAD automatically (sonic-net#22126) (2025-03-30) [mssonicbld] * bd03187 - Adding default QoS configurations for Arista-7050CX3-32S-C28S4. (sonic-net#22141) (2025-03-26) [mssonicbld]<br>```
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.
Why I did it
The docker-ptf image built on 202405 release branch is created with a wrong permission for
/run/sshd(/var/run/sshd) with value0775. This fails to startsshdwith the error below. Thus failingadd-topo.This PR fixes the permission to
0755for/run/sshd(/var/run/sshd) in the docker-ptf image.Work item tracking
How I did it
Set permissions in
sshd.confsupervisor config.How to verify it
Local environment
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
[docker-ptf]: Fix to set /run/sshd permission affecting 202405
The docker-ptf image built on 202405 release branch is created with a wrong permission for
/run/sshd(/var/run/sshd) with value0775. This fails to startsshdwith the error below. Thus failingadd-topo.This PR fixes the permission to
0755for/run/sshd(/var/run/sshd) in the docker-ptf image.Link to config_db schema for YANG module changes
NA
A picture of a cute animal (not mandatory but encouraged)
NA