Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-06 | Get rid of our reimplementation of basename | Zbigniew Jędrzejewski-Szmek | |
The only problem is that libgen.h #defines basename to point to it's own broken implementation instead of the GNU one. This can be fixed by #undefining basename. | |||
2013-12-05 | systemd: add a start job for all units in SYSTEMD_[USER_]WANTS= | Zbigniew Jędrzejewski-Szmek | |
2013-12-05 | execute.h: remove redefinition of Unit | Thomas Hindoe Paaboel Andersen | |
Unit is typedef'ed in both unit.h and execute.h. The typedef existed first in unit.h and was later added to execute.h in c17ec25e4d9bd6c8e8617416f813e25b2ebbafc5 It is no longer needed so let's just keep the one in unit.h to avoid redefining it. | |||
2013-12-05 | busname: improve condition check | Lennart Poettering | |
2013-12-03 | bus: don't make use of the private bus socket if kdbus is available | Lennart Poettering | |
2013-12-03 | core: use normal library call to query list of current names | Lennart Poettering | |
2013-12-03 | bus: make sd_bus_request_name() and sd_bus_release_name() behave more like ↵ | Lennart Poettering | |
other calls Instead of returning an enum of return codes, make them return error codes like kdbus does internally. Also, document this behaviour so that clients can stick to it. (Also rework bus-control.c to always have to functions for dbus1 vs. kernel implementation of the various calls.) | |||
2013-12-02 | systemd: treat reload failure as failure | Zbigniew Jędrzejewski-Szmek | |
systemctl reload "suceeded" on stopped units, but it is documented to fail in this case. https://bugzilla.redhat.com/show_bug.cgi?id=1036845 | |||
2013-12-02 | bus: add .busname unit type to implement kdbus-style bus activation | Lennart Poettering | |
2013-12-02 | core: extra paranoia when deserializing kdbus fd | Lennart Poettering | |
2013-12-01 | service: remove unneccesary Socket.got_socket_fd | Shawn Landden | |
2013-11-30 | bus: do kdbus only if this is enabled on the configure switch | Lennart Poettering | |
Since we want to retain the ability to break kernel ←→ userspace ABI after the next release, let's not make use by default of kdbus, so that people with future kernels will not suddenly break with current systemd versions. kdbus support is left in all builds but must now be explicitly requested at runtime (for example via setting $DBUS_SESSION_BUS). Via a configure switch the old behaviour can be restored. In fact, we change autogen.sh to do this, so that git builds (which run autogen.sh) get kdbus by default, but tarball builds (which ue the configure defaults) do not get it, and hence this stays out of the distros by default. | |||
2013-11-30 | nspawn: set up a kdbus namespace when starting a container | Lennart Poettering | |
2013-11-30 | bus: include unique and well known names in credentials object | Lennart Poettering | |
2013-11-30 | core: allocate a kdbus bus for each systemd instance, if we can | Lennart Poettering | |
2013-11-28 | bus: merge sd_bus_get_owner() and sd_bus_get_owner_creds() into one call | Lennart Poettering | |
Since the backing ioctl for this on kdbus is the same we retain atomicity this way. | |||
2013-11-28 | Remove some unused variables | Zbigniew Jędrzejewski-Szmek | |
2013-11-28 | core: fix SetUnitProperties | Marc-Antoine Perennou | |
2013-11-28 | bus: add new sd_bus_creds object to encapsulate process credentials | Lennart Poettering | |
This way we can unify handling of credentials that are attached to messages, or can be queried for bus name owners or connection peers. This also adds the ability to extend incomplete credential information with data from /proc, Also, provide a convenience call that will automatically determine the most appropriate credential object for an incoming message, by using the the attached information if possible, the sending name information if available and otherwise the peer's credentials. | |||
2013-11-28 | automount: log info about triggering process | Kay Sievers | |
2013-11-28 | core: initialize variable | Kay Sievers | |
2013-11-27 | namespace: comment typo fix | Lennart Poettering | |
2013-11-27 | service: add the ability for units to join other unit's PrivateNetwork= and ↵ | Lennart Poettering | |
PrivateTmp= namespaces | |||
2013-11-26 | tree-wide usage of %m specifier instead of strerror(errno) | Daniel Buch | |
Also for log_error() except where a specific error is specified e.g. errno ? strerror(errno) : "Some user specified message" | |||
2013-11-26 | core: add new "flush" job mode to cancel all other jobs when queuing a new job | Lennart Poettering | |
2013-11-26 | core: replace OnFailureIsolate= setting by a more generic OnFailureJobMode= ↵ | Lennart Poettering | |
setting and make use of it where applicable | |||
2013-11-25 | core: fix order of parameters in broadcast_signal() | Lennart Poettering | |
2013-11-25 | service: fix handling of PID file inotify events | Lennart Poettering | |
2013-11-25 | core: include following set data in dump | Lennart Poettering | |
2013-11-25 | swap: always track the current real device node of all swap devices, even ↵ | Lennart Poettering | |
when not active This way, we can avoid executing two /bin/swapon jobs to be dispatched for the same swap device if it is configured for two different paths. Previously we were just tracking the device nodes of active swap devices, which would not allow us to recognize the identity of two swap devices before they are active. https://bugs.freedesktop.org/show_bug.cgi?id=69835 | |||
2013-11-25 | shutdown: during final killing spree also send SIGHUP in addition to SIGTERM ↵ | Lennart Poettering | |
to deal with shells This makes shutdown a bit faster if debug-shell.service is enabled. | |||
2013-11-25 | conf-parser: distinguish between multiple sections with the same name | Tom Gundersen | |
Pass on the line on which a section was decleared to the parsers, so they can distinguish between multiple sections (if they chose to). Currently no parsers take advantage of this, but a follow-up patch will do that to distinguish [Address] Address=192.168.0.1/24 Label=one [Address] Address=192.168.0.2/24 Label=two from [Address] Address=192.168.0.1/24 Label=one Address=192.168.0.2/24 Label=two | |||
2013-11-25 | device: fix typo | Lennart Poettering | |
2013-11-25 | core: fix bus serialization of conditions | Lennart Poettering | |
2013-11-25 | core: fix serialization of exec command structs | Lennart Poettering | |
2013-11-25 | core: set some event source priorities to enforce dispatching order | Lennart Poettering | |
2013-11-25 | swap: split state machine state ACTIVATING into two | Lennart Poettering | |
We expect the event on /proc/swaps before we expect the SIGCHILD, reflect this in the state machine. | |||
2013-11-25 | device: modernizations | Lennart Poettering | |
2013-11-25 | core: dispatch run queue only if there's nothing else to do | Lennart Poettering | |
Always read all external events before we decide what we do next. | |||
2013-11-24 | core: set finish_timestamp only after all jobs have finished | Kay Sievers | |
2013-11-22 | core: don't warn loudly if we cannot send a bus signal to a disconnected client | 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 | build-sys: move more files from core/ to share/ that are generic enough | Lennart Poettering | |
2013-11-22 | core: fix timestamp assignment | Kay Sievers | |
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: 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 |