summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-25job: avoid recursion into transaction code from job cancelationMichal Schmidt
I hit an "assert(j->installed)" failure in transaction_apply(). Looking into the backtrace I saw what happened: 1. The system was booting. var.mount/start was an installed job. 2. I pressed Ctrl+Alt+Del. 3. reboot.target was going to be isolated. 4. transaction_apply() proceeded to install a var.mount/stop job. 5. job_install() canceled the conflicting start job. 6. Depending jobs ended recursively with JOB_DEPENDENCY, among them was local-fs.target/start. 7. Its OnFailure action triggered - emergency.target was now going to be isolated. 8. We recursed back into transaction_apply() where the half-installed var.mount/stop job confused us. Recursing from job installation back into the transaction code cannot be a good idea. Avoid the problem by canceling the conflicting job non-recursively in job_install(). I don't think we'll miss anything by not recursing here. After all, we are called from transaction_apply(). We will not be installing just this one job, but all jobs from a transaction. All requirement dependencies will be included in it and will be installed separately. Every transaction job will get a chance to cancel its own conflicting installed job.
2012-10-25job: add comments to JobResult valuesMichal Schmidt
2012-10-25update TODOLennart Poettering
2012-10-25journal: properly serialize fields with multiple values into JSONLennart Poettering
This now matches the JSON serialization spec from: http://www.freedesktop.org/wiki/Software/systemd/json
2012-10-24remove Fedora hostname, locale, vconsole legacy file supportKay Sievers
2012-10-24man: udev - add 'udevadm hwdb --update'Kay Sievers
2012-10-24journalctl: remove left-over log messageLennart Poettering
2012-10-24update TODOLennart Poettering
2012-10-23units: don't order tmp.monut after local-fs-pre.targetTom Gundersen
Since tmp.mount is a tmpfs this is not necesary, and should speed up boot marginally.
2012-10-23man: fix typo in tmpfiles.dTom Gundersen
Reported-by: Jason St. John <jstjohn@purdue.edu>
2012-10-23tmpfiles: allow Age to be set to 0Tom Gundersen
Mostly useful for testing purposes. Setting Age to 1s works just as well, but it is surprising that using 0s (or just 0) does not work. Also clarify this in the documentation.
2012-10-23update TODOLennart Poettering
2012-10-23cgls: correctly ellipsize command lines for PIDs >= 1000000Mantas Mikulėnas
2012-10-23rules: Remove HP iLO from USB HID PM rulesTony Camuso
HP iLO fw versions below 1.50 incorrectly report that HP iLO virtual Kbd/Mouse supports remote wakeup. With the rules change in commit 3bfc7a97b1824fcdfb738617d9a5450a20a22a0f, the HP iLO was listed for power control. In iLO fw versions less than 1.50, the iLO Kbd/Mouse become unresponsive once they are suspended. HP iLO fw versions 1.50+ correctly report that they don't support remote wakeup, which makes the rules moot in any case.
2012-10-23udev: add hardware database supportKay Sievers
2012-10-23build-sys: add check for microhttpd versionZbigniew Jędrzejewski-Szmek
2012-10-23man: reword journalctl -n descriptionZbigniew Jędrzejewski-Szmek
2012-10-23man: the corresponding LSB facility to rpcbind.target is $portmapMichael Biebl
2012-10-23update contributors listsystemd/v195Lennart Poettering
2012-10-23update TODOLennart Poettering
2012-10-23mount: make sure m->where is set before unit_add_exec_dependencies()Will Woods
If you enter unit_add_exec_dependencies with m->where = NULL, you'll very likely end up aborting somewhere under socket_needs_mount. (When systemd goes to check to see if the journald socket requires your mount, it'll do path_startswith(path, m->where)... *kaboom*) This patch should ensure that: a) both branches in mount_add_one() set m->where, and b) mount_add_extras() calls unit_add_exec_dependencies() *after* setting m->where.
2012-10-23units: use numerig signal for killing systemd, to avoid incompatibilities ↵Lennart Poettering
with procps/util-linux kill
2012-10-23units: also add journalctl suggestion to emergency.serviceLennart Poettering
More often than not we enter emergency.service due to fsck failure, so it makes sense to direct people to the journal to debug those.
2012-10-23units: suggest journalctl -b in rescue.service so that only messages from ↵Lennart Poettering
the current boot are shown
2012-10-23systemctl: refer to systemctl -n, to not overwhelm the adminLennart Poettering
2012-10-23build-sys: prepare 195Lennart Poettering
2012-10-23update TODOLennart Poettering
2012-10-22readahead: fix fd validity checkMichal Schmidt
https://bugzilla.redhat.com/show_bug.cgi?id=868603
2012-10-22shared: strbuf - add descriprionKay Sievers
2012-10-22shared: move sparse-endian.h from journalKay Sievers
2012-10-22build-sys: fix distcheckKay Sievers
2012-10-22shared: strbuf - add descriptionKay Sievers
2012-10-22udev: use strbuf to store rules stringsKay Sievers
2012-10-22shared: strbuf - add string de-duplication facilityKay Sievers
2012-10-22update .gitignoreKay Sievers
2012-10-22util: add (x)bsearch_r(), the missing counterpart of qsort_r()Kay Sievers
2012-10-21bash-completion: update journalctl for recently added flagsDave Reisner
Fixes a few minor bugs as well with flags which take arguments but for which the values can never be known.
2012-10-21configure.ac: fix typo in fallback value for KILLDave Reisner
2012-10-21hostnamectl: add more really basic system info to the status outputLennart Poettering
2012-10-21man: add man page for localectlLennart Poettering
2012-10-21journal: use le64_t instead of uint64_t where this is appropriateLennart Poettering
2012-10-20bash-completion: avoid appending space after field competionDave Reisner
Resolves the TODO, and also uses compgen's -S flag to append the trailing equals, rather than relying on an array-wide parameter expansion. Suggested-by: Ran Benita <ran234@gmail.com>
2012-10-20bash-completion: ensure iterators are locally scopedDave Reisner
Avoids leaking the 'i' variable to the user's shell session.
2012-10-20bash-completion: add completions for hostnamectlDave Reisner
2012-10-20journal: link up documentation with the file structure headerLennart Poettering
2012-10-20update TODOLennart Poettering
2012-10-20bash-completion: add completions for localectlDave Reisner
2012-10-20bash-completion: add completions for timedatectlDave Reisner
2012-10-19shared/install: fix typo in commentChristian Hesse
2012-10-19systemctl: fix return code in chrootChristian Hesse
If 'systemctl enable' (and friends) is run inside chroot it always exits with a bad return code. unit_file_enable() returns the number of symlink rules that were supposed to be created. So resetting r to 0 and exiting gracefully should be the correct way.