summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-12bus: make kdbus work so that we can exchange real messagesLennart Poettering
We have ignition, we have tremendous fire!
2013-04-11hwclock: use _cleanup_ to simplify functionZbigniew Jędrzejewski-Szmek
2013-04-11errno is positiveZbigniew Jędrzejewski-Szmek
Make sure we compare errno against positive error codes. The ones in hwclock.c and install.c can have an impact, the rest are unlikely to be hit or in code that isn't widely used. Also check that errno > 0, to help gcc know that we are returning a negative error code.
2013-04-11systemctl: show the name of failing unit in redZbigniew Jędrzejewski-Szmek
It makes it easier to pick out problematic unit names from a long list.
2013-04-11systemctl: allow multiple arguments to --typeZbigniew Jędrzejewski-Szmek
This mirrors --property, and is generally useful. New functionality is used in bash completion. In case of zsh completion, new functionality is less useful because of caching. Nevertheless, zsh completion for restart is made to behave more-or-less the same as bash completion. At least sockets can be restarted.
2013-04-12bus: fix formatting of bus addressLennart Poettering
2013-04-12bus: fix kdbus ioctl invocationLennart Poettering
2013-04-12bus: properly check if kdbus connection workedLennart Poettering
2013-04-12bus: fill in unique name when using kdbusLennart Poettering
2013-04-12bus: add kdbus test caseLennart Poettering
2013-04-11bus: basic implementation of kdbus client sideLennart Poettering
2013-04-11update TODOLennart Poettering
2013-04-11bus: calculate iovec for messages only when we need itLennart Poettering
2013-04-11macro: make sure ALIGN() can be calculated constant by the compilerLennart Poettering
If we pass a constant value to ALIGN() gcc should have the chance to calculate the value during compilation rather than runtime, so let's avoid a static inline call if we can.
2013-04-11TODO: updateKay Sievers
2013-04-10shell-completion: show failed units as candidates for startZbigniew Jędrzejewski-Szmek
Also show disabled units as candidates for reenable, since it works and one may want to do enable-or-reenable in one line.
2013-04-10shell-completion: replace printf with echoZbigniew Jędrzejewski-Szmek
It is faster to use a bash built-in, then to invoke an external program. The problem of unit names starting with a dash is solved by prepending a space. Spaces are ignored anyway. For zsh, replace echo "$unit", which is vulnerable to dashes, with echo " $unit".
2013-04-10systemctl: ellipsize job list only when necessary, highlight runningZbigniew Jędrzejewski-Szmek
I was debugging systemd waiting on a missing disk, and noticed that the job listing could use some polishing. Jobs that are actually running are highlighted, so it's easier to see what very actually waiting for. Also, the needed widths are precalculated, to use available columns more ecomically.
2013-04-10udev/ata_id: use initalization instead of explicit zeroingZbigniew Jędrzejewski-Szmek
2013-04-10libsystemd-bus: initalize handle_cmsg to falseLukas Nykryn
2013-04-10tty-ask-password-agent: free passwordsLukas Nykryn
2013-04-10journalctl: check return of strjoinLukas Nykryn
2013-04-10Use initalization instead of explicit zeroing in more placesZbigniew Jędrzejewski-Szmek
2013-04-10localctl: skip locale entries with non-UTF8 namesLennart Poettering
glibc should place these in the locale archive. For now, let's just skip them from our output, since they are aliases anyway. https://bugs.freedesktop.org/show_bug.cgi?id=63389
2013-04-10bus: when we unmarshal an fd it should stay owned by the message objectLennart Poettering
If the user wants the fd to stay valid he should keep a reference to the message object or duplicate the fd. This unifies behaviour of demarshalling data fields and unix fds.
2013-04-10logind: avoid creating stale session state filesFedora systemd team
There were old session state files accumulating in /run/systemd/session. They confused e.g. "reboot", which thought there were still users logged in. The files got created like this: session_stop(Session *s) -> ... unlink(s->state_file); ... seat_set_active(s->seat, NULL) -> session_save(...); /* re-creates the state file we just unlinked */ Fix it simply by clearing the s->started flag earlier to prevent any further writes of the state file (session_save() checks the flag).
2013-04-09update TODOLennart Poettering
2013-04-09logind: introduce an explicit session class for cronjobs and similarLennart Poettering
cronjobs are neither interactive user session, nor lock screens, nor login screens, hence they should get their own class.
2013-04-09update TODOLennart Poettering
2013-04-09bus: also remove recursive invocation of message_append_ap()Lennart Poettering
2013-04-09bus: implement message_read_ap() non-recursivelyLennart Poettering
As it turns out if you pass a va_list to a function its state becomes undefined after that function returns, and this actually does break on x86-32. Hence, let's reimplement message_read_ap() without the use of recursion. Instead we now build our own stack of types in an array so that we can decode the entire parameter list in a single stackframe.
2013-04-09units: fix some left-over mentions of remote-fs-setup.targetLennart Poettering
2013-04-09shutdown: print a nice message before returning to initrdLennart Poettering
2013-04-09keymap: Fix typo in previous commitMartin Pitt
2013-04-09keymap: Add HP EliteBook 8460pPali Rohar
Taken from https://code.launchpad.net/~pali/ubuntu/raring/udev/hp-elitebook-8460p/+merge/157420 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2013-04-09libudev: Move -lrt to Libs.privateMichael Biebl
It's only needed for static linking. https://bugs.freedesktop.org/show_bug.cgi?id=63309
2013-04-08machine-id: fix missing initializationsystemd/v201Lennart Poettering
2013-04-08build-sys: prepare 201Lennart Poettering
2013-04-08shutdown: print a message when storage is finalizedLennart Poettering
2013-04-08journald: bring max coredump size in sync with max entry sizeLennart Poettering
2013-04-08update TODOLennart Poettering
2013-04-08cgroup: clean-upsLennart Poettering
2013-04-08analyze: various cleanupsLennart Poettering
2013-04-08analyze: fix OOM handling + fix memory leakLennart Poettering
2013-04-08analyze: add missing --help text entriesLennart Poettering
2013-04-08man: be clearer that it's not OK to manipulate systemd's own cgroup hirearchyLennart Poettering
2013-04-08systemd-analyze: filter dot outputŁukasz Stelmach
Make "systemd-analyze dot" output only lines with units matching given glob(7) patterns. Add --from-pattern and --to-pattern options. Without any patterns all relationships are printed as before. A relationship must match the follwing expression: (isempty(from) || from[0] || from[1] || .. || from[n]) && (isempty(to) || to[0] || to[1] || .. || to[n]) && (isempty(P) || P[0] || P[1] || ... || P[n]) where from[] and to[] are lists of patterns provided with subsequent --from-pattern and --to-pattern respectively. P[] is a list of additional patterns provided after the "dot" subcommand.
2013-04-08udev/udev-ctrl.c:udev_ctrl_new_from_fd() enable SO_PASSCREDHarald Hoyer
Avoid "sender uid=65534, message ignored" case, where no credentials can be read on the sender side. Seems, the server socket does not enable credential receiving fast enough, and the message from the client (without credential) sometimes is queued before the credential passing was active.
2013-04-08dbus-manager: fix variable type introspectionRonny Chevalier
2013-04-08cgroup: always keep access mode of 'tasks' and 'cgroup.procs' files in ↵Lennart Poettering
cgroup directories in sync