summaryrefslogtreecommitdiff
path: root/src/job.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-11job: colored status messages on bootMichal Schmidt1-6/+7
The lack or green/red status marks on boot has been described by some users as "critical", "dramatic", "dealbreaker", "showstopper". Seriously.
2011-10-17manager: fix a crash in isolatingMichal Schmidt1-5/+14
HASHMAP_FOREACH is safe against the removal of the current entry, but not against the removal of other entries. job_finish_and_invalidate() can recursively remove other entries. It triggered an assertion failure: Assertion 'j->installed' failed at src/manager.c:1218, function transaction_apply(). Aborting. Fix the crash by iterating from the beginning when there is a possibility that the iterator could be invalid. It is O(n^2) in the worst case, but that's better than a crash. https://bugzilla.redhat.com/show_bug.cgi?id=717325
2011-09-21job: after converting a job from restart to start readd it to run queueLennart Poettering1-1/+4
When we converted a restart job it's time to look again whether any of its dependencies are now runnable. https://bugzilla.redhat.com/show_bug.cgi?id=735013
2011-04-16job: also print status messages when we successfully started a unitLennart Poettering1-6/+47
2011-04-07unit: introduce OnFailureIsolate=Lennart Poettering1-1/+7
2011-04-06job: fix deserialization of jobs: do not ignore orderingLennart Poettering1-2/+3
2011-03-08job: introduce new job result code 'skipped' to use when pre conditions of ↵Lennart Poettering1-1/+4
job did not apply https://bugzilla.redhat.com/show_bug.cgi?id=682245 https://bugzilla.redhat.com/show_bug.cgi?id=635780
2011-03-08job: convert job type as early as we can, to simplify things a bitLennart Poettering1-3/+11
2011-02-28Spelling CorrectionsHarald Hoyer1-1/+1
Just some lame spelling corrections with no functionality.
2011-02-24job: also trigger on-failure dependencies when jobs faile due to ↵Lennart Poettering1-0/+7
dependencies, timeout
2011-02-24job: don't access j->type when j is already freedLennart Poettering1-3/+3
2011-02-24job: start job timeout on enqueuing not when we start to process a jobLennart Poettering1-2/+0
This practically reverses 23e1e0c4a3bc93fb841ac9575953ed5d0ef5282d. This makes it easier to timeout individual jobs so that this timeout can be relied on, since blocked dependencies will not influence the timeout.
2011-02-24dbus: pass along information why a job failed when it failed (dbus api change!)Lennart Poettering1-16/+31
2011-02-23job: start job timer when we begin running the job, not already when we add ↵Lennart Poettering1-0/+2
it to the queue of jobs
2011-02-16systemctl: introduce --ignore-dependenciesLennart Poettering1-3/+8
2011-02-14job: make status message printing more verboseLennart Poettering1-1/+1
2010-11-18job: make sure we don't fail umount.target if a mount unit failed to stopLennart Poettering1-1/+1
2010-11-14job: make it possible to wait for devices to be unpluggedLennart Poettering1-0/+8
2010-10-29job: recursively fail BoundBy dependenciesLennart Poettering1-0/+7
2010-10-29unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵Lennart Poettering1-14/+3
weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
2010-09-27job: show failure message only for start jobsLennart Poettering1-1/+1
2010-09-23dbus: export number of total failed jobs on D-Bus interfaceLennart Poettering1-1/+5
2010-09-21manager: measure startup timesLennart Poettering1-0/+2
2010-08-31manager: add missing second part of s/maintenance/failed/Matthew Miller1-3/+3
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering1-1/+1
2010-08-13job: don't accidently access a job that doesn't exist anymoreLennart Poettering1-7/+18
2010-08-11gc: remove a lot of unused codeLennart Poettering1-24/+0
2010-08-09manager: when two pending jobs conflict, keep the one that "conflicts", ↵Lennart Poettering1-1/+10
remove the one that is "conflicted" This gives the writer of units control which unit is kept and which is stopped when two units conflict.
2010-07-21job: make sure restart jobs are readded to the run queue after conversion to ↵Lennart Poettering1-0/+2
start jobs
2010-07-17job: timeout every job independently of the unitLennart Poettering1-2/+68
2010-07-12unit: introduce IgnoreDependencyFailure=Lennart Poettering1-3/+6
2010-07-08job: when converting restart jobs, move them to WAITING stateLennart Poettering1-2/+3
2010-07-07unit: don't cancel dependent jobs if a stopped daemon returned an error codeLennart Poettering1-1/+1
2010-07-07manager: optionally print status updates to console on bootLennart Poettering1-0/+3
2010-07-05dbus: send signals about jobs to the clients having created them ↵Lennart Poettering1-4/+4
unconditionally, and thus get rid of broadcast signals in most cases
2010-07-01unit: shorten active state enums to make systemctl output nicerLennart Poettering1-7/+7
2010-07-01unit: add new abstracted maintenance state for unitsLennart Poettering1-3/+4
2010-05-22systemctl: add --block switch for synchronous starting of unitsLennart Poettering1-1/+2
2010-05-20job: don't show (null) prefix in dumpLennart Poettering1-2/+3
2010-05-16build-sys: move source files to subdirectoryLennart Poettering1-0/+589