[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
This bug was fixed in the package base-files - 11ubuntu5.2 --- base-files (11ubuntu5.2) focal; urgency=medium [ Andreas Hasenack ] * motd/50-motd-news: don't include uptime in the user-agent string (LP: #1886572) * Move the /etc/default/motd-news conffile to the motd-news-config package (LP: #1888575): - d/base-files.maintscript: remove /etc/default/motd-news config file on upgrade - d/control: break on ubuntu-server << 1.450.2 to force an upgrade if it is installed, which will pull motd-news-config and the conffile back in - d/motd-news-config.postinst: + handle the upgrade case where the motd-news config file was changed while it belonged to base-files + disable motd-news if the config file was removed by hand before the upgrade - d/postinst.in: signal the motd-news-config package if the motd-news config file was removed manually before the upgrade - d/control: new motd-news-config package, carrying the configuration file for the /etc/update-motd.d/50-motd-news script. - d/rules, d/motd-news-config.install: /e/d/motd-news is in the motd-news-config package now [ Steve Langasek ] * motd/50-motd-news: use wget instead of curl, since wget is standard but curl is optional (LP: #1888572): - This changes the timeout behavior slightly because wget does not have an exact equivalent to curl's --max-time argument, we are using --timeout instead. -- Andreas Hasenack Mon, 17 Aug 2020 10:31:58 -0300 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 Released Status in base-files source package in Bionic: Fix Released Status in base-files source package in Focal: Fix Released 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
This bug was fixed in the package base-files - 9.4ubuntu4.13 --- base-files (9.4ubuntu4.13) xenial; urgency=medium [ Andreas Hasenack ] * motd/50-motd-news: don't include uptime in the user-agent string (LP: #1886572) * Move the /etc/default/motd-news conffile to the motd-news-config package (LP: #1888575): - d/postinst.in, d/postrm, d/preinst: remove /etc/default/motd-news config file on base-files upgrade using dpkg-maintscript-helper - d/rules: install d/preinst - d/control: break on ubuntu-server << 1.361.5 to force an upgrade if it is installed, which will pull motd-news-config and the conffile back in - d/control: new motd-news-config package, carrying the configuration file for the /etc/update-motd.d/50-motd-news script. - d/motd-news-config.postinst: + handle the upgrade case where the motd-news config file was changed while it belonged to base-files + disable motd-news if the config file was removed by hand before the upgrade - d/postinst.in: signal the motd-news-config package if the motd-news config file was removed manually before the upgrade - d/conffiles: remove motd-news - d/rules, d/motd-news-config.conffiles: packaging motd-news-config without debhelper [ Steve Langasek ] * motd/50-motd-news: use wget instead of curl, since wget is standard but curl is optional (LP: #1888572): - This changes the timeout behavior slightly because wget does not have an exact equivalent to curl's --max-time argument, we are using --timeout instead. -- Andreas Hasenack Mon, 17 Aug 2020 11:19:19 -0300 ** Changed in: base-files (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 Released Status in base-files source package in Bionic: Fix Released Status in base-files source package in Focal: Fix Released 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
This bug was fixed in the package base-files - 10.1ubuntu2.10 --- base-files (10.1ubuntu2.10) bionic; urgency=medium [ Andreas Hasenack ] * motd/50-motd-news: don't include uptime in the user-agent string (LP: #1886572) * Move the /etc/default/motd-news conffile to the motd-news-config package (LP: #1888575): - d/base-files.maintscript: remove /etc/default/motd-news config file on upgrade - d/control: break on ubuntu-server << 1.417.5 to force an upgrade if it is installed, which will pull motd-news-config and the conffile back in - d/motd-news-config.postinst: + handle the upgrade case where the motd-news config file was changed while it belonged to base-files + disable motd-news if the config file was removed by hand before the upgrade - d/postinst.in: signal the motd-news-config package if the motd-news config file was removed manually before the upgrade - d/control: new motd-news-config package, carrying the configuration file for the /etc/update-motd.d/50-motd-news script. - d/rules, d/motd-news-config.install: /e/d/motd-news is in the motd-news-config package now [ Steve Langasek ] * motd/50-motd-news: use wget instead of curl, since wget is standard but curl is optional (LP: #1888572): - This changes the timeout behavior slightly because wget does not have an exact equivalent to curl's --max-time argument, we are using --timeout instead. -- Andreas Hasenack Thu, 13 Aug 2020 15:59:47 -0300 ** Changed in: base-files (Ubuntu Bionic) Status: Fix Committed => Fix Released ** Changed in: base-files (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 Released Status in base-files source package in Bionic: Fix Released Status in base-files source package in Focal: Fix Released 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
Xenial verification Current version: ubuntu@xenial-motd-news-no-uptime:~$ apt-cache policy base-files base-files: Installed: 9.4ubuntu4.12 Candidate: 9.4ubuntu4.12 Version table: *** 9.4ubuntu4.12 500 500 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 100 /var/lib/dpkg/status Uptime is there: ubuntu@xenial-motd-news-no-uptime:~$ 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" After updating: ubuntu@xenial-motd-news-no-uptime:~$ apt-cache policy base-files base-files: Installed: 9.4ubuntu4.13 Candidate: 9.4ubuntu4.13 Version table: *** 9.4ubuntu4.13 500 500 http://br.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status Uptime is gone: ubuntu@xenial-motd-news-no-uptime:~$ grep uptime /etc/update-motd.d/50-motd-news ubuntu@xenial-motd-news-no-uptime:~$ Xenial verification succeeded. ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
Focal verification Current focal version: Version table: *** 11ubuntu5.1 500 500 http://br.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages Verifying uptime is present: # 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" In the updated version, uptime is gone: base-files: Installed: 11ubuntu5.2 Candidate: 11ubuntu5.2 Version table: *** 11ubuntu5.2 500 500 http://br.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages # grep uptime /etc/update-motd.d/50-motd-news # Focal verification succeeded. ** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
Bionic verification Current version: $ apt-cache policy base-files base-files: Installed: 10.1ubuntu2.9 Candidate: 10.1ubuntu2.9 Version table: *** 10.1ubuntu2.9 500 500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status Uptime is there: ubuntu@bionic-motd-news-no-uptime:~$ 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" After updating, it's gone: ubuntu@bionic-motd-news-no-uptime:~$ apt-cache policy base-files base-files: Installed: 10.1ubuntu2.10 Candidate: 10.1ubuntu2.10 Version table: *** 10.1ubuntu2.10 500 500 http://br.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 10.1ubuntu2.9 500 ubuntu@bionic-motd-news-no-uptime:~$ grep uptime /etc/update-motd.d/50-motd-news ubuntu@bionic-motd-news-no-uptime:~$ Bionic verification succeeded. ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
The NEW package (motd-news-config) needs to be accepted, and needs to go into main. I believe an archive admin needs to intervene. Also, ubuntu- meta needs to be accepted together with this. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
Sorry, I mean there's no amd64 version in bionic-proposed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
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 Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
** Merge proposal linked: https://code.launchpad.net/~ahasenack/ubuntu/+source/base-files/+git/base-files/+merge/389300 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: In Progress Status in base-files source package in Bionic: In Progress Status in base-files source package in Focal: In Progress 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
** Merge proposal linked: https://code.launchpad.net/~ahasenack/ubuntu/+source/base-files/+git/base-files/+merge/388922 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: In Progress Status in base-files source package in Bionic: In Progress Status in base-files source package in Focal: In Progress 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
** Description changed: + [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. ** Also affects: base-files (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: base-files (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: base-files (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: base-files (Ubuntu Xenial) Status: New => In Progress ** Changed in: base-files (Ubuntu Bionic) Status: New => In Progress ** Changed in: base-files (Ubuntu Focal) Status: New => In Progress ** Changed in: base-files (Ubuntu Xenial) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Changed in: base-files (Ubuntu Bionic) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Changed in: base-files (Ubuntu Focal) Assignee: (unassigned) => Andreas Hasenack (ahasenack) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: In Progress Status in base-files source package in Bionic: In Progress Status in base-files source package in Focal: In Progress 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
This bug was fixed in the package base-files - 11ubuntu8 --- base-files (11ubuntu8) groovy; urgency=medium * motd/50-motd-news: don't include uptime in the user-agent string (LP: #1886572) -- Andreas Hasenack Mon, 06 Jul 2020 19:50:22 -0300 ** Changed in: base-files (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 Bug 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
** Merge proposal linked: https://code.launchpad.net/~ahasenack/ubuntu/+source/base-files/+git/base-files/+merge/386923 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: In Progress Bug 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
There is this comment next to the uptime grabbing: # Some messages may only be pertinent before or after some amount of uptime read up idle < /proc/uptime uptime="uptime/$up/$idle" As far as I know, this was never used, as the server serves static content. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: In Progress Bug 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1886572] Re: Remove uptime from the motd-news user agent
** Changed in: base-files (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: In Progress Bug 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp