summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-08autogen.sh: undef _FORTIFY_SOURCE, which now logs warnings when used with -O0Kay Sievers
2012-05-08util: split-out path-util.[ch]Kay Sievers
2012-05-08util: split-out hwclock.[ch]Kay Sievers
2012-05-07logind: fix memory leakFrederic Crozat
2012-05-07update TODOLennart Poettering
2012-05-07Update TODOLennart Poettering
2012-05-07util: split-out conf-file.[ch]Kay Sievers
2012-05-07udev: path_id - skip PCI-only-parents for block devicesKay Sievers
2012-05-07udev: use conf_files_list() to search rules filesKay Sievers
2012-05-07conf_files_list(): split out conf_files_list_strv()Kay Sievers
2012-05-07conf_files_list(): files-add() - do not canonicalize file namesKay Sievers
File names in /etc, /run, /usr/lib are sorted/overridden by basename. Sorting things like "/dev/null" with the basename "null" in the hash of config files breaks the ordering and the overriding logic.
2012-05-05logind: implement delay inhibitor locks in addition to block inhibitor locksLennart Poettering
This is useful to allow applications to synchronously save data before the system is suspended or shut down.
2012-05-04update TODOKay Sievers
2012-05-04udev: fix the ENV{} blacklist logicKay Sievers
2012-05-04systemctl: fix typoLennart Poettering
as Sergey Ptashnick pointed out we should write "poweroff" once instead of "reboot" twice.
2012-05-04systemd-analyze: add a --user option to support user instancesPatrick McCarty
2012-05-04man: clarify _TRANSPORTShawn Landden
"resp." where it was confuses reader that stdout and stderr might go to differn't places
2012-05-04update TODOLennart Poettering
2012-05-04readahead: store inode numbers in pack fileLennart Poettering
If the inode nr for each file is available in the pack file we can easily detect replaced files (like they result from package upgrades) which we can then skip to readahead.
2012-05-04units: use OOMScoreAdjust= in the unit files to set OOM score adjustLennart Poettering
2012-05-04readhead: temporarily lower the kernel's read_ahead_kb setting while collectingLennart Poettering
While collecting readahead data we want to know exactly what userspace accesses unblurred by the kernel's read_ahead_kb. Hence lower this during collection, and raise it afterwards. This is mostly based on ideas and code by Auke Kok.
2012-05-03cgroup: fix alloca() misuse in cg_shorten_controllers()Lennart Poettering
2012-05-03dbus: handle invalid enum values betterLennart Poettering
2012-05-03dbus: include unit name in JobNew/JobRemoved signalsLennart Poettering
This breaks D-Bus interface slightly, but since the D-Bus API isn't covered by the interface stability promise this should be OK.
2012-05-03service: explicitly remove control/ subcgroup after each control commandLennart Poettering
The kernel will only notify us of cgroups running empty if no subcgroups exist anymore. Hence make sure we don't leave our own control/ subcgroup around longer than necessary. https://bugzilla.redhat.com/show_bug.cgi?id=818381
2012-05-03systemctl: allow 'systemctl reboot -ff' to succeed even without D-BusLennart Poettering
2012-05-03systemctl: print a nice error message if an unprivileged user calls ↵Lennart Poettering
systemctl reboot -ff
2012-05-03systemctl: get rid of arg_immediate and fold it into arg_forceLennart Poettering
2012-05-03rc-local-generator: hook halt-local in based on generator tooLennart Poettering
2012-05-03hwclock: add taint flag for non-local hwclockLennart Poettering
2012-05-03vconsole: fix some error messagesLennart Poettering
2012-05-03units: explicit Type=dbus is now redundantLennart Poettering
2012-05-03service: default to Type=dbus if BusName= is specifiedLennart Poettering
2012-05-03service: warn if a dbus name is specified but the service type is not dbusLennart Poettering
2012-05-03vconsole: fix error messagesLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=49192
2012-05-03update TODOLennart Poettering
2012-04-30man: fix typoKay Sievers
2012-04-30units: make sure /var is writable before initializing random seedLennart Poettering
2012-04-30TODOLennart Poettering
2012-04-30unit: add new dependency type RequiresMountsFor=Lennart Poettering
RequiresMountsFor= is a shortcut for adding requires and after dependencies to all mount units neeed for the specified paths. This solves a couple of issues regarding dep loop cycles for encrypted swap.
2012-04-30service: document new Type=idleLennart Poettering
2012-04-30update TODOLennart Poettering
2012-04-30update TODOKay Sievers
2012-04-29udev: use container_of() macroLucas De Marchi
2012-04-29util: introduce container_of() macroLucas De Marchi
This macro comes from kernel and it's useful for unwrapping structs inside another one. The generated code is actually the same to the one where this logic is used in udev, but using this macro is much cleaner and less error prone.
2012-04-26libudev: prefix log macros with 'udev_'Kay Sievers
2012-04-26update TODOKay Sievers
2012-04-26udev: use only oom_score_adj interfaceKay Sievers
2012-04-26udev: docs - it's 'GUdev'Kay Sievers
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