Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing execute permission from copp service file #8680

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

dgsudharsan
Copy link
Collaborator

Why I did it

To fix the issue #8581
Removed execute permissions from the systemd copp-config.service file. Without this we will get a warning
Aug 25 06:36:43.738669 r-anaconda-51 WARNING systemd[1]: Configuration file /lib/systemd/system/copp-config.service is marked executable. Please remove executable permission bits. Proceeding anyway.

How I did it

Changed file permissions

How to verify it

find files/image_config/ -name "*".service | xargs ls -l
-rw-r--r-- 1 sudharsand dip 196 May 4 03:06 files/image_config/copp/copp-config.service
-rw-r--r-- 1 sudharsand dip 231 May 4 03:06 files/image_config/corefile_uploader/core_uploader.service
-rw-r--r-- 1 sudharsand dip 135 May 4 03:06 files/image_config/fstrim/fstrim.service
-rw-r--r-- 1 sudharsand dip 263 May 4 03:06 files/image_config/hostname/hostname-config.service
-rw-r--r-- 1 sudharsand dip 263 May 4 03:06 files/image_config/interfaces/interfaces-config.service
-rw-r--r-- 1 sudharsand dip 292 May 4 03:06 files/image_config/ntp/ntp-config.service
-rw-r--r-- 1 sudharsand dip 418 May 4 03:06 files/image_config/ntp/ntp.service
-rw-r--r-- 1 sudharsand dip 216 Jun 16 21:31 files/image_config/pcie-check/pcie-check.service
-rw-r--r-- 1 sudharsand dip 257 May 4 03:06 files/image_config/rsyslog/rsyslog-config.service
-rw-r--r-- 1 sudharsand dip 233 May 4 03:06 files/image_config/system-health/system-health.service
-rw-r--r-- 1 sudharsand dip 283 May 4 03:06 files/image_config/topology/topology.service
-rw-r--r-- 1 sudharsand dip 229 May 4 03:06 files/image_config/warmboot-finalizer/warmboot-finalizer.service
-rw-r--r-- 1 sudharsand dip 169 May 4 03:06 files/image_config/watchdog-control/watchdog-control.service

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

@dgsudharsan dgsudharsan requested a review from lguohan as a code owner September 3, 2021 16:55
@dgsudharsan
Copy link
Collaborator Author

@prsunny Please review

@dgsudharsan
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dgsudharsan
Copy link
Collaborator Author

Request for 202106 and 202012 Branches

@dgsudharsan
Copy link
Collaborator Author

@prsunny Can you please merge this?

@prsunny prsunny merged commit db529af into sonic-net:master Sep 13, 2021
qiluo-msft pushed a commit that referenced this pull request Sep 14, 2021
*Removed execute permissions from the systemd copp-config.service file. 
Without this we will get a warning: "Configuration file /lib/systemd/system/copp-config.service is marked executable. Please remove executable permission bits. Proceeding anyway."
judyjoseph pushed a commit that referenced this pull request Sep 14, 2021
*Removed execute permissions from the systemd copp-config.service file. 
Without this we will get a warning: "Configuration file /lib/systemd/system/copp-config.service is marked executable. Please remove executable permission bits. Proceeding anyway."
@dgsudharsan dgsudharsan deleted the copp_perm branch March 9, 2023 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants