summaryrefslogtreecommitdiff
path: root/src/job.c
AgeCommit message (Collapse)Author
2011-11-11job: colored status messages on bootMichal Schmidt
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 Schmidt
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 Poettering
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 Poettering
2011-04-07unit: introduce OnFailureIsolate=Lennart Poettering
2011-04-06job: fix deserialization of jobs: do not ignore orderingLennart Poettering
2011-03-08job: introduce new job result code 'skipped' to use when pre conditions of ↵Lennart Poettering
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 Poettering
2011-02-28Spelling CorrectionsHarald Hoyer
Just some lame spelling corrections with no functionality.
2011-02-24job: also trigger on-failure dependencies when jobs faile due to ↵Lennart Poettering
dependencies, timeout
2011-02-24job: don't access j->type when j is already freedLennart Poettering
2011-02-24job: start job timeout on enqueuing not when we start to process a jobLennart Poettering
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 Poettering
2011-02-23job: start job timer when we begin running the job, not already when we add ↵Lennart Poettering
it to the queue of jobs
2011-02-16systemctl: introduce --ignore-dependenciesLennart Poettering
2011-02-14job: make status message printing more verboseLennart Poettering
2010-11-18job: make sure we don't fail umount.target if a mount unit failed to stopLennart Poettering
2010-11-14job: make it possible to wait for devices to be unpluggedLennart Poettering
2010-10-29job: recursively fail BoundBy dependenciesLennart Poettering
2010-10-29unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵Lennart Poettering
weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
2010-09-27job: show failure message only for start jobsLennart Poettering
2010-09-23dbus: export number of total failed jobs on D-Bus interfaceLennart Poettering
2010-09-21manager: measure startup timesLennart Poettering
2010-08-31manager: add missing second part of s/maintenance/failed/Matthew Miller
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-13job: don't accidently access a job that doesn't exist anymoreLennart Poettering
2010-08-11gc: remove a lot of unused codeLennart Poettering
2010-08-09manager: when two pending jobs conflict, keep the one that "conflicts", ↵Lennart Poettering
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 Poettering
start jobs
2010-07-17job: timeout every job independently of the unitLennart Poettering
2010-07-12unit: introduce IgnoreDependencyFailure=Lennart Poettering
2010-07-08job: when converting restart jobs, move them to WAITING stateLennart Poettering
2010-07-07unit: don't cancel dependent jobs if a stopped daemon returned an error codeLennart Poettering
2010-07-07manager: optionally print status updates to console on bootLennart Poettering
2010-07-05dbus: send signals about jobs to the clients having created them ↵Lennart Poettering
unconditionally, and thus get rid of broadcast signals in most cases
2010-07-01unit: shorten active state enums to make systemctl output nicerLennart Poettering
2010-07-01unit: add new abstracted maintenance state for unitsLennart Poettering
2010-05-22systemctl: add --block switch for synchronous starting of unitsLennart Poettering
2010-05-20job: don't show (null) prefix in dumpLennart Poettering
2010-05-16build-sys: move source files to subdirectoryLennart Poettering