Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-22 | transaction: add missing emacs and license headers | Lennart Poettering | |
2012-04-22 | machine-id: fix spelling | Lennart Poettering | |
2012-04-22 | util: unify getenv() logic for other PID | Lennart Poettering | |
2012-04-22 | nspawn: add --uuid= switch to allow setting the machine id for the container | Lennart Poettering | |
2012-04-22 | units: don't try to load kernel modules if CAP_SYS_MODULE is missing | Lennart Poettering | |
2012-04-22 | units: skip root fsck if the root directory is writable | Lennart Poettering | |
2012-04-22 | nspawn: add -b switch to automatically look for an init binary | Lennart Poettering | |
2012-04-22 | default to v102 everywhere, instead of vt100, to synchronize with agetty | Lennart Poettering | |
2012-04-22 | login: assing /dev/console logins to seat0 | Lennart Poettering | |
2012-04-22 | container: spawn a getty instead of a sulogin in a container | Lennart Poettering | |
2012-04-22 | loginctl: avoid segfault for kill-session and kill-user commands | Lennart Poettering | |
As reported by Mantas Mikulėnas. http://lists.freedesktop.org/archives/systemd-devel/2012-April/004993.html | |||
2012-04-22 | util: fix tty_is_vc_resolve() in a container where ↵ | Lennart Poettering | |
/sys/class/tty/console/active is misleading | |||
2012-04-22 | log: include syslog identifier in default log properties, to avoid comm ↵ | Lennart Poettering | |
truncation | |||
2012-04-22 | nspawn: be more careful when initializing the hostname from the directory name | Lennart Poettering | |
2012-04-22 | mount-setup: ignore common container bind mounts | Lennart Poettering | |
2012-04-22 | update TODO | Lennart Poettering | |
2012-04-22 | nspawn: make /dev/kmsg unavailable in the container, but allow access to ↵ | Lennart Poettering | |
/proc/kmsg | |||
2012-04-21 | watchdog: fix default configuration fragment for watchdog | Lennart Poettering | |
2012-04-21 | man: doc-sync - properly delete no longer existing stuff on remote server | Kay Sievers | |
2012-04-20 | transaction: add starting requirements for JOB_RESTART | Michal Schmidt | |
While having a Requires= dependency between units, the dependency is started automatically on "systemctl start", but it's not started on "systemctl restart". JOB_RESTART jobs did not pull the dependencies for starting into the transaction. https://bugzilla.redhat.com/show_bug.cgi?id=802770 Note that the other bug noted in comment #2 has been fixed already by avoiding the deletion of anchor jobs. | |||
2012-04-20 | dbus-job: allow multiple bus clients | Michal Schmidt | |
Merging of jobs can result in more than one client being interested in a job. | |||
2012-04-20 | transaction: remove checks for installed | Michal Schmidt | |
Transactions cannot contain installed jobs anymore. Remove the now pointless checks. | |||
2012-04-20 | transaction: rework merging with installed jobs | Michal Schmidt | |
Previously transactions could reference installed jobs. It made some issues difficult to fix. This sets new rules for jobs: A job cannot be both a member of a transaction and installed. When jobs are created, they are linked to a transaction. The whole transaction is constructed (with merging of jobs within, etc.). When it's complete, all the jobs are unlinked from it one by one and let to install themselves. It is during the installation when merging with previously installed jobs (from older transactions) is contemplated. Merging with installed jobs has different rules than merging within a transaction: - An installed conflicting job gets cancelled. It cannot be simply deleted, because someone might be waiting for its completion on DBus. - An installed, but still waiting, job can be safely merged into. - An installed and running job can be tricky. For some job types it is safe to just merge. For the other types we merge anyway, but put the job back into JOB_WAITING to allow it to run again. This may be suboptimal, but it is not currently possible to have more than one installed job for a unit. Note this also fixes a bug where the anchor job could be deleted during merging within the transaction. | |||
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 | |