summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-11-06clients: unify how we invoke getopt_long()Lennart Poettering32-206/+206
Among other things this makes sure we always expose a --version command and show it in the help texts.
2013-11-06path-util: paths_check_timestamp() opimizationsLennart Poettering1-12/+18
2013-11-06inhibit: don't return error code on --helpLennart Poettering1-2/+3
2013-11-06busctl: port over to use bus_open_transport()Lennart Poettering1-16/+29
2013-11-06clients: various simplificationsLennart Poettering5-32/+13
2013-11-06run: support --system to match other commands, even if redundantLennart Poettering1-8/+14
2013-11-06analyze: port over to use bus_open_transport()Lennart Poettering1-34/+45
2013-11-06analyze: simplify thingsLennart Poettering1-4/+1
2013-11-06analyze: fix indentationLennart Poettering1-12/+11
2013-11-06Revert "hostnamed: prevent it from crashing if the chassis is unknown"Kay Sievers1-3/+0
This reverts commit 95b015de3849d8d8d03d9441ae1682a04c38833b. "bus: handle serialization of NULL strings" (cd6f997f71c3aba16aa08226d423d14cbc787f82) should fix this issue.
2013-11-06Comment spelling fixes.David Strauss2-2/+2
2013-11-06util: unify reading of /proc/cmdlineLennart Poettering15-101/+92
Instead of individually checking for containers in each user do this once in a new call proc_cmdline() that read the file only if we are not in a container.
2013-11-06nspawn: explicitly terminate machines when we exit nspawnLennart Poettering1-7/+62
https://bugs.freedesktop.org/show_bug.cgi?id=68370 https://bugzilla.redhat.com/show_bug.cgi?id=988883
2013-11-06machined: keep track of the initial leader PID of a machineLennart Poettering4-5/+16
This way we can without races always determine the machine for a leader PID. This allows machine managers to query the machine for a forked off container/VM without a race where the child might already have died before we could read the cgroup information from /proc/$PID/cgroup.
2013-11-06bus: handle serialization of NULL stringsLennart Poettering1-0/+15
Instead of simply crashing be somewhat nicer and serialize a NULL string into the empty string and generate an error on signature and object path strings.
2013-11-06shutdown: trim the cgroup tree on loop iterationLennart Poettering1-3/+13
This way we leave the cgroup empty before exiting in a container which makes sure the container manager will get cgroup notification event https://bugs.freedesktop.org/show_bug.cgi?id=68370 https://bugzilla.redhat.com/show_bug.cgi?id=988883
2013-11-06cgroup: run PID 1 in the root cgroupLennart Poettering1-8/+8
This way cleaning up the cgroup tree on shutdown is a lot easier since we are in the root dir. Also PID 1 was previously artificially placed in system.slice, even though our rule actually was not to have processes in slices. The root slice otoh is magic anyway, so having PID 1 in there sounds less surprising. Of course, this means that PID is scheduled against the three top-level slices.
2013-11-06bus: test-bus-marshal - make dbus-1 optionalKay Sievers1-0/+4
2013-11-06hostnamed: prevent it from crashing if the chassis is unknownThomas Hindoe Paaboel Andersen1-0/+3
When fallback_chassis would return null it led to a crash and an empty result in hostnamectl. Only seen after the sd-port.
2013-11-06bootctl: typo fix in help messageThomas Hindoe Paaboel Andersen1-1/+1
2013-11-05login: port test-inhibit to libsystemd-busKay Sievers1-63/+37
2013-11-05bus: never report nodes as children that do not have the right prefixLennart Poettering1-1/+9
2013-11-05logind: add virtual object paths that always can be used to refer to the ↵Lennart Poettering5-77/+157
callers session, user, seat or machine object This way clients can skip invoking GetSessionByPID() for their own PID or a similar call to access these objects.
2013-11-05bus: add sd_bus_get_current() bus call to determine message that is ↵Lennart Poettering3-6/+21
currently being dispatched
2013-11-05logind: automatically determine client side PID if GetSessionByPID() is ↵Lennart Poettering2-3/+27
called with a PID == 0
2013-11-05Configurable Timeouts/Restarts default valuesOleksii Shevchuk10-8/+26
https://bugs.freedesktop.org/show_bug.cgi?id=71132 Patch adds DefaultTimeoutStartSec, DefaultTimeoutStopSec, DefaultRestartSec configuration options to manager configuration file.
2013-11-05bus: add new bus API call sd_bus_message_at_end()Lennart Poettering2-10/+35
This may be used to determine whether we are at the end of a container ot the entire message.
2013-11-05bus: make use of assert_return() in all API calls that don't use it yetLennart Poettering3-306/+160
2013-11-05bus: add sd_bus_message_read_strv()Marc-Antoine Perennou2-1/+20
It will be useful to have that in the public API.
2013-11-05nspawn: log out of memory errorsDjalal Harouni1-2/+5
2013-11-05logind: fix serialization for PrepareForSleep booleanLennart Poettering1-1/+1
2013-11-05logind: fix serialization of ListInhibitors() requestLennart Poettering1-1/+1
2013-11-05bus: fix deserialization of polkit responseLennart Poettering1-3/+3
2013-11-05bus: delete some now used dbus1 codeLennart Poettering4-462/+0
2013-11-05bus: support entering containers without specifying the typeLennart Poettering2-7/+42
On request om Tom Gundersen...
2013-11-05bus: update bus_map_all_properties()Kay Sievers6-311/+341
2013-11-05bus: add sd_bus_message_skip() to skip over multiple fieldsLennart Poettering3-7/+176
2013-11-05bus: allow that if the destination pointer in sd_bus_message_read_basic() is ↵Lennart Poettering1-11/+19
NULL we skip over a field
2013-11-05net-util: don't use libudevTom Gundersen3-24/+28
Should fix linking with old toolchain.
2013-11-05logind: expose linger state on User objectLennart Poettering3-1/+24
2013-11-05logind: fix serialization of ListSeats() bus callLennart Poettering1-1/+1
2013-11-05logind: port logind to libsystemd-busLennart Poettering23-3744/+2874
2013-11-05localed: mark bus properties as change emittingLennart Poettering1-7/+7
Otherwise sd_bus_emit_properties_changed() will refuse sending out change signals
2013-11-05user-sessions: modernizationsLennart Poettering1-12/+9
2013-11-05machined: simplificationsLennart Poettering6-27/+23
2013-11-05event: add some well-defined priority values of event sourcesLennart Poettering1-0/+7
2013-11-05bus: make it easy to serialize C99 bools and uids/gids/pids via vtable ↵Lennart Poettering2-0/+36
properties
2013-11-05bus: support implicit serialization of strv string arrays within vtablesLennart Poettering1-7/+5
2013-11-05bus: dbus-daemons' access messages are a bit too verboseLennart Poettering1-3/+10
2013-11-04rtnl: add support for routesTom Gundersen3-15/+133