[Bug 2143786] Re: release-upgrade-motd leaks stderr to terminal
Ubuntu Foundations Team Bug Bot
2143786 at bugs.launchpad.net
Mon Apr 13 04:19:11 UTC 2026
The attachment "Fix: redirect stderr to /dev/null for background check-
new-release calls" seems to be a patch. If it isn't, please remove the
"patch" flag from the attachment, remove the "patch" tag, and if you are
a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2143786
Title:
release-upgrade-motd leaks stderr to terminal
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Bug description:
In /usr/lib/ubuntu-release-upgrader/release-upgrade-motd, the background
check-new-release process is started without redirecting stderr:
/usr/lib/ubuntu-release-upgrader/check-new-release -q > "$stamp" &
When check-new-release fails to connect, the error appears in the
terminal:
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts.
Check your Internet connection or proxy settings
This is unexpected — the process runs in the background (&) and uses
the -q (quiet) flag, so no output should be visible to the user.
Fix: redirect stderr to /dev/null for both occurrences:
/usr/lib/ubuntu-release-upgrader/check-new-release -q > "$stamp"
2>/dev/null &
Package version: ubuntu-release-upgrader-core 1:24.04.28
Ubuntu version: 24.04.4 LTS (Noble)
Patch attached.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2143786/+subscriptions
More information about the foundations-bugs
mailing list