summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2012-04-25core: add NOP jobs, job type collapsingMichal 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-25timedated: 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-24remount: consolidate remount-api-vfs and remount-rootfs into oneLennart Poettering
This has the advantage of removing a confusing warning by mount if the root directory is not listed in fstab.
2012-04-22container: spawn a getty instead of a sulogin in a containerLennart Poettering
2012-04-22nspawn: make /dev/kmsg unavailable in the container, but allow access to ↵Lennart Poettering
/proc/kmsg
2012-04-21man: doc-sync - properly delete no longer existing stuff on remote serverKay Sievers
2012-04-20manager: 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-19docs: rebase html documentation for online and local useKay Sievers
2012-04-18build-sys: move dev-setup to label.laKay Sievers
2012-04-17udev: unify /dev static symlink setupKay Sievers
2012-04-17build-sys: silence gtk-doc check, remove gtk-doc options from configure and ↵Kay Sievers
distcheck
2012-04-17build-sys: make gtk-doc dependency optionalJavier Jardón
2012-04-17selinux: unify systemd and udev codeKay Sievers
2012-04-17udev: replace util_create_path() with mkdir_parents()Kay Sievers
2012-04-17udev: install udevd as /usr/lib/systemd/systemd-udevdKay Sievers
2012-04-16udev: use startswith() and streq()Kay Sievers
2012-04-16udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers
2012-04-16logind: add shutdown/suspend/idle inhibition frameworkLennart Poettering
2012-04-14udev: move all unconditionally installed rules to rules/Kay Sievers
2012-04-14udev: keymap - move src/udev/force-release-maps/ to keymaps-force-release/Kay Sievers
2012-04-14udev: test - move test/ and src/test/Kay Sievers
2012-04-14build-sys: silence the xsltproc outputKay Sievers
2012-04-13build-sys: add 'make doc-sync' targetKay Sievers
2012-04-13udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/Kay Sievers
2012-04-13keymap: Add Dell XPS force-release quirkMartin Pitt
https://launchpad.net/bugs/910911
2012-04-13udev: unpack sysfs test tree only on 'make check'; fix test-udev binary locationKay Sievers
2012-04-13udev: keymap - move data files to root directoryKay Sievers
2012-04-13udev: fix a few issues detected by the llvm static analyzerKay Sievers
2012-04-13build-sys: drop systemd- prefix from analyze dirLennart Poettering
2012-04-13build-sys: execute test programs with 'make check'Kay Sievers
2012-04-13udev: use native instead of custom --disable-introspection logicKay Sievers
2012-04-13udev: link some systemd parts statically to limit shared libararies ↵Kay Sievers
dependencies for standalone use
2012-04-12build-sys: move systemd-analyze into its own subdirLennart Poettering
2012-04-12udev: properly hook up all tests to 'make check'Kay Sievers
2012-04-12build-sys: use check_PROGRAMS for test-*.cKay Sievers
2012-04-12build-sys: remove $(DBUS_LIBS), libsystemd-dbus.la pulls it inKay Sievers
2012-04-12pam_systemd: add dbus.laKay Sievers
2012-04-12build-sys: move src/linux/ to src/shared/linuxLennart Poettering
2012-04-12build-sys: create top-level directory for bash completionLennart Poettering
2012-04-12build-sys: move *-setup out of shared to avoid selinux being pulled inLennart Poettering
2012-04-12move all tools to subdirsKay Sievers
2012-04-12machine-id-setup: avoid cyclic dependency, built twice insteadLennart Poettering
2012-04-12build-sys: split off logs-show into its own convenience libraryLennart Poettering
2012-04-12build-sys: introduce seperate convenience library for dbus stuffLennart Poettering
2012-04-12move libsystemd-id128, libsystemd-daemon to subdirKay Sievers
2012-04-12move remainig shared stuff to shared/Kay Sievers
2012-04-12detect-virt: make detect-virt an official commandLennart Poettering
2012-04-12rename bridge.c to stdio-bridge.c and move to subdirKay Sievers
2012-04-12main: we want all setup functions to be in files called xxx-setup.[ch]Lennart Poettering
2012-04-12move more main systemd parts to core/Kay Sievers