Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-25 | cgroups-agent: down-grade log level | Lennart Poettering | |
2013-11-25 | udev: net_setup_link - don't use Description as Alias | Tom Gundersen | |
Use Description only internally, and allow Alias to be set as a separate option. For instance SNMP uses ifalias for a specific purpose, so let's not write to it by default. | |||
2013-11-25 | socket-proxyd: Add --listener option for listener/destination pairs. | David Strauss | |
2013-11-24 | core: set finish_timestamp only after all jobs have finished | Kay Sievers | |
2013-11-23 | networkd: fix build | Tom Gundersen | |
Forgot to 'git add'... | |||
2013-11-23 | networkd: use Type=notify | Tom Gundersen | |
Also start earlier during boot. | |||
2013-11-22 | bus: protected dual timestamp property macro for misusage | Lennart Poettering | |
2013-11-22 | core: don't warn loudly if we cannot send a bus signal to a disconnected client | Lennart Poettering | |
2013-11-22 | systemctl: indicate in list-dependencies whether a unit is already running | Lennart Poettering | |
2013-11-22 | service: honour that for services RestartSec=0 means immediate restarts but ↵ | Lennart Poettering | |
TimeoutSec= means no timing out at all | |||
2013-11-22 | job: fix serialization | Lennart Poettering | |
2013-11-22 | bus: when closing a bus, drop all refs to queued messages, so that the bus ↵ | Lennart Poettering | |
can be freed | |||
2013-11-22 | build-sys: move more files from core/ to share/ that are generic enough | Lennart Poettering | |
2013-11-22 | test: test-sched-prio - skip if XDG_RUNTIME_DIR is not set | Kay Sievers | |
================================= No control group support available, not creating root group. Failed to determine XDG_RUNTIME_DIR Assertion 'r >= 0' failed at src/test/test-sched-prio.c:42, function main(). Aborting. ================================= | |||
2013-11-22 | macro: fix problem with __LINE__ macro expansion | Lukasz Skalski | |
David: I already applied a fix for that, but this patch definitely looks nicer. I changed CONCATENATE_HELPER() -> XCONCATENATE() similar to XSTRINGIFY and added the UNIQUE() helper. | |||
2013-11-22 | core: fix timestamp assignment | Kay Sievers | |
2013-11-22 | macro: fix assert_cc() fallback | David Herrmann | |
We need two-level macro-expansion, otherwise __LINE__ will not get evaluated. | |||
2013-11-22 | bus: rework sd_bus_error APIs | Lennart Poettering | |
All calls that set a sd_bus_error structure will now return the same error converted to a negative errno. This may be used as syntactic sugar to return from a function and setting a bus_error structure in one go. Also, translate all Linux Exyz (EIO, EINVAL, EUCLEAN, EPIPE, ...) automatically into counterparts in the (new) "Posix.Error." namespace. If we fail to allocate memory for the components of a sd_bus_error automatically reset it to an OOM error which we always can write. | |||
2013-11-22 | cgroups: Cache controller masks and optimize queues. | David Strauss | |
2013-11-22 | bus: deal with duplicate values from enumerators | Lennart Poettering | |
2013-11-22 | event: rename sd_event_get() to sd_event_source_get_event() | Lennart Poettering | |
2013-11-22 | bus: add calls to query attached objects | Lennart Poettering | |
2013-11-22 | bus: also add error parameter to object find and enumerator callbacks | Lennart Poettering | |
Just in order to bring things inline with the method and property callbacks. | |||
2013-11-21 | bus: restore selinux access control to PID 1 for properties | Lennart Poettering | |
2013-11-21 | timer: make timer accuracy configurable | Lennart Poettering | |
And make it default to 1min | |||
2013-11-21 | core: actually make SwitchRoot() bus call do the deed | Lennart Poettering | |
2013-11-21 | core: fix serilization of ListJobs() response | Lennart Poettering | |
2013-11-21 | core: fix serialization of client tracker | Lennart Poettering | |
2013-11-21 | core: fix deserialization of StartTransientUnit() parameters | Lennart Poettering | |
2013-11-21 | bus: properly serialize unit file change list | Lennart Poettering | |
2013-11-21 | logind,machined,run: properly invoke StartTransientUnit() bus call | Lennart Poettering | |
2013-11-21 | bus: rework message handlers to always take an error argument | Lennart Poettering | |
Message handler callbacks can be simplified drastically if the dispatcher automatically replies to method calls if errors are returned. Thus: add an sd_bus_error argument to all message handlers. When we dispatch a message handler and it returns negative or a set sd_bus_error we send this as message error back to the client. This means errors returned by handlers by default are given back to clients instead of rippling all the way up to the event loop, which is desirable to make things robust. As a side-effect we can now easily turn the SELinux checks into normal function calls, since the method call dispatcher will generate the right error replies automatically now. Also, make sure we always pass the error structure to all property and method handlers as last argument to follow the usual style of passing variables for return values as last argument. | |||
2013-11-21 | hostnamed: modernizations | Lennart Poettering | |
2013-11-21 | manager: always sort environment block, it's prettier | Lennart Poettering | |
2013-11-21 | bus: the :no-sender hack is now unnecessary, since the new library doesn't ↵ | Lennart Poettering | |
require this anymore | |||
2013-11-21 | networkd: make sure Network and Link can always be freed | Tom Gundersen | |
Also, don't fail a link just because we can't find its MAC address. | |||
2013-11-21 | networkd: avoid segfault | Tom Gundersen | |
2013-11-21 | src/core/selinux-access: #include <sys/socket.h> | Daniel Mack | |
Fixes the following build errors on Fedora 20: CC src/core/libsystemd_core_la-selinux-access.lo src/core/selinux-access.c: In function 'get_audit_data': src/core/selinux-access.c:245:22: error: storage size of 'ucred' isn't known struct ucred ucred; ^ src/core/selinux-access.c:259:9: warning: implicit declaration of function 'getsockopt' [-Wimplicit-function-declaration] r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len); ^ src/core/selinux-access.c:259:28: error: 'SOL_SOCKET' undeclared (first use in this function) r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len); ^ src/core/selinux-access.c:259:28: note: each undeclared identifier is reported only once for each function it appears in src/core/selinux-access.c:259:40: error: 'SO_PEERCRED' undeclared (first use in this function) r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len); ^ src/core/selinux-access.c:245:22: warning: unused variable 'ucred' [-Wunused-variable] struct ucred ucred; ^ make[2]: *** [src/core/libsystemd_core_la-selinux-access.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 | |||
2013-11-21 | bus: update kdbus.h | Kay Sievers | |
2013-11-21 | networkd: don't filter on udev tags | Tom Gundersen | |
This removed the requirement for devices to be tagged with 'systemd-networkd' before they will be visible to networkd. Still, as by default we don't ship any .network files, network devices will simply be tracked, but not touched, unless the admin configures things explicitly. | |||
2013-11-21 | efi-boot-generator: don't mount /boot eagerly | Tom Gundersen | |
2013-11-21 | bus: fix seriliazation of activation errors | Lennart Poettering | |
2013-11-21 | bus: rename SD_BUS_ERROR_MAKE to SD_BUS_ERROR_MAKE_CONST to indicate it only ↵ | Lennart Poettering | |
works for const strings | |||
2013-11-21 | bus: let's simplify things by getting rid of unnecessary bus parameters | Lennart Poettering | |
2013-11-21 | bus: add API calls to escape string components of objects paths | Lennart Poettering | |
2013-11-21 | sd-event: try to move timer wakeups to the same spot within each minute | Lennart Poettering | |
2013-11-21 | socket: fix segfault | Lennart Poettering | |
2013-11-20 | valgrind: make running PID 1 in valgrind useful | Lennart Poettering | |
Since valgrind only generates useful output on exit() (rather than exec()) we need to explicitly exit when valgrind is detected. | |||
2013-11-20 | nspawn: add new --drop-capability= switch | Lennart Poettering | |
2013-11-20 | event: make sure to possibly disarm the timerfds before we reenter epoll_wait | Lennart Poettering | |