Skip to content

Remove Wants= from update-motd.service as it was unexpectedly re-executing userdata script. - #5

Open
joeysk2012 wants to merge 1 commit into
amazonlinux:mainfrom
joeysk2012:remove-wants
Open

Remove Wants= from update-motd.service as it was unexpectedly re-executing userdata script.#5
joeysk2012 wants to merge 1 commit into
amazonlinux:mainfrom
joeysk2012:remove-wants

Conversation

@joeysk2012

@joeysk2012 joeysk2012 commented Jul 29, 2026

Copy link
Copy Markdown
  1. Remove Wants=network-online.target cloud-final.service as it will re-trigger the cloud-final.service when the user-data script exits on a failure. This causes unexpected behavior as the userdata script is unknowingly triggered when the user does not expect it to.

  2. Refactor the spec file to download the tar file from a release and then extract the 3 needed files rather than have to download and extract manually into the packaging repo. The source tar usually belongs in the Source section of the spec file. This way we can make a quick 'author update' every time update-motd version is released.

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