[Bug 949256] Re: /var/run/motd is not created even though /var/run/motd.new is created

Dimitris Kogias dimitris at gmail.com
Thu Mar 8 21:44:47 UTC 2012


I "fixed" this before seeing comment #2:

run-parts was returning an error code (2 IIRC) because I had removed,
but not purged, update-manager-core from these systems a few days ago.

That resulted in /etc/update-motd.d/91-release-upgrade being left
behind, which would attempt to run /usr/lib/update-manager/release-
upgrade-motd which no longer existed.

After purging update-manager-core, /etc/update-motd.d/91-release-upgrade
was also removed, run-parts now completes successfully and the MOTD is
displayed correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/949256

Title:
  removal (not purge) breaks MOTD

Status in “update-manager-core” package in Ubuntu:
  Incomplete

Bug description:
  Starting a few days ago, all of my 10.04.4 servers ceased printing the
  MOTD when I SSH'd into them.  /etc/motd is a symlink to /var/run/motd
  which doesn't exist.  /var/run/motd.new is being created correctly on
  each login, e.g.:

  Linux <hostname> 2.6.32-39-generic-pae #86-Ubuntu SMP Mon Feb 13 23:05:11 UTC 2012 i686 GNU/Linux
  Ubuntu 10.04.4 LTS

  Welcome to Ubuntu!
   * Documentation:  https://help.ubuntu.com/

    System information as of Wed Mar  7 10:11:33 PST 2012

    System load:  0.08                Processes:               109
    Usage of /:   45.4% of 362.86GB   Users logged in:         0
    Memory usage: 10%                 IP address for eth0:     <addr>
    Swap usage:   0%                  IP address for vboxnet0: <addr>

    Graph this data and manage this system at
  https://landscape.canonical.com/

  0 packages can be updated.
  0 updates are security updates.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: libpam-modules 1.1.1-2ubuntu5.4
  ProcVersionSignature: Ubuntu 2.6.32-39.86-generic-pae 2.6.32.56+drm33.22
  Uname: Linux 2.6.32-39-generic-pae i686
  Architecture: i386
  Date: Wed Mar  7 10:06:23 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.2)
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_US.UTF-8
  SourcePackage: pam

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/949256/+subscriptions




More information about the foundations-bugs mailing list