Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-25 | core: add NOP jobs, job type collapsing | Michal Schmidt | |
Two of our current job types are special: JOB_TRY_RESTART, JOB_RELOAD_OR_START. They differ from other job types by being sensitive to the unit active state. They perform some action when the unit is active and some other action otherwise. This raises a question: when exactly should the unit state be checked to make the decision? Currently the unit state is checked when the job becomes runnable. It's more sensible to check the state immediately when the job is added by the user. When the user types "systemctl try-restart foo.service", he really intends to restart the service if it's running right now. If it isn't running right now, the restart is pointless. Consider the example (from Bugzilla[1]): sleep.service takes some time to start. hello.service has After=sleep.service. Both services get started. Two jobs will appear: hello.service/start waiting sleep.service/start running Then someone runs "systemctl try-restart hello.service". Currently the try-restart operation will block and wait for sleep.service/start to complete. The correct result is to complete the try-restart operation immediately with success, because hello.service is not running. The two original jobs must not be disturbed by this. To fix this we introduce two new concepts: - a new job type: JOB_NOP A JOB_NOP job does not do anything to the unit. It does not pull in any dependencies. It is always immediately runnable. When installed to a unit, it sits in a special slot (u->nop_job) where it never conflicts with the installed job (u->job) of a different type. It never merges with jobs of other types, but it can merge into an already installed JOB_NOP job. - "collapsing" of job types When a job of one of the two special types is added, the state of the unit is checked immediately and the job type changes: JOB_TRY_RESTART -> JOB_RESTART or JOB_NOP JOB_RELOAD_OR_START -> JOB_RELOAD or JOB_START Should a job type JOB_RELOAD_OR_START appear later during job merging, it collapses immediately afterwards. Collapsing actually makes some things simpler, because there are now fewer job types that are allowed in the transaction. [1] Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=753586 | |||
2012-04-25 | timedated: introduce systemd-timedated-ntp.target which is controlled by ↵ | Lennart Poettering | |
timedated's NTP setting We shouldn't hardcode the name of the NTP implementation in the timedated mechanism, especially since Fedora currently switched from NTP to chrony. This patch introduces a new target that is enabled/disabled instead of the actual NTP implementation. The various NTP implementations should then add .wants/ symlinks to their services and BindTo back to the target, so that their implementations are started/stopped jointly with the target. https://bugzilla.redhat.com/show_bug.cgi?id=815748 | |||
2012-04-24 | remount: consolidate remount-api-vfs and remount-rootfs into one | Lennart Poettering | |
This has the advantage of removing a confusing warning by mount if the root directory is not listed in fstab. | |||
2012-04-22 | container: spawn a getty instead of a sulogin in a container | Lennart Poettering | |
2012-04-22 | nspawn: make /dev/kmsg unavailable in the container, but allow access to ↵ | Lennart Poettering | |
/proc/kmsg | |||
2012-04-21 | man: doc-sync - properly delete no longer existing stuff on remote server | Kay Sievers | |
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-19 | docs: rebase html documentation for online and local use | Kay Sievers | |
2012-04-18 | build-sys: move dev-setup to label.la | Kay Sievers | |
2012-04-17 | udev: unify /dev static symlink setup | 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 | selinux: unify systemd and udev code | 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 | |
2012-04-16 | logind: add shutdown/suspend/idle inhibition framework | Lennart Poettering | |
2012-04-14 | udev: move all unconditionally installed rules to rules/ | Kay Sievers | |
2012-04-14 | udev: keymap - move src/udev/force-release-maps/ to keymaps-force-release/ | Kay Sievers | |
2012-04-14 | udev: test - move test/ and src/test/ | Kay Sievers | |
2012-04-14 | build-sys: silence the xsltproc output | Kay Sievers | |
2012-04-13 | build-sys: add 'make doc-sync' target | Kay Sievers | |
2012-04-13 | udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/ | Kay Sievers | |
2012-04-13 | keymap: Add Dell XPS force-release quirk | Martin Pitt | |
https://launchpad.net/bugs/910911 | |||
2012-04-13 | udev: unpack sysfs test tree only on 'make check'; fix test-udev binary location | Kay Sievers | |
2012-04-13 | udev: keymap - move data files to root directory | Kay Sievers | |
2012-04-13 | udev: fix a few issues detected by the llvm static analyzer | Kay Sievers | |
2012-04-13 | build-sys: drop systemd- prefix from analyze dir | Lennart Poettering | |
2012-04-13 | build-sys: execute test programs with 'make check' | Kay Sievers | |
2012-04-13 | udev: use native instead of custom --disable-introspection logic | Kay Sievers | |
2012-04-13 | udev: link some systemd parts statically to limit shared libararies ↵ | Kay Sievers | |
dependencies for standalone use | |||
2012-04-12 | build-sys: move systemd-analyze into its own subdir | Lennart Poettering | |
2012-04-12 | udev: properly hook up all tests to 'make check' | Kay Sievers | |
2012-04-12 | build-sys: use check_PROGRAMS for test-*.c | Kay Sievers | |
2012-04-12 | build-sys: remove $(DBUS_LIBS), libsystemd-dbus.la pulls it in | Kay Sievers | |
2012-04-12 | pam_systemd: add dbus.la | Kay Sievers | |
2012-04-12 | build-sys: move src/linux/ to src/shared/linux | Lennart Poettering | |
2012-04-12 | build-sys: create top-level directory for bash completion | Lennart Poettering | |
2012-04-12 | build-sys: move *-setup out of shared to avoid selinux being pulled in | Lennart Poettering | |
2012-04-12 | move all tools to subdirs | Kay Sievers | |
2012-04-12 | machine-id-setup: avoid cyclic dependency, built twice instead | Lennart Poettering | |
2012-04-12 | build-sys: split off logs-show into its own convenience library | Lennart Poettering | |
2012-04-12 | build-sys: introduce seperate convenience library for dbus stuff | Lennart Poettering | |
2012-04-12 | move libsystemd-id128, libsystemd-daemon to subdir | Kay Sievers | |
2012-04-12 | move remainig shared stuff to shared/ | Kay Sievers | |
2012-04-12 | detect-virt: make detect-virt an official command | Lennart Poettering | |
2012-04-12 | rename bridge.c to stdio-bridge.c and move to subdir | Kay Sievers | |
2012-04-12 | main: we want all setup functions to be in files called xxx-setup.[ch] | Lennart Poettering | |
2012-04-12 | move more main systemd parts to core/ | Kay Sievers | |