Feat/schedule reboot#281
Open
NavidSassan wants to merge 10 commits into
Open
Conversation
…eboot, drop the at/mailx dependency
…of mailx The role shelled out to the mailx 'mail' command, which fails on hosts that no longer install mailx (e.g. system_update.yml after dropping the at/mailx deps). Switch to sendmail (provided by postfix), drop the mailx-only platform vars files, and use set -o pipefail + bash for the pipe.
…ext-run notice notify-and-schedule, update-and-reboot and security-update log progress to the journal. The security lane now checks for pending updates first and exits quietly when there are none, so it no longer mails daily 'nothing to do'. notify-and-schedule reports the actual next run of update-and-reboot.timer in the subject and body; the config-file-stub mail elides over-long paths in the subject; and send_msg takes subject/body as arguments instead of reading globals.
…nd clearer reboot mail do-reboot waits schedule_reboot__reboot_grace_period seconds (default 60) after notifying before rebooting, so the mail can leave the queue; the reboot subject becomes 'Automatic reboot due to <reasons>'; and send_msg takes subject/body as arguments.
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.
No description provided.