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

Email not sent for conffile prompt with only-on-error #336

Open
kevinoid opened this issue Oct 30, 2022 · 0 comments · May be fixed by #353
Open

Email not sent for conffile prompt with only-on-error #336

kevinoid opened this issue Oct 30, 2022 · 0 comments · May be fixed by #353

Comments

@kevinoid
Copy link

If Unattended-Upgrade::MailReport is only-on-error and a package "has a conffile prompt and needs to be upgraded manually", unattended-upgrades does not send an email to the address configured in Unattended-Upgrade::Mail. This appears to be a regression of #89, which was previously fixed by #92. Bisecting revealed that the regression was caused by b2842bd, which was part of #268.

It would be nice to have a way to get email notifications when packages can not be upgraded due to a conffile prompt, so that administrators are aware of the need for manual intervention on the affected system.

Thanks,
Kevin

nomis added a commit to nomis/unattended-upgrades that referenced this issue Jan 19, 2024
Unless there are also packages that can be upgraded, processing won't get
beyond "exit if there is nothing to do" to report a failure result because
of conffile prompts.

Check for conffile prompts when determining success/failure at the earlier
"nothing to do" stage.

Fixes mvo5#336.
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 a pull request may close this issue.

1 participant