Skip to content

[pcie-check] Make pcie-check.sh executable#5256

Merged
jleveque merged 1 commit intosonic-net:masterfrom
jleveque:pcie_check_exe
Aug 29, 2020
Merged

[pcie-check] Make pcie-check.sh executable#5256
jleveque merged 1 commit intosonic-net:masterfrom
jleveque:pcie_check_exe

Conversation

@jleveque
Copy link
Copy Markdown
Contributor

@jleveque jleveque commented Aug 27, 2020

- Why I did it

The pcie-check.sh script was added in #4771, but was not given executable permission. Therefore, we would see messages like:

Aug 26 22:54:05.536248 sonic ERR systemd[664]: pcie-check.service: Failed to execute command: Permission denied
Aug 26 22:54:05.536386 sonic ERR systemd[664]: pcie-check.service: Failed at step EXEC spawning /usr/bin/pcie-check.sh: Permission denied
Aug 26 22:54:05.536600 sonic WARNING systemd[1]: pcie-check.service: Failed with result 'exit-code'.

- How I did it

Add executable permission to pcie-check.sh.

- How to verify it

Ensure the above error messages are not seen in the syslog.

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

  • 201811
  • 201911
  • 202006

@jleveque
Copy link
Copy Markdown
Contributor Author

Retest vsimage please

1 similar comment
@jleveque
Copy link
Copy Markdown
Contributor Author

Retest vsimage please

@jleveque
Copy link
Copy Markdown
Contributor Author

Retest vsimage please

@jleveque jleveque merged commit 07b9d7f into sonic-net:master Aug 29, 2020
@jleveque jleveque deleted the pcie_check_exe branch August 29, 2020 17:29
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
The pcie-check.sh script was added in sonic-net#4771, but was not given executable permission. Therefore, we would see messages like:

```
Aug 26 22:54:05.536248 sonic ERR systemd[664]: pcie-check.service: Failed to execute command: Permission denied
Aug 26 22:54:05.536386 sonic ERR systemd[664]: pcie-check.service: Failed at step EXEC spawning /usr/bin/pcie-check.sh: Permission denied
Aug 26 22:54:05.536600 sonic WARNING systemd[1]: pcie-check.service: Failed with result 'exit-code'.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants