Duplication due to generated motd.tail

Bug #794988 reported by Julian Tibble
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
New
Undecided
Unassigned

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

Steve Langasek (vorlon)
affects: pam (Ubuntu) → sysvinit (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.