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

4 comments:

  1. Very cool! This should be very useful... I'm looking forward to it.

    ReplyDelete
  2. Really cool stuff Dustin. Nice to see server-team hard working. Anyone trying to backpoert it to 8.04/8.10?

    ReplyDelete
  3. wow, this is awesome! will it be in ubuntu desktop as well?

    ReplyDelete
  4. Peter-

    This will be on Jaunty desktop as well.

    Zen-

    This code probably won't be backported to 8.04/8.10, unfortunately... I'll see if I can simplify it somehow to fit within the scope of an SRU, perhaps.

    :-Dustin

    ReplyDelete

Please do not use blog comments for support requests! Blog comments do not scale well to this effect.

Instead, please use Launchpad for Bugs and StackExchange for Questions.
* bugs.launchpad.net
* stackexchange.com

Thanks,
:-Dustin

Printfriendly