[Bug 794988] [NEW] Duplication due to generated motd.tail

Julian Tibble 794988 at bugs.launchpad.net
Thu Jun 9 11:18:18 UTC 2011


Public bug reported:

Binary package hint: libpam-modules

Although I deleted /etc/motd.tail, a recent upgrade using aptitude
recreated it (presumably some package's post-install script created it).
This is annoying because its contents is as follows:

    $ cat /etc/motd.tail 
    Ubuntu 10.04.2 LTS

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

This is a duplicate of information printed by the scripts in /etc
/update-motd.d/, so some info is printed twice when I log in:

    Linux eventbookingonline 2.6.32.16-linode28 #1 SMP [...snip...]
    Ubuntu 10.04.2 LTS

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

    Welcome to Ubuntu!
     * Documentation:  https://help.ubuntu.com/
    Last login: [...snip...]

Surely this is wrong: as I understand it, /etc/motd.tail is supposed to
be for static content added by the local system-administrator and should
not be touched by scripts.


VERSION INFO

    $ lsb_release -rd
    Description:	Ubuntu 10.04.2 LTS
    Release:	10.04

    $ apt-cache policy libpam-modules
    libpam-modules:
      Installed: 1.1.1-2ubuntu5.3
      Candidate: 1.1.1-2ubuntu5.3
      Version table:
     *** 1.1.1-2ubuntu5.3 0
            500 http://security.ubuntu.com/ubuntu/ lucid-updates/main Packages
            500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
            100 /var/lib/dpkg/status
         1.1.1-2ubuntu2 0
            500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

** Affects: pam (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/794988

Title:
  Duplication due to generated motd.tail

Status in “pam” package in Ubuntu:
  New

Bug description:
  Binary package hint: libpam-modules

  Although I deleted /etc/motd.tail, a recent upgrade using aptitude
  recreated it (presumably some package's post-install script created
  it). This is annoying because its contents is as follows:

      $ cat /etc/motd.tail 
      Ubuntu 10.04.2 LTS

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

  This is a duplicate of information printed by the scripts in /etc
  /update-motd.d/, so some info is printed twice when I log in:

      Linux eventbookingonline 2.6.32.16-linode28 #1 SMP [...snip...]
      Ubuntu 10.04.2 LTS

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

      Welcome to Ubuntu!
       * Documentation:  https://help.ubuntu.com/
      Last login: [...snip...]

  Surely this is wrong: as I understand it, /etc/motd.tail is supposed
  to be for static content added by the local system-administrator and
  should not be touched by scripts.

  
  VERSION INFO

      $ lsb_release -rd
      Description:	Ubuntu 10.04.2 LTS
      Release:	10.04

      $ apt-cache policy libpam-modules
      libpam-modules:
        Installed: 1.1.1-2ubuntu5.3
        Candidate: 1.1.1-2ubuntu5.3
        Version table:
       *** 1.1.1-2ubuntu5.3 0
              500 http://security.ubuntu.com/ubuntu/ lucid-updates/main Packages
              500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
              100 /var/lib/dpkg/status
           1.1.1-2ubuntu2 0
              500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/794988/+subscriptions




More information about the foundations-bugs mailing list