upstart Announcementstag:launchpad.net,2006-07-13:/upstart/+announcementshttps://launchpadlibrarian.net/7098870/upstart64.pnghttps://launchpadlibrarian.net/7098869/upstart14.png2014-09-04T11:15:14.273480+00:00Upstart 1.13.2 released2014-09-04T11:15:14.273480+00:002014-09-04T11:15:14.163867+00:00tag:launchpad.net,2014-09-04:/+announcement/12940James Hunthttps://launchpad.net/~jamesodhunt<p>Bug fix release:</p>
<p>* Enforce 'initctl set-env' from being called from system job<br/>
(LP: <a class="bug-link" href="https://launchpad.net/bugs/1356824">#1356824</a>).<br/>
* Defer use of remove-on-empty to stop session-level cgroup jobs<br/>
from racing with cgmanager which can remove the cgroup before<br/>
subsequent job processes have been moved into them<br/>
(LP: <a class="bug-link" href="https://launchpad.net/bugs/1357252">#1357252</a>).</p>Upstart 1.13.1 released2014-07-16T16:49:13.842429+00:002014-07-16T16:49:13.761611+00:00tag:launchpad.net,2014-07-16:/+announcement/12831James Hunthttps://launchpad.net/~jamesodhunt<p>* Fix for Session Init crasher triggered by restarting a job that runs 'initctl unset-env' (LP: <a class="bug-link" href="https://launchpad.net/bugs/1222705">#1222705</a>).</p>Upstart 1.13 released2014-07-11T22:02:58.673786+00:002014-07-11T22:02:58.511270+00:00tag:launchpad.net,2014-07-11:/+announcement/12821James Hunthttps://launchpad.net/~jamesodhunt<p>* Fix for handling upgrade from non-stateful-<wbr/>re-exec instance to a<br/>
stateful-<wbr/>re-exec-<wbr/>capable one (LP:#1303891).<br/>
* Disable chroot sessions by default. A new '--chroot-sessions'<br/>
command-line option restores the old default behaviour.<br/>
* New tests and improved documentation.<br/>
* Fix for Session Init umask change on re-exec (LP: <a class="bug-link" href="https://launchpad.net/bugs/1302117">#1302117</a>).<br/>
* Allow '--confdir' to look for system jobs in multiple<br/>
locations, which also adds new command-line options<br/>
'--append-<wbr/>confdir' and '--prepend-confdir' for full flexibility<br/>
(LP: <a class="bug-link" href="https://launchpad.net/bugs/1315060">#1315060</a>).<br/>
* Allow initctl(8) commands 'set-env' and 'unset-env' to operate on<br/>
multiple environment variables (LP: <a class="bug-link" href="https://launchpad.net/bugs/1324096">#1324096</a>).<br/>
* Support for cgroups via a new 'cgroup' stanza. This makes use of<br/>
cgmanager(8) and is available to both System and Session Inits.<br/>
Support for cgroups can be disabled at built-time if required. See<br/>
init(5) for 'cgroup' stanza syntax and examples.</p>Upstart 1.12.1 released2014-03-11T15:03:29.922045+00:002014-03-11T15:03:29.778901+00:00tag:launchpad.net,2014-03-11:/+announcement/12509James Hunthttps://launchpad.net/~jamesodhunt<p>* Fixed re-exec breakage caused by incorrect D-Bus API usage.<br/>
* Tests updated to catch this issue.</p>Upstart 1.12 released2014-03-07T11:34:03.325979+00:002014-03-07T11:34:03.221851+00:00tag:launchpad.net,2014-03-07:/+announcement/12497James Hunthttps://launchpad.net/~jamesodhunt<p>* Stop Upstart indirectly stealing console ownership (most noticeably when run in a container).<br/>
* Fixed bug that could result in incorrect output from initctl(8) environment commands.<br/>
* Fixed incorrect variable usage which could result in a crash (LP: <a class="bug-link" href="https://launchpad.net/bugs/1222705">#1222705</a>).<br/>
* Fixed stateful re-exec issue triggered by invalid jobs (LP: <a class="bug-link" href="https://launchpad.net/bugs/1269731">#1269731</a>).<br/>
* Stateful re-exec fix to serialise the D-Bus session bus (LP: <a class="bug-link" href="https://launchpad.net/bugs/1258098">#1258098</a>).<br/>
* init-checkconf(8) now uses a Session Init and can also now be run as root.<br/>
* upstart-<wbr/>socket-<wbr/>bridge(<wbr/>8) now supports IPv6 (thanks to Kai Mast and Cameron Norman).<br/>
* Allow telinit(8) to work on systems with no D-Bus system bus.<br/>
* Numerous test improvements.<br/>
* Lots of man-page improvements.</p>Upstart 1.11 released2013-11-14T14:38:54.780958+00:002013-11-14T14:38:54.697543+00:00tag:launchpad.net,2013-11-14:/+announcement/12160James Hunthttps://launchpad.net/~jamesodhunt<p>* Add '--no-dbus' command-line option for the init(8) daemon (allowing<br/>
event propagation to the Session Init via the upstart-<wbr/>event-bridge(<wbr/>8) to<br/>
be disabled).<br/>
* Serialise Session Init job environment table on re-exec (LP: <a class="bug-link" href="https://launchpad.net/bugs/1238078">#1238078</a>).<br/>
* upstart-<wbr/>{dbus,socket}<wbr/>-bridge(<wbr/>8): Don't clobber existing PATH (LP: <a class="bug-link" href="https://launchpad.net/bugs/1234898">#1234898</a>).<br/>
* upstart-<wbr/>file-bridge(<wbr/>8):<br/>
- Allow watching for directory creation (LP: <a class="bug-link" href="https://launchpad.net/bugs/1221466">#1221466</a>).<br/>
- Reduce default output.<br/>
* upstart-<wbr/>local-bridge(<wbr/>8): Handle arbitrary numbers of pairs and additional<br/>
checks on input validity (LP: <a class="bug-link" href="https://launchpad.net/bugs/1234898">#1234898</a>).<br/>
* Improved Session Init shutdown speed (LP: <a class="bug-link" href="https://launchpad.net/bugs/1227212">#1227212</a>).<br/>
* New configure options: '--disable-<wbr/>local-bridge'<wbr/>, '--disable-<wbr/>socket-<wbr/>bridge'<wbr/>.<br/>
* Added upstart-<wbr/>file-bridge(<wbr/>8) and Session Init re-exec integration tests.<br/>
* Retain umask for Session Init (LP: <a class="bug-link" href="https://launchpad.net/bugs/1240686">#1240686</a>).<br/>
* Make Session Init connect to D-Bus Session Bus on request<br/>
(LP: <a class="bug-link" href="https://launchpad.net/bugs/1203595">#1203595</a>, <a class="bug-link" href="https://launchpad.net/bugs/1235649">#1235649</a>)<br/>
* Improved build-time ABI compliance checking.<br/>
* Doc updates and lots of test refinements.</p>Upstart 1.10 released2013-08-23T15:13:34.081697+00:002013-08-23T15:13:34.002296+00:00tag:launchpad.net,2013-08-23:/+announcement/11857James Hunthttps://launchpad.net/~jamesodhunt<p>* upstart-<wbr/>local-bridge: New bridge for starting jobs on local socket connections.<br/>
* upstart-<wbr/>dconf-bridge: New bridge for Session Inits.<br/>
* upstart-<wbr/>dbus-bridge: New '--bus-name' option to allow bus name variable to be included in dbus-event(7).<br/>
* New "reload signal" stanza to allow jobs to specify a custom signal that will be sent to the main process<br/>
(rather than the default SIGHUP).<br/>
* Inclusion of Session Init sample jobs.<br/>
* Re-exec fixes for handling chroot sessions.<br/>
* Shutdown fix for Session Inits.<br/>
* New python3 module and accompanying integration test suite for testing Upstart running as PID 1 and as a Session Init<br/>
(priveleged and non-privileged).</p>Upstart 1.9.1 released2013-07-04T15:24:11.351410+00:002013-07-04T15:24:11.279678+00:00tag:launchpad.net,2013-07-04:/+announcement/11671James Hunthttps://launchpad.net/~jamesodhunt<p>* Fix respawn behaviour regression (introduced in version 1.8) affecting<br/>
jobs which also specify shell meta-characters in the exec stanza (LP: <a class="bug-link" href="https://launchpad.net/bugs/1181789">#1181789</a>).<br/>
* Fix common bug which could cause a bridge to crash (LP: <a class="bug-link" href="https://launchpad.net/bugs/1197225">#1197225</a>).<br/>
* Various fixes for libupstart.<br/>
* initctl2dot: Layout improvements.</p>Upstart 1.9 released2013-06-28T13:36:12.076851+00:002013-06-28T13:36:12.006711+00:00tag:launchpad.net,2013-06-28:/+announcement/11657James Hunthttps://launchpad.net/~jamesodhunt<p>* Apparmor support added by means of two new stanzas: 'apparmor load' and 'apparmor switch' (thanks Marc Deslauriers).<br/>
* Stateful re-exec: now serialises all objects, not just the minimum set.<br/>
* Allow inherited environment variables to be unset for Session Inits.<br/>
* Ability to specify multiple configuration directories when running as a Session Init.<br/>
* libupstart: Client library for communicating with Upstart.<br/>
* upstart-<wbr/>dbus-bridge: New bridge to allow jobs to react to D-Bus signals.<br/>
* The usual round of fixes and doc improvements.</p>Upstart 1.8 released2013-03-22T14:40:26.985319+00:002013-03-22T14:40:26.928483+00:00tag:launchpad.net,2013-03-22:/+announcement/11289James Hunthttps://launchpad.net/~jamesodhunt<p>* upstart-<wbr/>file-bridge: New bridge to allow jobs to react to<br/>
file, directory and file glob events (create/<wbr/>modify/<wbr/>delete)<wbr/>.<br/>
* upstart-monitor: Simple cli/gui tool that shows event flows.</p>upstart 1.7 released2013-03-04T12:02:49.798465+00:002013-03-04T12:02:49.723726+00:00tag:launchpad.net,2013-03-04:/+announcement/11228James Hunthttps://launchpad.net/~jamesodhunt<p>* New initctl commands: set-env, unset-env, get-env, list-env,<br/>
reset-env, list-sessions (all except last with corresponding<br/>
D-Bus methods).<br/>
* New D-Bus-only signals EventEmitted, Restarted, and EndSession method.<br/>
* Ability to run with PID >1 to allow Upstart to manage a user session.<br/>
Running Upstart as a 'Session Init' in this way provides features<br/>
above and beyond those provided by the original User Jobs such that<br/>
the User Job facility has been removed entirely: to migrate from<br/>
a system using User Jobs, simply ensure the user session is started with<br/>
'init --user'.<br/>
* New upstart-<wbr/>event-bridge bridge which proxies system-level events down<br/>
to Session Inits, allowing users jobs to react to udev events.<br/>
* Ability to read job configuration and override files from multiple<br/>
freedesktop-<wbr/>compliant locations (Session Init only).<br/>
* Ability to shutdown both via a system shutdown request and via a user<br/>
logout request (Session Init only).</p>upstart 1.6.1 released2012-12-07T20:10:07.484855+00:002012-12-07T20:10:07.157808+00:00tag:launchpad.net,2012-12-07:/+announcement/10937James Hunthttps://launchpad.net/~jamesodhunt<p>* Improved re-exec performance.<br/>
* Minor logger fixes for unflushed data.<br/>
* Handle re-exec scenario when requested from within a chroot.<br/>
* Minor serialisation data format change to handle chroots and<br/>
user sessions.<br/>
* Added extra re-exec tests including explicit upgrade tests reading<br/>
from pre-prepared JSON data files.<br/>
* Make jobs running within a chroot log their output within the chroot.<br/>
* Added "Restart" D-Bus method.<br/>
* Changed 'telinit u' to use "Restart" D-Bus method rather than<br/>
sending SIGTERM to play nicely when busybox(1) is init.<br/>
* Added "GetState" D-Bus method allowing current serialised internal state<br/>
to be queried.</p>Upstart 1.6 released2012-11-15T11:44:25.579456+00:002012-11-15T11:44:25.516133+00:00tag:launchpad.net,2012-11-15:/+announcement/10843James Hunthttps://launchpad.net/~jamesodhunt<p>* 'telinit u' now performs a stateful re-exec, allowing<br/>
Upstart to continue to supervise jobs after an upgrade<br/>
of either itself, or any of its dependent libraries.<br/>
Adds dependency on libjson (JSON-C).<br/>
* Added initramfs-less boot support.<br/>
* Allow tests to work in sbuild environment.<br/>
* Improved error handling.<br/>
* Fixed crasher if 'kill signal' specified as a particular<br/>
numeric.<br/>
* Documentation fixes.</p>Upstart 1.5 released2012-03-22T11:38:54.983949+00:002012-03-22T11:38:54.920818+00:00tag:launchpad.net,2012-03-22:/+announcement/9783James Hunthttps://launchpad.net/~jamesodhunt<p>* Lots of "console log" improvements (and new tests).</p>
<p>* New 'early logging' facility which allows jobs that end before the log disk is writeable to have their output peristed to disk when the disk later becomes writeable.</p>
<p>* Upstart is now able to detect jobs which leak file descriptors: a message is generated when run with debug enabled ('--debug' / "initctl log-priority debug").</p>
<p>* New "usage" stanza which allows instance jobs to display a usage message explaining how job should be started. The usage is displayed when the user has not specified the correct variables to allow the job to be started, or when the user queries the usage using "initctl usage <job>".</p>Upstart 1.4 released on 2011-12-132011-12-13T11:24:43.272318+00:002011-12-13T11:24:43.199796+00:00tag:launchpad.net,2011-12-13:/+announcement/9356James Hunthttps://launchpad.net/~jamesodhunt<p>* Improved console setting.</p>
<p>* New "log" argument to console stanza allowing a system jobs<br/>
stdout/stderr to be captured to a file. New options added to<br/>
support this feature: '--default-<wbr/>console'<wbr/>, '--logdir',<br/>
'--no-log'. This feature only currently applies to system jobs:<br/>
user jobs which specify "console log" will be treated as if they<br/>
had specified "console none".</p>
<p>* New "setuid" and "setgid" stanzas to allow system jobs to be run<br/>
under the specified uid/gid corresponding to the given name/group.</p>
<p>* Improvements to upstart-udev-bridge to handle problematic hardware<br/>
(such as some batteries) which pass non-printable bytes to userspace.</p>Upstart 1.3 released on 2011-06-142011-07-12T10:45:53.363137+00:002011-07-12T10:45:53.299788+00:00tag:launchpad.net,2011-07-12:/+announcement/8658James Hunthttps://launchpad.net/~jamesodhunt<p>A plethora or new features and updates, including all those from Ubuntu Natty.</p>Upstart 1.2 released2011-03-22T18:12:44.478649+00:002011-03-22T18:13:19.842499+00:00tag:launchpad.net,2011-03-22:/+announcement/8004Scott James Remnanthttps://launchpad.net/~scott<p>Brown paper bag release to fix an important bug in 1.1 that broke people with pdksh as /bin/sh</p>
<p>1.2 2011-03-22 ”This sort of thing is my bag, baby”</p>
<p> * Fixed incorrect shell redirection syntax that broke at least pdksh. (Bug: #739984)</p>Upstart 1.1 released2011-03-17T00:50:36.027640+00:002011-03-17T00:50:35.913668+00:00tag:launchpad.net,2011-03-17:/+announcement/7971Scott James Remnanthttps://launchpad.net/~scott<p>Nothing says "stable release" like a merry round of bug fixes, including the file descriptor leak when the "script" keyword is used.</p>
<p>1.1 2011-03-16 "It's probably 'cause you think you're cooler than me"</p>
<p> * When /sbin/halt is called (without -p), this now results in the<br/>
system being halted and not powered down. If you meant it to be<br/>
powered down, use /sbin/poweroff. (Bug: #532366)</p>
<p> * Fixed file descriptor leak of /proc/self/fd/NN to shell scripts<br/>
executed by Upstart. (Bug: #619269)</p>
<p> * Fixed bug where console was closed too early, causing loss of error<br/>
messages and non-functioning keyboard-request event,<br/>
(Bug: #707151)</p>
<p> * Fixed bug where environment variables containing unusual characters<br/>
were not accepted due to a mis-reading of POSIX. (Bug: #567068).</p>
<p> * Fixed non-removal of symlinks on "make uninstall". (Bug: #604227)</p>
<p> * Reduced priority of job termination messages from warn to info<br/>
if the exit status or signal is listed in "normal exit".<br/>
(Bug: #522197)</p>Upstart 1.0 released2011-03-02T05:29:40.808021+00:002011-03-02T05:29:40.663750+00:00tag:launchpad.net,2011-03-02:/+announcement/7884Scott James Remnanthttps://launchpad.net/~scott<p>The trouble with a "1.0" release is that the temptation is for that<br/>
version to be the one with all the features you want when your users<br/>
want it to be stable. This is a 1.0 release of the latter kind, based<br/>
on the 0.6.x code that was shipped in both the most recent Ubuntu LTS<br/>
and RedHat Enterprise Linux releases. If you're running Upstart<br/>
anywhere right now, it's highly recommended that you update to this<br/>
version, there shouldn't be any surprises!</p>
<p>1.0 2011-03-01 "This is a fertile land, and we will thrive"</p>
<p> * Fixed an assertion when a file named /etc/init/.conf is created.<br/>
Discovered by Коренберг Марк (Bug: #720573)</p>
<p> * utmp entries will be replaced with DEAD_PROCESS ones when a<br/>
pid supervised by Upstart terminates. (Bug: #183729)</p>
<p> * shutdown now correctly returns error code if it fails to shutdown<br/>
the system.</p>
<p> * Included bash completion script in contrib directory.<br/>
(Bug: #672067)</p>Upstart 0.6.6 released2010-04-27T19:34:48.518203+00:002010-04-27T19:34:48.443507+00:00tag:launchpad.net,2010-04-27:/+announcement/5695Scott James Remnant (Canonical)https://launchpad.net/~canonical-scott<p>The main change in this release is that Upstart now takes care of mounting /proc and /sys on boot in the case where they haven't already been mounted by an initramfs or initrd. This corrects the long-running "chicken and egg" due to Upstart's use of /proc/self/fd to execute shell code, and allows Upstart to use /sys in future as well.</p>
<p>0.6.6 2010-04-27 "No, she's dead, this is her son"</p>
<p> * Upstart will automatically mount /proc and /sys on boot if they<br/>
have not already been mounted by the kernel or initramfs.<br/>
(Bug: #426263)</p>
<p> * Fixed double-quoting issue with the --with-local-libnih configure<br/>
option. (Bug: #530385)</p>
<p> * libnih 1.0.2 is now required.</p>Upstart 0.6.5 released2010-02-04T23:45:00+00:002010-03-30T12:34:08.889148+00:00tag:launchpad.net,2010-03-30:/+announcement/5493Scott James Remnant (Canonical)https://launchpad.net/~canonical-scott<p>Haven't quite followed the original release plan here, but I thought it<br/>
was important to get a new Upstart release out sooner rather than later<br/>
for the stable crowd. The main change here is that the libnih library<br/>
has been separated out into its own source tree (you can get it from<br/>
Launchpad), along with some merging of patches that had lived in the<br/>
Ubuntu branch of Upstart for a while back into the trunk.</p>
<p>0.6.5 2010-02-04 "Our last, best hope for victory"</p>
<p> * Since libnih has been separated out into its own project, Upstart<br/>
no longer includes its source and now uses the installed version by<br/>
default.</p>
<p> * The external nih-dbus-tool means that cross-compilation is trivial,<br/>
the path to it may be overriden with NIH_DBUS_TOOL=... as an<br/>
argument to configure. (Bug: #426740)</p>
<p> * Developers may still build against a local libnih source tree by<br/>
passing --with-<wbr/>local-libnih=<wbr/>/path/to/<wbr/>libnih to configure.</p>
<p> * There is a new initctl "reload" command, with matching<br/>
<wbr/> /sbin/<wbr/>reload symlink. This sends the SIGHUP signal to the running<br/>
main process of the named job instance.</p>
<p> * Event operator matches in jobs now support "!=" in addition to the<br/>
usual "=", e.g.:</p>
<p> <wbr/> <wbr/> start on net-device-added INTERFACE!=eth*</p>
<p> (Bug: #513035)</p>
<p> * Moved D-Bus system bus reconnection trigger from SIGHUP to SIGUSR1,<br/>
since SIGHUP is already used for a forced configuration reload and<br/>
causes Upstart to "forget" state.</p>
<p> * Fixed bug where the default runlevel would be lost when an<br/>
<wbr/> /etc/<wbr/>inittab file exists without an initdefault line. (Bug: #405847)</p>
<p> * Fixed "Unhandled error" message from shutdown. (Bug: #426332)</p>
<p> * Fixed "Unhandled error" assertion crash from Upstart child<br/>
processes when failing to spawn a job. (Bug: #451917)</p>
<p> * No longer holds /dev/console open, so the SAK SysRq key will not<br/>
kill Upstart. (Bug: #486005)</p>
<p> * Restored sync() call before reboot().</p>
<p> * Added missing OPTIONS section to init(8) manpage. (Bug: #449883)</p>Upstart 0.6.3 released2009-08-02T19:38:57.489635+00:002009-08-02T19:38:57.415325+00:00tag:launchpad.net,2009-08-02:/+announcement/3376Scott James Remnant (Canonical)https://launchpad.net/~canonical-scott<p>The biggest disadvantage to people actually using your software is that they find bugs, this one's a doozy because it looks like it affects older 0.3 releases as well. Now seems as good a time as any to repeat my recommendation that distributions, mobile and embedded appliance developers using Upstart consider using 0.6 in their next release rather than sticking with 0.3</p>
<p>I've also today created the 0.6 stable branch in bzr, those following stable releases with bzr will want to update their trees to <a class="branch-short-link" href="https://launchpad.net/+code/~scott/upstart/0.6">lp:~scott/upstart/0.6</a>. New stable releases will be made off this branch while trunk receives more exciting developments.</p>
<p>0.6.3 2009-08-02 "Our last, best hope for peace"</p>
<p> * Fixed an assertion when a job's main process is terminated<br/>
while in the stopping state. (Bug: #406408)</p>
<p> * Fixed compilation on ia64.</p>
<p> * nih-dbus-tool(1) manpage will not be installed, since the binary<br/>
is not. (Bug: #403103)</p>
<p>The tarball can be found here:</p>
<p> <a href="http://upstart.ubuntu.com/download/" rel="nofollow">http://<wbr/>upstart.<wbr/>ubuntu.<wbr/>com/download/</a></p>
<p>For more information on upstart:</p>
<p> <a href="http://upstart.ubuntu.com/" rel="nofollow">http://<wbr/>upstart.<wbr/>ubuntu.<wbr/>com/</a></p>Upstart 0.6.2 released2009-07-21T17:30:00+00:002009-07-21T17:27:05.252488+00:00tag:launchpad.net,2009-07-21:/+announcement/3256Scott James Remnant (Canonical)https://launchpad.net/~canonical-scott<p>I've started the process of converting Ubuntu's boot process to be Upstart native, and hit both an assertion and an annoying bug with the fork following. Might as well keep up the release momentum, so here's a release to fix those.</p>
<p>0.6.2 2009-07-21 "Buggrit, millennium hand and shrimp"</p>
<p> * Fixed an assertion when a job receives a stop event or the<br/>
stop command while still in the starting state.</p>
<p> * Changed exec() trace handling to allow the main process to<br/>
exec another before fork()ing while still following (e.g.<br/>
main script exec'ing a daemon)</p>
<p> * Restored missing chdir("/") call when catching crashes.</p>
<p>The tarball can be found here:</p>
<p> <a href="http://upstart.ubuntu.com/download/" rel="nofollow">http://<wbr/>upstart.<wbr/>ubuntu.<wbr/>com/download/</a></p>
<p>For more information on upstart:</p>
<p> <a href="http://upstart.ubuntu.com/" rel="nofollow">http://<wbr/>upstart.<wbr/>ubuntu.<wbr/>com/</a></p>Upstart 0.6.1 released2009-07-16T17:07:00+00:002009-07-21T17:24:06.187548+00:00tag:launchpad.net,2009-07-21:/+announcement/3255Scott James Remnant (Canonical)https://launchpad.net/~canonical-scott<p>Thanks to Jeff Oliver's debugging, I was able to understand why the<br/>
ptrace()-based daemon supervision wasn't working half the time and come<br/>
up with a simple fix. Having working "expect fork" and "expect daemon"<br/>
is a big win!</p>
<p>Cleaned up a couple of minor "runlevel in sysinit" bugs at the same<br/>
time; and since D-Bus 1.2.16 has been released, bumped the requirement<br/>
so people know they can just use the release.</p>
<p>0.6.1 2009-07-16 "Born in the wagon of a travelling show"</p>
<p> * D-Bus 1.2.16 is now required.</p>
<p> * Updated ptrace() code to handle receiving the trapped stopped<br/>
child _before_ we receive the trapped fork() syscall, which<br/>
seems to be the most common way the race goes when running<br/>
as init. This seems to make "expect fork/daemon" largely work.<br/>
(Bug: #264711)</p>
<p> * runlevel will now output "unknown" and exit with an error when<br/>
called before the first telinit call. (Bug: #400248)</p>
<p> * runlevel will prefix error messages with the utmp filename being<br/>
used. (Bug: #400241)</p>
<p>The tarball can be found here:</p>
<p> <a href="http://upstart.ubuntu.com/download/" rel="nofollow">http://<wbr/>upstart.<wbr/>ubuntu.<wbr/>com/download/</a></p>
<p>For more information on upstart:</p>
<p> <a href="http://upstart.ubuntu.com/" rel="nofollow">http://<wbr/>upstart.<wbr/>ubuntu.<wbr/>com/</a></p>upstart 0.6.0 released2009-07-09T16:19:41.662256+00:002009-07-09T16:19:41.561477+00:00tag:launchpad.net,2009-07-09:/+announcement/3170Scott James Remnant (Canonical)https://launchpad.net/~canonical-scott<p>At last, the announcement of a new stable series. This one's based off 0.5.2 but with a lot of the sharp corners shaved off, and lots of bug fixes.</p>
<p>I strongly suggest that everybody using 0.3.x or 0.5.x now bite the bullet and switch to using 0.6.0, I probably won't make another release on those branches now. There's a bit of a compatibility bump moving the configuration directory, but I'll make sure that the 0.10 development series is backwards compatible with it.</p>
<p>0.6.0 2009-07-09 "How appropriate, you fight like a cow"</p>
<p> * The licence for Upstart has been changed back to version 2 of the<br/>
GNU GPL.</p>
<p> * D-Bus 1.2.15 is now required, this is the current GIT HEAD<br/>
pending a 1.2.16 release.</p>
<p> * Configuration paths have changed. Global configuration now<br/>
resides in "/etc/init.conf" while jobs are now configured in<br/>
"/etc/init"</p>
<p> * Job configuration filenames must now end in ".conf"</p>
<p> * Default configuration files are now supplied in the "conf"<br/>
sub-directory of the source, and installed into "/etc/init".</p>
<p> These match the Debian/Ubuntu sysvinit configuration so may<br/>
require some tweaking for other distributions, but provide an<br/>
excellent base.</p>
<p> The old example-jobs tarballs are deprecated.</p>
<p> * The D-Bus interface remains unstable, to reflect this the current<br/>
interface name has changed to "com.ubuntu.<wbr/>Upstart0_<wbr/>6" and the<br/>
name of the job and instance interfaces have changed to match.</p>
<p> * The "EmitEvent" D-Bus method gains a wait argument, when given<br/>
as TRUE (the recommended setting) the method call will be blocked<br/>
until all effects of the event have finished. When FALSE the<br/>
method call will return once the event has been queued.</p>
<p> * The "Start", "Stop" and "Restart" D-Bus methods of jobs and<br/>
instances gain a similar wait argument.</p>
<p> * The Upstart D-Bus object now has "version" and "log_priority"<br/>
properties. The former is to obtain the version of the init daemon,<br/>
the latter allows you to obtain and change the logging priority.</p>
<p> * Job D-Bus objects now have "name", "description", "author" and<br/>
"version" properties to obtain the job name and the contents of<br/>
the equivalent job file fields for the others.</p>
<p> * Instance D-Bus objects now have "name", "goal", "state" and<br/>
"processes" properties to obtain the instance name, goal, state<br/>
and list of running processes and their pids respectively.</p>
<p> * The default D-Bus security policy now permits use of the "Get"<br/>
methods by all users, including obtaining values of properties.</p>
<p> * initctl has been rewritten with functionality more along the<br/>
lines of Upstart 0.3.x than before; since many distributions are<br/>
still shipping 0.3.x the summary of changes for the tool reflects<br/>
both changes from 0.3.x and 0.5.x</p>
<p> * The global "-p"/"--pid" argument has been dropped, since<br/>
communication is over D-Bus. New "--system" and "--dest" arguments<br/>
have been added to force communication over the system bus, and<br/>
specify the destination, instead of using the private socket (this<br/>
is the default when run as non-root to permit "list" and "status"<br/>
to work for ordinary users).</p>
<p> * The "-i"/"--id" and "--show-ids" options to commands have been<br/>
dropped since jobs no longer have ids.</p>
<p> * Since instances may now have names, these will be displayed in<br/>
brackets after the job name when one is present. The output of<br/>
the goal and state are now expressed as "start/running" instead<br/>
of "(start) running" to disambiguate.</p>
<p> * initctl "start" and "stop" now only output the final state of<br/>
the job, not intermediate states it passes through. When called<br/>
with "--no-wait", the commands now output a status before<br/>
returning (which may not be the final status).</p>
<p> * initctl "start", "stop" and "status" now only accept a single<br/>
job name. Further arguments are taken as KEY=VALUE environment<br/>
variables to pass to the job, replacing the previous "-e" option.</p>
<p> * There is a new initctl "restart" command, with matching<br/>
/sbin/restart symlink. This is the atomic equivalent of calling<br/>
"stop" and "start" with the exception that a stopped job will<br/>
not be started again.</p>
<p> * In keeping with the newer instance model, instance jobs are now<br/>
output on separate lines with their full names rather than<br/>
indented under a "master" instance.</p>
<p> * initctl "status" will exit non-zero if the job name was not<br/>
found. (Bug: #328323)</p>
<p> * initctl "status" now outputs information for multi-instance<br/>
jobs. (Bug: #331407)</p>
<p> * initctl "list" no longer accepts a pattern, use grep. Output<br/>
is no longer sorted.</p>
<p> * initctl "emit" no longer outputs changes that occur as a result<br/>
of the event.</p>
<p> * When initctl "emit" is called with "--no-wait", it will return<br/>
immediately. (Bug: #324890)</p>
<p> * initctl "emit" now only accepts a single event name. Further<br/>
arguments are taken as KEY=VALUE environment for the event,<br/>
replacing the previous "-e" option.</p>
<p> * initctl "jobs" and "events" have been dropped.</p>
<p> * initctl "log-priority" may be called without arguments, in<br/>
which case it will output the current priority. (Bug: #280529)</p>
<p> * initctl "reload" has been renamed to "reload-<wbr/>configuration"<br/>
to avoid confusion with reloading a job's configuration.</p>
<p> * initctl(8) man page updated. (Bug: #285753)</p>
<p> * runlevel no longer accepts the --set and --reboot arguments,<br/>
instead telinit and shutdown write these records into utmp and wtmp.</p>
<p> * runlevel(7) man page added to describe the runlevel event, and<br/>
the implementation of runlevels and System V compatibility in<br/>
Upstart. (Bug: #60429)</p>
<p> * telinit will no longer silently ignore the "a", "b" or "c"<br/>
runlevels.</p>
<p> * telinit now accepts the previously ignored "-e" argument, passing<br/>
the environment variables given along with the runlevel event.</p>
<p> * telinit now officially accepts the "q"/"Q" and "u"/"U" arguments,<br/>
the former will reload the Upstart configuration while the latter<br/>
will re-execute Upstart.</p>
<p> * telinit q will also attempt to reconnect to the D-Bus system bus<br/>
if the connection has not been made, or has been lost.<br/>
(Bug: #323022)</p>
<p> * reboot no longer silently ignores the "-t" option.</p>
<p> * reboot now silently ignores the "-n", "-i" and "-h" options; it<br/>
will no longer sync your disks, down your network interfaces or<br/>
spin down your hard drives. This functionality is all handled<br/>
by the kernel on a modern system. (Bug: #92685)</p>
<p> * reboot now writes a "shutdown" record to /var/log/wtmp, this means<br/>
that the "-w" option is honoured with its original intent. We<br/>
still silently ignore the "-d" option.</p>
<p> * shutdown message generation fixed to be more easily translatable.<br/>
(Bug: #102565)</p>
<p> * The TERM/KILL timeout, and other system timeouts, now use the<br/>
monotonic clock so are unaffected by system clock changes.<br/>
(Bug: #389588)</p>
<p> * Respawn detection now uses the monotonic clock so is unaffected<br/>
by system clock changes. (Bug: #389586)</p>
<p> * Significant improvement in the amount of manual pages included<br/>
with Upstart and their content. (Bug: #60429)</p>
<p> * A manual page refering people from /etc/inittab to /etc/init<br/>
is also included. (Bug: #72058)</p>
<p>The tarball can be found here:</p>
<p> <a href="http://upstart.ubuntu.com/download/" rel="nofollow">http://<wbr/>upstart.<wbr/>ubuntu.<wbr/>com/download/</a></p>
<p>For more information on upstart:</p>
<p> <a href="http://upstart.ubuntu.com/" rel="nofollow">http://<wbr/>upstart.<wbr/>ubuntu.<wbr/>com/</a></p>