[Bug 1886572] Re: Remove uptime from the motd-news user agent
Timo Aaltonen
1886572 at bugs.launchpad.net
Fri Aug 21 11:07:33 UTC 2020
Hello Dean, or anyone else affected,
Accepted base-files into focal-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/base-
files/11ubuntu5.2 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: base-files (Ubuntu Focal)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-focal
** Changed in: base-files (Ubuntu Bionic)
Status: In Progress => Fix Committed
** Tags added: verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1886572
Title:
Remove uptime from the motd-news user agent
Status in base-files package in Ubuntu:
Fix Released
Status in base-files source package in Xenial:
Fix Committed
Status in base-files source package in Bionic:
Fix Committed
Status in base-files source package in Focal:
Fix Committed
Bug description:
[Impact]
The uptime value in the user-agent string sent to the motd-news server is unused and not necessary. It should be removed.
[Test Case]
Inspect the /etc/update-motd.d/50-motd-news script and verify that uptime is no longer used.
Previous version:
$ grep uptime /etc/update-motd.d/50-motd-news
# Some messages may only be pertinent before or after some amount of uptime
read up idle < /proc/uptime
uptime="uptime/$up/$idle"
USER_AGENT="curl/$curl_ver $lsb $platform $cpu $uptime cloud_id/$cloud_id"
Updated version:
$ grep uptime /etc/update-motd.d/50-motd-news
(no output)
[Regression Potential]
The server side, if it were checking this value, could be surprised by this change.
[Other Info]
N/A
[Original Description]
I don't why that was included but it shouldn't be. Please remove it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1886572/+subscriptions
More information about the foundations-bugs
mailing list