Tuesday, February 14, 2012

Call for testing: Upstart 1.4

The upstart team has a new version of upstart that is pending for precise, and would like some feedback on it. The timeline on this is very short (ending Feb 15th), but the team would appreciate any testing that is completed. The shiny new stuff in this release includes:
  • You can specify the user and group a job runs as using 'setuid' and 'setgid'
  • Logging of job output for system jobs
    • This is the first time upstart is writing out anything to a log file!
      • '--no-log' (disable logging entirely) 
      • '--logdir=DIR' (specify alternate log directory) 
      • '--default-console=VALUE' (specify default value for 'console' stanza). 
Prerequisites: Make sure you are running the latest version of precise, and all your packages are up to date. Unfortunately this cannot be installed on oneiric or any previous ubuntu release. You should feel comfortable recovering your system using a live-cd if necessary -- this may cause you not to be able to boot!

1) Add the upstart ppa (https://launchpad.net/~jamesodhunt/+archive/upstart-job-logging). You can do this by issuing the following command:

sudo add-apt-repository ppa:jamesodhunt/upstart-job-logging

2) Update apt and run a dist upgrade -- this should prompt you to upgrade upstart

sudo apt-get update && sudo apt-get dist-upgrade

3) Restart your computer

No matter what sort of hardware (real or virtual) the upstart team would appreciate your testing. In particular, testing is valuable on systems that are in active use, as they are likely to have the most modifications and requirements placed upon the software.

Does your system still boot properly after installing the package?

ls /var/log/upstart

Is /var/log/upstart directory is populated with logfiles?

Filing Bugs
Found a bug? Before filing, please edit your boot options to add '--no-log', then file a bug at (https://bugs.launchpad.net/ubuntu/+source/upstart/+filebug).  Be sure to mention in your bug report that you were testing this version from the ppa, and tag it as 'upstart-1.4'.

Giving Feedback
If you'd like to give feedback on upstart check out the upstart mailing list and post a message. In addition, the team would love to hear from you via launchpad.

Getting Help
Don't hesitate to reach out to the wonderful folks on freenode @ #upstart, the ubuntu+1 forums, or myself if you have questions. Thanks for helping test ubuntu!

1 comment:

  1. Can you please default Upstart boot messages to log or a log file so the consoles look clean? It is very ugly to have a console with all output messages seen on logout and shutdown in Ubuntu.