[Bug 2143786] Re: release-upgrade-motd leaks stderr to terminal
Ravi Kant Sharma
2143786 at bugs.launchpad.net
Thu Mar 12 11:54:46 UTC 2026
** Tags added: rls-nn-incoming
--
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:
New
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