From the Canyon Edge -- :-Dustin

Wednesday, November 12, 2008

Ubuntu Jaunty: updates-available and reboot-required now in /etc/motd!

Any brave souls out there running Ubuntu Jaunty Jackalope yet?

No? Okay, okay, you're right... Perhaps it's a bit early for that. But what about in a virtual machine?

The Ubuntu Developer Summit isn't until December, but we're already busy working on Jaunty!

With some help from Michael Vogt, update-notifier is now able to publish information about available updates, and required system restarts. It uses update-motd to collect and publish a rich, dynamic Message-of-the-Day dialog.

This new functionality hopes to provide an equivalent to the Updates Available and Restart Required icons in the Ubuntu desktop system tray, for the Ubuntu server.

The result looks something like:

Linux dustin-desktop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/

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

kirkland@t61p:~$

And, when a reboot is required, like this:

Linux dustin-desktop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/

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

**** System restart required ****

kirkland@t61p:~$


We still have a few kinks to work out, and a few optimizations coming, but all told, this is good stuff for the Ubuntu Server!

:-Dustin

Printfriendly