summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* hashmap: size hashmap bucket array dynamicallyLennart Poettering2013-10-01
| | | | | | | | | | Instead of fixing the hashmap bucket array to 127 entries dynamically size it, starting with a smaller one of 31. As soon as a fill level of 75% is reached, quadruple the size, and so on. This should siginficantly optimize the lookup time in large tables (from O(n) back to O(1)), and save memory on smaller tables (which most are).
* local: fix memory leak when putting together locale settingsLennart Poettering2013-10-01
| | | | | | | | | Also, we need to use proper strv_env_xyz() calls when putting together the environment array, since otherwise settings won't be properly overriden. And let's get rid of strv_appendf(), is overkill and there was only one user.
* main: don't free fds array twiceLennart Poettering2013-10-01
|
* logs-show.c: show all messages for a sliceZbigniew Jędrzejewski-Szmek2013-10-01
|
* build-sys: link libsystemd-login with libsystemd-label.laMichał Górny2013-10-01
| | | | | | | | libsystemd-login.la uses cg_create() that currently seems to be a part of libsystemd-label.la. However, it doesn't link against that library and it seems that none of the (unconditional) libraries it uses do. In the end, people end up getting «undefined reference to `cg_create'» when trying to build e.g. dbus.
* man: mention the systemd homepage from systemd(1)Lennart Poettering2013-09-30
|
* update TODOLennart Poettering2013-09-30
|
* man: link cgroups api docs from relevant man pagesLennart Poettering2013-09-30
|
* set IgnoreOnIsolate=true for systemd-cryptsetup@.serviceAndrey Borzenkov2013-09-29
| | | | | | | | | When crypttab contains noauto, cryptsetup service does not have any explicit dependencies. If service is started later manually (directly or via mount dependency) it will be stopped on isolate. mount units already have IgnoreOnIsolate set by default. Set it by default for cryptsetup units as well.
* Fix buffer overrun when enumerating filesZbigniew Jędrzejewski-Szmek2013-09-29
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=69887 Based-on-a-patch-by: Hans Petter Jansson <hpj@copyleft.no>
* kmod-static-nodes: condition execution on modules.devnameDave Reisner2013-09-28
|
* Add a bit more explicit message, to help confused usersMichael Scherer2013-09-27
| | | | | | | Seeing http://www.happyassassin.net/2013/09/27/further-sysadmin-adventures-wheres-my-freeipa-badge/ it seems that the default message is a bit confusing for people who never encountered it before, so adding a link to the manpage could help them.
* kernel-install: avoid using 'cp --preserve'Tom Gundersen2013-09-27
| | | | Force 0644 and root:root instead, to avoid problems with fat filesystems.
* build-sys: restore detection of sphinxZbigniew Jędrzejewski-Szmek2013-09-27
|
* Do not use unitialized variable and remove duplicated lineZbigniew Jędrzejewski-Szmek2013-09-27
|
* Update TODOLennart Poettering2013-09-27
|
* swap: properly expose timeout property on the busLennart Poettering2013-09-27
|
* dbus: fix introspection for TimerSlackNSecLennart Poettering2013-09-27
|
* systemctl: make sure set-property mangles unit namesLennart Poettering2013-09-27
|
* man: drop references to "cgroup" wher appropriateLennart Poettering2013-09-27
| | | | | | | | | | | Since cgroups are mostly now an implementation detail of systemd lets deemphasize it a bit in the man pages. This renames systemd.cgroup(5) to systemd.resource-control(5) and uses the term "resource control" rather than "cgroup" where appropriate. This leaves the word "cgroup" in at a couple of places though, like for example systemd-cgtop and systemd-cgls where cgroup stuff is at the core of what is happening.
* core: drop some out-of-date references to cgroup settingsLennart Poettering2013-09-26
|
* logind: never consider a closing session relevant for PK checksLennart Poettering2013-09-26
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1010215
* main: set umask before creating any filesMike Gilbert2013-09-26
| | | | | | This avoids a problem when we inherit a non-zero umask from the initramfs. This would cause /run/systemd to be created with the wrong mode.
* logind: if a user is sitting in front of the computer and can shutdown the ↵Lennart Poettering2013-09-26
| | | | machine anyway he should also be able to reboot it
* core: rework how we match mount units against each otherLennart Poettering2013-09-26
| | | | | | | | | | | | | | | | | | | | | | | Previously to automatically create dependencies between mount units we matched every mount unit agains all others resulting in O(n^2) complexity. On setups with large amounts of mount units this might make things slow. This change replaces the matching code to use a hashtable that is keyed by a path prefix, and points to a set of units that require that path to be around. When a new mount unit is installed it is hence sufficient to simply look up this set of units via its own file system paths to know which units to order after itself. This patch also changes all unit types to only create automatic mount dependencies via the RequiresMountsFor= logic, and this is exposed to the outside to make things more transparent. With this change we still have some O(n) complexities in place when handling mounts, but that's currently unavoidable due to kernel APIs, and still substantially better than O(n^2) as before. https://bugs.freedesktop.org/show_bug.cgi?id=69740
* unit-name: when escaping a path consider the empty path identical to the ↵Lennart Poettering2013-09-26
| | | | root dir
* util: properly handle the root dir in PATH_FOREACH_PREFIXLennart Poettering2013-09-26
| | | | | Also add PATH_FOREACH_PREFIX_MORE which includes the specified dir itself in the iteration
* cgroup: when referencing cgroup controller trees allow omission of the pathLennart Poettering2013-09-26
|
* Move part of logind.c into a separate fileZbigniew Jędrzejewski-Szmek2013-09-26
| | | | | | | | liblogind-core.la was underlinked, missing a few functions defined in logind.c. They are moved to a new file, logind-core.c, and this file is linked into liblogind-core.la. In addition, logind-acl.c is attached to the liblogind-core.la, instead of systemd-logind directly.
* Move functions around to fix underlinking in test-machine-tablesZbigniew Jędrzejewski-Szmek2013-09-26
|
* build-sys: add ./configure --enable-address-sanitizerZbigniew Jędrzejewski-Szmek2013-09-26
| | | | | | | | | Enabling address sanitizer seems like a useful thing, but is quite tricky. Proper flags have to be passed to CPPFLAGS, CFLAGS and LDFLAGS, but passing them on the commandline doesn't work because we tests are done with ld directly, and not with libtool like in real linking. We might want to fix this, but let's add a handy way to enable address checking anyway.
* journald: accept EPOLLERR from /dev/kmsgZbigniew Jędrzejewski-Szmek2013-09-26
| | | | Also print out unexpected epoll events explictly.
* test-hashmap: fix access to uninitialized memoryZbigniew Jędrzejewski-Szmek2013-09-26
|
* execute.c: little modernizationZbigniew Jędrzejewski-Szmek2013-09-26
|
* util: add macro for iterating through all prefixes of a pathLennart Poettering2013-09-25
| | | | Syntactic sugar in a macro PATH_FOREACH_PREFIX.
* keymap: Add Samsung Ativ 9 PlusJimmie Tauriainen2013-09-25
| | | | https://launchpad.net/bugs/1229936
* cgroup: if we do a cgroup operation then do something on all supported ↵Lennart Poettering2013-09-25
| | | | | | | | | | | | | controllers Previously we did operations like attach, trim or migrate only on the controllers that were enabled for a specific unit. With this changes we will now do them for all supproted controllers, and fall back to all possible prefix paths if the specified paths do not exist. This fixes issues if a controller is being disabled for a unit where it was previously enabled, and makes sure that all processes stay as "far down" the tree as groups exist.
* journalctl(1): s/adm/systemd-journal/Dave Reisner2013-09-24
|
* logind: return -EINVAL when PID is wrongLukas Nykryn2013-09-24
| | | | | | | | | dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.GetUserByPID uint32:0 causes systemd-logind[29843]: Assertion 'pid >= 1' failed at src/login/logind.c:938, function manager_get_user_by_pid(). Aborting.
* TODO: add header backKay Sievers2013-09-24
|
* hwdb: updateKay Sievers2013-09-24
|
* support acpi firmware performance data (FPDT)Kay Sievers2013-09-24
| | | | | | | | | | Prefer firmware-provided performance data over loader-exported ones; if ACPI data is available, always use it, otherwise try to read the loader data. The firmware-provided variables start at the time the first EFI image is executed and end when the operating system exits the boot services; the (loader) time calculated in systemd-analyze increases.
* shared: device-nodes - add include guardKay Sievers2013-09-24
|
* TODO: updateKay Sievers2013-09-24
|
* cgroup: always enable memory.use_hierarchy= for all cgroups in the memory ↵Lennart Poettering2013-09-23
| | | | | | | | hierarchy The non-hierarchial mode contradicts the whole idea of a cgroup tree so let's not support this. In the future the kernel will only support the hierarchial logic anyway.
* Fix obsolete references to systemd-random-seed-load.serviceEelco Dolstra2013-09-23
| | | | | This service was merged with systemd-random-seed-save.service in c35b956d34bbb8bb208e49e45de2c103ca11911c.
* completion/systemctl: add missing list-sockets verbDave Reisner2013-09-20
|
* logind: put correct user object paths in introspection dataMantas Mikulėnas2013-09-20
| | | | Sync with user_bus_path() in logind-user-dbus.c
* man: mention --runtime where appropriateZbigniew Jędrzejewski-Szmek2013-09-19
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1009956
* keymap: Fix wrong assignments to F23Martin Pitt2013-09-19
| | | | | | | | | These days, F21/F22/F23 mean Touchpad toggle/on/off. Clean up other assignments to that from ancient times which belong to keys like "Auto Brightness" (which doesn't have a keycode and is usually hardwired) or some "launch vendor tool" key. https://bugs.freedesktop.org/show_bug.cgi?id=62953