← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1752632] [NEW] The motd message is not cached

 

Public bug reported:

landscape-common has an MOTD component called landscape-sysinfo.
Historically that used update-motd to display cached information.
update-motd has been deprecated in favor of pam_motd, but landscape-
common was never changed accordingly.

The situation we have now in landscape-common's debconf is:
- "Cache sysinfo in /etc/motd": places a symlink in /etc/update-motd.d. With pam_motd, there is no cache, so that script is called on every login.
- "Run sysinfo on every login": places the same symlink in /etc/profile.d, removes the one from /etc/update-motd.d. End result is the same as before: script is called on every login
- "Do not display sysinfo on login": remove /etc/profile.d and /etc/update-motd.d symlinks. This is the only option that is currently working as advertised.

** Affects: landscape-client
     Importance: Undecided
         Status: New

** Affects: landscape-client (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: landscape-client (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: landscape-client (Ubuntu Artful)
     Importance: Undecided
         Status: New

** Also affects: landscape-client (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: landscape-client (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: landscape-client (Ubuntu Artful)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1752632

Title:
  The motd message is not cached

Status in Landscape Client:
  New
Status in landscape-client package in Ubuntu:
  New
Status in landscape-client source package in Xenial:
  New
Status in landscape-client source package in Artful:
  New

Bug description:
  landscape-common has an MOTD component called landscape-sysinfo.
  Historically that used update-motd to display cached information.
  update-motd has been deprecated in favor of pam_motd, but landscape-
  common was never changed accordingly.

  The situation we have now in landscape-common's debconf is:
  - "Cache sysinfo in /etc/motd": places a symlink in /etc/update-motd.d. With pam_motd, there is no cache, so that script is called on every login.
  - "Run sysinfo on every login": places the same symlink in /etc/profile.d, removes the one from /etc/update-motd.d. End result is the same as before: script is called on every login
  - "Do not display sysinfo on login": remove /etc/profile.d and /etc/update-motd.d symlinks. This is the only option that is currently working as advertised.

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1752632/+subscriptions


Follow ups