Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-20 | job: separate job_install() | Michal Schmidt | |
Let the jobs install themselves. | |||
2012-04-20 | transaction: remove a couple of asserts | Michal Schmidt | |
We already asserted these facts in the previous loop. | |||
2012-04-20 | transaction: remove the anchor link | Michal Schmidt | |
tr->anchor_job is sufficient. | |||
2012-04-20 | transaction: avoid garbage collecting the anchor job | Michal Schmidt | |
Make sure the anchor job is never considered garbage, even if it has no links leading to it (this will be allowed in the next patch). | |||
2012-04-20 | transaction: simplify transaction_find_jobs_that_matter_to_anchor() | Michal Schmidt | |
2012-04-20 | transaction: change the linking of isolate jobs to the anchor | Michal Schmidt | |
When isolating, the JOB_STOP jobs have no parent job, so they are all peers of the real anchor job. This is a bit odd. Link them from the anchor job. | |||
2012-04-20 | transaction: maintain anchor_job | Michal Schmidt | |
Track which job is the anchor in the transaction. | |||
2012-04-20 | transaction: do not add installed jobs to the transaction | Michal Schmidt | |
Do not attempt to optimize away the job creation by refering to installed jobs. We do not want to disturb installed jobs until commiting the transaction. (A later patch to job merging will make the separation of transaction jobs and installed jobs complete.) | |||
2012-04-20 | job: jobs shouldn't need to know about transaction anchors | Michal Schmidt | |
Let the transactions maintain their own anchor links. | |||
2012-04-20 | job: job_new() can find the manager from the unit | Michal Schmidt | |
2012-04-20 | manager: split transaction.[ch] | Michal Schmidt | |
manager.c takes care of the main loop, unit management, signal handling, ... transaction.c computes transactions. After split: manager.c: 65 KB transaction.c: 40 KB | |||
2012-04-20 | manager: Transaction as an object | Michal Schmidt | |
This makes it obvious that transactions are short-lived. They are created in manager_add_job() and destroyed after the application of jobs. It also prepares for a split of the transaction code to a new source. | |||
2012-04-20 | job: job_uninstall() | Michal Schmidt | |
Split the uninstallation of the job from job_free() into a separate function. Adjust the callers. job_free() now only works on unlinked and uninstalled jobs. This enforces clear thinking about job lifetimes. | |||
2012-04-20 | manager: simplify transaction_abort() | Michal Schmidt | |
This is equivalent. | |||
2012-04-20 | job: allow job_free() only on already unlinked jobs | Michal Schmidt | |
job_free() is IMO too helpful when it unlinks the job from the transaction. The callers should ensure the job is already unlinked before freeing. The added assertions check if anyone gets it wrong. | |||
2012-04-20 | manager: fix comment | Michal Schmidt | |
2012-04-20 | tmpfiles: fix error message | Michal Schmidt | |
2012-04-20 | docs: remove duplicated install hook | Kay Sievers | |
2012-04-20 | log: fix LOG_TARGET_JOURNAL_OR_KMSG | Lennart Poettering | |
2012-04-20 | mount-setup: don't log with LOG_ERROR if a mount that doesn't matter fails | Lennart Poettering | |
2012-04-20 | main: log to the journal in container mode, by default | Lennart Poettering | |
2012-04-20 | docs: hook-up gtk-doc to 'make check' | Kay Sievers | |
2012-04-19 | docs: rebase html documentation for online and local use | Kay Sievers | |
2012-04-19 | docs: do not generate tmpl files | Javier Jardón | |
Its not needed as all the documentation is inline source code, not in separate *.tmpl files | |||
2012-04-19 | fix typo in src/shared/install.c | Sven Anders | |
2012-04-18 | update TODO | Kay Sievers | |
2012-04-18 | udev: units - reference systemd-* units | Kay Sievers | |
2012-04-18 | build-sys: move dev-setup to label.la | Kay Sievers | |
2012-04-18 | remove MS_* which can not be combined with current kernel code | Kay Sievers | |
MS_BIND|MS_MOVE can not be combined: do_mount() else if (flags & MS_BIND) do_loopback(&path, dev_name, flags & MS_REC); [...] else if (flags & MS_MOVE) do_move_mount(&path, dev_name); MS_REMOUNT|MS_UNBINDABLE can not be combined: do_mount() if (flags & MS_REMOUNT) do_remount(&path, flags & ~MS_REMOUNT, mnt_flags, data_page); [...] else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) do_change_type(&path, flags); | |||
2012-04-17 | udev: unify /dev static symlink setup | Kay Sievers | |
2012-04-17 | udev: docs - updated index page to match common gtk style | Kay Sievers | |
2012-04-17 | update TODO | Kay Sievers | |
2012-04-17 | silence a bunch of gcc warnings | Kay Sievers | |
2012-04-17 | build-sys: silence gtk-doc check, remove gtk-doc options from configure and ↵ | Kay Sievers | |
distcheck | |||
2012-04-17 | build-sys: make gtk-doc dependency optional | Javier Jardón | |
2012-04-17 | update TODO | Kay Sievers | |
2012-04-17 | selinux: unify systemd and udev code | Kay Sievers | |
2012-04-17 | mkdir: do not use alloca() in a loop | Kay Sievers | |
2012-04-17 | update .gitignore | Lennart Poettering | |
2012-04-17 | configure.ac: Use a auxiliar directory to store autogenerated files | Javier Jardón | |
2012-04-17 | configure.ac: Use the new autoconf field to set the project webpage | Javier Jardón | |
2012-04-17 | update TODO | Lennart Poettering | |
2012-04-17 | man: Fix a few typos | Michael Biebl | |
Reported-by: A. Costa <agcosta@gis.net> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668344 | |||
2012-04-17 | Fix typo | Tollef Fog Heen | |
2012-04-17 | update TODO | Kay Sievers | |
2012-04-17 | udev: kill udev_selinux_setfscreateconat() | Kay Sievers | |
2012-04-17 | udev: replace util_create_path() with mkdir_parents() | Kay Sievers | |
2012-04-17 | udev: install udevd as /usr/lib/systemd/systemd-udevd | Kay Sievers | |
2012-04-16 | udev: use startswith() and streq() | Kay Sievers | |
2012-04-16 | udev: remove configuration options for /dev, /sys, /run directories | Kay Sievers | |