Mandeep Singh Baines [Mon, 24 May 2010 23:18:48 +0000 (16:18 -0700)]
inherit review settings
TBR=cmasone
Review URL: http://codereview.chromium.org/2164003
Ken Mixter [Thu, 18 Feb 2010 17:33:53 +0000 (09:33 -0800)]
Fix license reference to reflect gplv2 license
Review URL: http://codereview.chromium.org/646016
Jason R. Glasgow [Wed, 20 Jan 2010 18:30:46 +0000 (13:30 -0500)]
Do not run upstart tests with every build
Disable the tests in upstart/nih and upstart/init because they are
failing when delivering a signal to a child process. This has been
reported to consume 100% CPU on virtual machines.
Review URL: http://codereview.chromium.org/551081
Colin Watson [Sat, 16 Jan 2010 02:55:43 +0000 (02:55 +0000)]
Support cross-compiling
Upstart builds nih-dbus-tool and then expects to use it during the build
process, so we need to make sure that it's built for the build
architecture rather than for the host architecture. Since this also
requires doing two builds of libnih and libnih-dbus, this is
unfortunately painful to do with Automake, but just about possible if
we're prepared to duplicate much of Automake's default compile and link
rules in custom targets.
Fortunately, we won't need to maintain this forever. Lucid has a
separate source package for libnih, so when we move up to that we can
just build-depend on the native nih-dbus-tool. With the stable Karmic
release, we seem to need something of about this level of complexity.
Review URL: http://codereview.chromium.org/549070
Ken Mixter [Thu, 14 Jan 2010 23:35:53 +0000 (15:35 -0800)]
Fix upstart build problems by ensuring configure always runs
Review URL: http://codereview.chromium.org/548038
Ryan Cairns [Wed, 13 Jan 2010 01:59:01 +0000 (17:59 -0800)]
Fixes failing upsatart job. We were running make clean once too often
Review URL: http://codereview.chromium.org/541041
Ken Mixter [Sat, 9 Jan 2010 01:11:13 +0000 (17:11 -0800)]
Changes to make upstart log performance stats to a file.
We currently log uptime and sectors read at each job state transition to /var/log/perf.log, enqueuing those writes which fail (such as when the stateful partition is not yet available at early boot time).
Review URL: http://codereview.chromium.org/524041
Steve Langasek [Wed, 9 Dec 2009 00:30:26 +0000 (16:30 -0800)]
releasing version 0.6.3-11
Steve Langasek [Wed, 9 Dec 2009 00:17:03 +0000 (16:17 -0800)]
Make rc-sysinit.conf wait on the loopback interface, to ensure that the
interface is up before we process the scripts in /etc/rc?.d. LP: #461725.
Scott James Remnant [Thu, 15 Oct 2009 16:48:50 +0000 (17:48 +0100)]
releasing version 0.6.3-10
Scott James Remnant [Thu, 15 Oct 2009 16:48:44 +0000 (17:48 +0100)]
Retain the "telinit u" for the case when we're upgrading from pre-0.6
(ie. hardy or jaunty). Whups. LP: #451556.
Scott James Remnant [Wed, 14 Oct 2009 15:40:35 +0000 (16:40 +0100)]
releasing version 0.6.3-9
Scott James Remnant [Wed, 14 Oct 2009 15:40:20 +0000 (16:40 +0100)]
Restore the call to sync() in reboot, have been observing some issues
and it looks like ext4 might not be explicitly flushing the disk when
remounting read-only.
Scott James Remnant [Wed, 14 Oct 2009 04:34:19 +0000 (05:34 +0100)]
releasing version 0.6.3-8
Scott James Remnant [Wed, 14 Oct 2009 04:34:10 +0000 (05:34 +0100)]
missing file
Scott James Remnant [Wed, 14 Oct 2009 04:33:21 +0000 (05:33 +0100)]
Merge change from libnih to fix compilation issue with eglibc due
to changed alphasort() prototype.
Scott James Remnant [Wed, 14 Oct 2009 04:32:26 +0000 (05:32 +0100)]
Merge change from libnih to store our assertion messages in the
glibc __abort_msg symbol so apport can pick them up. LP: #429411.
Scott James Remnant [Wed, 14 Oct 2009 04:31:38 +0000 (05:31 +0100)]
autoreconf
Scott James Remnant [Wed, 14 Oct 2009 04:31:01 +0000 (05:31 +0100)]
merge libnih part of the x-compile change
Scott James Remnant [Wed, 14 Oct 2009 04:29:56 +0000 (05:29 +0100)]
Merge change from trunk that makes it possible to build Upstart using
a previously built copy of nih-dbus-tool, especially useful when
cross-compiling. LP: #426740.
Scott James Remnant [Wed, 14 Oct 2009 04:27:25 +0000 (05:27 +0100)]
Fix "unhandled error" in shutdown when unable to change runlevel,
e.g. due to previous Ubiquity bug. LP: #426332.
Scott James Remnant [Wed, 14 Oct 2009 04:25:48 +0000 (05:25 +0100)]
merge the improved version of the previous change
Scott James Remnant [Wed, 14 Oct 2009 04:25:35 +0000 (05:25 +0100)]
Don't lose the original default runlevel if /etc/inittab exists without
an initdefault line. LP: #405847.
Scott James Remnant [Wed, 14 Oct 2009 04:22:49 +0000 (05:22 +0100)]
flag. LP: #441796.
Scott James Remnant [Wed, 14 Oct 2009 04:22:33 +0000 (05:22 +0100)]
Rather than calling "telinit u" after upgrade, which will lose state,
have the umountroot initscript take care of it for us by setting a
flag.
Scott James Remnant [Fri, 2 Oct 2009 20:09:06 +0000 (21:09 +0100)]
releasing version 0.6.3-7
Scott James Remnant [Fri, 2 Oct 2009 20:09:00 +0000 (21:09 +0100)]
Try harder to remove dbus-reconnect.conf
Scott James Remnant [Fri, 2 Oct 2009 15:53:12 +0000 (16:53 +0100)]
Remove "console owner" and "console output" from rc scripts.
Scott James Remnant [Fri, 2 Oct 2009 14:23:43 +0000 (15:23 +0100)]
* Ignore initramfs pids that don't exist. LP: #440071.
- you still need to ensure that the pid's parent is init, there's no
cheap way to test for that.
Scott James Remnant [Thu, 1 Oct 2009 14:26:24 +0000 (15:26 +0100)]
releasing version 0.6.3-6
Steve Langasek [Wed, 30 Sep 2009 22:19:24 +0000 (15:19 -0700)]
upstart-job's restart target must also not fail when the service is not
yet started. LP: #430883.
Scott James Remnant [Wed, 30 Sep 2009 21:08:29 +0000 (22:08 +0100)]
Don't use "telinit q" to reconnect to D-Bus, since that breaks
lots of things. Invent another secret way instead.
Steve Langasek [Mon, 28 Sep 2009 16:18:59 +0000 (09:18 -0700)]
upstart-job's restart target must also not fail when the service is not
yet started. LP: #430883.
Scott James Remnant [Wed, 23 Sep 2009 21:16:56 +0000 (14:16 -0700)]
releasing version 0.6.3-5
Scott James Remnant [Wed, 23 Sep 2009 21:16:28 +0000 (14:16 -0700)]
Update autoconf and automake files. LP: #435252.
Scott James Remnant [Tue, 22 Sep 2009 20:56:53 +0000 (13:56 -0700)]
releasing version 0.6.3-4
Scott James Remnant [Tue, 22 Sep 2009 20:55:52 +0000 (13:55 -0700)]
* Reduce the priority of the stopped by/continued by messages so that
they are only shown when --verbose on the kernel command-line.
LP: #401333.
*
Steve Langasek [Tue, 22 Sep 2009 20:52:30 +0000 (13:52 -0700)]
merge from mainline
Steve Langasek [Tue, 22 Sep 2009 20:50:05 +0000 (13:50 -0700)]
same for the stop command: return success if the job is already stopped.
Scott James Remnant [Tue, 22 Sep 2009 19:24:40 +0000 (12:24 -0700)]
Implement a "reload" command in initctl that retrieves the current pid
of the job and sends it the HUP signal. LP: #433544.
Steve Langasek [Tue, 22 Sep 2009 19:09:20 +0000 (12:09 -0700)]
throw in the changelog entries
Steve Langasek [Tue, 22 Sep 2009 19:05:51 +0000 (12:05 -0700)]
merge from mainline
Steve Langasek [Tue, 22 Sep 2009 19:00:18 +0000 (12:00 -0700)]
merge from mainline
Scott James Remnant [Tue, 22 Sep 2009 19:00:00 +0000 (12:00 -0700)]
Add a hack to look for /dev/.initramfs/*.pid files on startup and
"fake" start jobs of those names. Basically this means that "status"
and "stop" work for things like bootchart and usplash.
Steve Langasek [Tue, 22 Sep 2009 18:52:36 +0000 (11:52 -0700)]
when is set, don't spit warnings out because it's not
the user's fault - we're being invoked by a maintainer script.
Steve Langasek [Tue, 22 Sep 2009 17:40:54 +0000 (10:40 -0700)]
give proper policy-compliant behavior of the start command: detect if the
job is already running using upstart status, and if so return success.
Scott James Remnant [Tue, 22 Sep 2009 17:04:15 +0000 (10:04 -0700)]
new autoconf
Scott James Remnant [Tue, 22 Sep 2009 16:15:34 +0000 (09:15 -0700)]
Look for the "quiet" kernel command-line option, and when set act
as if "--quiet" was given. LP: #401333.
Scott James Remnant [Tue, 15 Sep 2009 23:10:20 +0000 (00:10 +0100)]
releasing version 0.6.3-3
Scott James Remnant [Tue, 15 Sep 2009 23:09:48 +0000 (00:09 +0100)]
* debian/upstart-job:
- force-reload should only send a HUP signal, since it may not be wise
to actually restart (cf. dbus)
Scott James Remnant [Tue, 15 Sep 2009 02:19:16 +0000 (03:19 +0100)]
releasing version 0.6.3-2
Scott James Remnant [Mon, 3 Aug 2009 22:59:03 +0000 (23:59 +0100)]
releasing version 0.6.3-1
Scott James Remnant [Mon, 3 Aug 2009 22:51:34 +0000 (23:51 +0100)]
* New upstream release:
- Fixed assertion when a job exits while stopping. LP: #406408.
- Fixed compilation on ia64.
- nih-dbus-tool(1) manpage no longer installed.
Scott James Remnant [Mon, 3 Aug 2009 22:05:43 +0000 (23:05 +0100)]
Update to 0.6.3
Scott James Remnant [Mon, 3 Aug 2009 21:58:46 +0000 (22:58 +0100)]
Upstart 0.6.3
Scott James Remnant [Mon, 3 Aug 2009 21:58:09 +0000 (22:58 +0100)]
Merge libnih changes for Upstart 0.6.3
Scott James Remnant [Mon, 3 Aug 2009 21:57:10 +0000 (22:57 +0100)]
Merge Upstart 0.6.3
Scott James Remnant [Sun, 2 Aug 2009 19:02:16 +0000 (20:02 +0100)]
* NEWS: Release 0.3.2
Scott James Remnant [Sun, 2 Aug 2009 19:01:34 +0000 (20:01 +0100)]
* NEWS: Release 0.6.3
Scott James Remnant [Sun, 2 Aug 2009 16:00:07 +0000 (17:00 +0100)]
NEWS update
Scott James Remnant [Sat, 1 Aug 2009 20:08:35 +0000 (21:08 +0100)]
Update NEWS from libnih
Scott James Remnant [Sat, 1 Aug 2009 18:08:50 +0000 (19:08 +0100)]
* init/tests/test_job_process.c (test_handler): Add a missing test
case for the running process exiting while we're in the stopping
state.
* init/job_process.c (job_process_terminated): Don't change the
state or record failure information if we're in the stopping state
when the main process dies, otherwise we hit an assertion later;
just wait for the stopping event to finish and carry on as before.
Scott James Remnant [Fri, 31 Jul 2009 11:34:43 +0000 (12:34 +0100)]
* dbus/upstart.h: Allow the service name and address to be overriden
Michael Biebl [Wed, 29 Jul 2009 10:19:50 +0000 (11:19 +0100)]
* nih/child.h: Remove unnecessary sys/ptrace.h and linux/ptrace.h
headers, that prevent compilation on ia64.
Michael Biebl [Wed, 29 Jul 2009 10:18:47 +0000 (11:18 +0100)]
* init/tests/test_job_process.c: Add missing sys/ptrace.h include
Scott James Remnant [Wed, 22 Jul 2009 16:54:43 +0000 (17:54 +0100)]
NEWS update
Michael Biebl [Wed, 22 Jul 2009 16:53:37 +0000 (17:53 +0100)]
* nih-dbus-tool/Makefile.am (dist_man_MANS): Don't install the
manpages unless INSTALL_NIH, take care to make sure they're still
distributed.
Scott James Remnant [Wed, 22 Jul 2009 09:40:00 +0000 (10:40 +0100)]
releasing version 0.6.2-1
Scott James Remnant [Wed, 22 Jul 2009 09:38:51 +0000 (10:38 +0100)]
* New upstream release:
- Fixed assertion when stopping a job during its starting event.
- Fixed fork following to not stop on exec() before fork()
- Fixed missing chdir() in crash handler.
Scott James Remnant [Wed, 22 Jul 2009 09:37:41 +0000 (10:37 +0100)]
Update to 0.6.2
Scott James Remnant [Wed, 22 Jul 2009 09:34:28 +0000 (10:34 +0100)]
Update from upstart-0.6.2.tar.gz
Scott James Remnant [Wed, 22 Jul 2009 09:29:51 +0000 (10:29 +0100)]
Merge Upstart 0.6.2
Scott James Remnant [Tue, 21 Jul 2009 17:31:35 +0000 (18:31 +0100)]
* configure.ac: Bump version to 0.6.3
* NEWS: Begin new release
Scott James Remnant [Tue, 21 Jul 2009 17:30:51 +0000 (18:30 +0100)]
* NEWS: Release 0.6.2
Scott James Remnant [Tue, 21 Jul 2009 17:15:20 +0000 (18:15 +0100)]
* init/main.c (crash_handler): Restore missing chdir ("/") call.
Scott James Remnant [Tue, 21 Jul 2009 12:03:23 +0000 (13:03 +0100)]
* init/tests/test_job_process.c (test_handler): We should allow
a job to exec() before it calls fork() to allow shell scripts to
exec daemons.
* init/job_process.c (job_process_trace_exec): Continue the traced
process instead of detaching if it has not yet forked.
Scott James Remnant [Tue, 21 Jul 2009 11:27:55 +0000 (12:27 +0100)]
* init/job.c (job_change_state): Obvious bug fix; the set of states
into which we can enter JOB_STOPPING includes JOB_STARTING because
we can get the "stop" event or command there.
Scott James Remnant [Thu, 16 Jul 2009 17:28:45 +0000 (18:28 +0100)]
releasing version 0.6.1-1
Scott James Remnant [Thu, 16 Jul 2009 17:26:04 +0000 (18:26 +0100)]
Bump dpkg dependency to 1.2.16
Scott James Remnant [Thu, 16 Jul 2009 17:25:38 +0000 (18:25 +0100)]
Provide/Conflict/Replace the agreed "upstart-job" meta-package.
LP: #399799.
Scott James Remnant [Thu, 16 Jul 2009 17:23:48 +0000 (18:23 +0100)]
* New upstream release:
- Fixed race condition in ptrace() code. LP: #264711.
- Fixed runlevel to output "unknown" not "N N". LP: #400248.
- Fixed runlevel to prefix error messages with filename. LP: #400241.
Scott James Remnant [Thu, 16 Jul 2009 17:22:38 +0000 (18:22 +0100)]
Update to 0.6.1
Scott James Remnant [Thu, 16 Jul 2009 17:21:14 +0000 (18:21 +0100)]
Upstart 0.6.1
Scott James Remnant [Thu, 16 Jul 2009 17:12:16 +0000 (18:12 +0100)]
Merge libnih changes for Upstart 0.6.1
Scott James Remnant [Thu, 16 Jul 2009 17:11:24 +0000 (18:11 +0100)]
Merge Upstart 0.6.1
Scott James Remnant [Thu, 16 Jul 2009 17:08:52 +0000 (18:08 +0100)]
* configure.ac: Bump version to 0.6.2
* NEWS: Begin new release
Scott James Remnant [Thu, 16 Jul 2009 17:05:31 +0000 (18:05 +0100)]
* NEWS: Release 0.6.1
Scott James Remnant [Thu, 16 Jul 2009 16:39:04 +0000 (17:39 +0100)]
* util/runlevel.c: Output the path before the error message,
to make it clear that it's the utmp file missing not runlevel.
Scott James Remnant [Thu, 16 Jul 2009 16:26:00 +0000 (17:26 +0100)]
* util/runlevel.c: If there is no current runlevel because the
environment variable is empty, output "unknown" instead of "N N".
Scott James Remnant [Wed, 15 Jul 2009 10:13:46 +0000 (11:13 +0100)]
* README: Now that D-Bus 1.2.16 proper has been released, update
our requirements.
Scott James Remnant [Wed, 15 Jul 2009 10:13:10 +0000 (11:13 +0100)]
* m4/libs.m4 (NIH_LIB_DBUS): Now that D-Bus 1.2.16 proper has been
released, update our version requirements to that.
* README: Update documentation.
Scott James Remnant [Tue, 14 Jul 2009 17:45:47 +0000 (18:45 +0100)]
* TODO: Update
Scott James Remnant [Tue, 14 Jul 2009 14:31:18 +0000 (15:31 +0100)]
releasing version 0.6.0-5
Scott James Remnant [Tue, 14 Jul 2009 14:18:25 +0000 (15:18 +0100)]
Cherry-pick patch from -r1188 to fix "expect fork" and "expect daemon"
LP: #264711.
Scott James Remnant [Tue, 14 Jul 2009 13:55:47 +0000 (14:55 +0100)]
* init/tests/test_job_process.c (test_handler): Rework the existing
ptrace fork handler test case to make sure we test the case where
we get the fork event before the stopped child. Add a second test
case for the opposite (stopped child before the fork event) which
we don't currently handle.
* init/job_process.c (job_process_trace_fork): Test for the missed
child event using ptrace(), if it succeeds the child is ready so
we can just assume we had the event.
Scott James Remnant [Tue, 14 Jul 2009 12:38:51 +0000 (13:38 +0100)]
add the revision control headers
Scott James Remnant [Tue, 14 Jul 2009 12:35:34 +0000 (13:35 +0100)]
Start new release
Loïc Minier [Tue, 14 Jul 2009 12:34:58 +0000 (13:34 +0100)]
releasing version 0.6.0-4
Loïc Minier [Tue, 14 Jul 2009 12:34:22 +0000 (13:34 +0100)]
Don't build the testsuite with -fPIE on armel; LP: #398403.
Scott James Remnant [Tue, 14 Jul 2009 12:31:40 +0000 (13:31 +0100)]
releasing version 0.6.0-3