Summarizing the low hanging fruits here:
- Add caching to 50-landscape-sysinfo
- Add caching to 95-hwe-eol
- /usr/lib/update-notifier/update-motd-hwe-eol calls apt-config multiple times.
consider reducing those calls
- 91-release-upgrade unconditionally calls lsb_release which is expensive.
Use the same check others use
The rest already uses caching AND/OR is small, fast and simple.
The follow on of making pam_motd truly not do anything on non-
interactive can then be a follow on case and would no more be that
important.
For these fixes three packages need to be touched:
Source: ubuntu-release-upgrader
Source: update-notifier
Source: landscape-client
** Also affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Also affects: update-notifier (Ubuntu)
Importance: Undecided
Status: New
** Also affects: landscape-client (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893716
Title:
scripts in /etc/update-motd.d/ run even on login via non-interactive
scp and sftp sessions
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1893716/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs