[Blueprint server-karmic-update-motd-inotify] Enhance update-motd to use inotify

Dustin Kirkland dustin.kirkland at gmail.com
Tue Jul 14 02:11:47 BST 2009


Blueprint changed by Dustin Kirkland:

    Definition Status: Approved => Obsolete

Whiteboard changed to:

= Status =

update-motd should be integrated into pam_motd.  A patch exists for this
(see linked bug).  As soon as this functionality is included in
pam_motd, the entire update-motd package goes away.

Sysadmins and packages should continue to install scripts into /etc
/update-motd.d/ and these will be executed and displayed at login by
pam_motd.

:-Dustin


-----------------------------------------------------

Discussion Points:
 * Need an inotify daemon in main ... which one?
 * update-motd could support both cron and inotify based notifications -- support this?
 * How should this work with byobu, which provides lots of notifications more frequently at the bottom of your screen?
  * Perhaps lengthier messages belong in /etc/motd?
-- Dustin Kirkland


With contribution from Jon Bernard, this feature has been mostly implemented in upstream update-motd.

We need to do a few more, minor things to complete the feature.  Mainly,
we need an init script, or some other sticky mechanism for launching the
inotify portion of the daemon.  Scott James Remnant suggested that
upstart could be used to do this.

This blueprint suggests that we complete this functionality and use
inotify for some update-motd events.

Additionally, we should discuss the types of applications that perhaps
should be hooked to add useful information in the /etc/motd.

:-Dustin

-- 
  Enhance update-motd to use inotify
  https://blueprints.edge.launchpad.net/ubuntu/+spec/server-karmic-update-motd-inotify



More information about the Ubuntu-server-bugs mailing list