Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-07 | systemctl: fix and refactor wait_for_jobs | Thomas Hindoe Paaboel Andersen | |
wait_for_jobs was ignoring the errors from the jobs stored in r. It would only ever return whether the call to sd_bus_remove_filter went ok. This patch changes it to return the first job related error encountered. If a job related error is found, then the result of the call to sd_bus_remove_filter is ignored. wait_for_jobs was a bit hard to read so I split it up to avoid the goto and deep nesting. | |||
2013-12-06 | systemctl: allow globbing in list-<whatever> commands | Zbigniew Jędrzejewski-Szmek | |
It is nicer to say 'systemctl list-units ssh\*' then to use grep, because colouring is preserved and it is easier to match just against the unit name. | |||
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-06 | systemctl: check the value from start_unit_one | Thomas Hindoe Paaboel Andersen | |
introduced in f459b6025f9368116d8c410376546c157314c205 | |||
2013-12-06 | bus: catch up with latest kdbus changes | Kay Sievers | |
2013-12-06 | bus: catch up with latest kdbus changes | Kay Sievers | |
2013-12-06 | rfkill: Avoid error when state restore is disabled | Bastien Nocera | |
When the state restore is disabled, we would print: "Unknown verb: load" instead of simply skipping loading the state. | |||
2013-12-06 | bus: catch up with latest kdbus changes | Kay Sievers | |
2013-12-06 | busctl: remove ','; it's all one string | Kay Sievers | |
2013-12-06 | nspawn: fix buggy mount_binds, now works for bind-mounted files | Shawn Landden | |
2013-12-05 | util: fix misuse of memcmp | Yuxuan Shui | |
2013-12-05 | shell-completion: busctl | Zbigniew Jędrzejewski-Szmek | |
2013-12-06 | bus: update kdbus.h | Kay Sievers | |
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 | test-bus-gvariant: remove unused variable | Thomas Hindoe Paaboel Andersen | |
2013-12-05 | bus: start maintaining a list of difference between kdbus/dbus1 | Lennart Poettering | |
2013-12-05 | bus: add missing LE meta data enforcement for gvariant serializer | Lennart Poettering | |
2013-12-05 | busname: improve condition check | Lennart Poettering | |
2013-12-05 | bus: add support for serializing to gvariant | Lennart Poettering | |
(deserialization is still missing, hence this is not hooked up to kdbus) | |||
2013-12-05 | bus: switch to multiple KDBUS_ITEM_NAME including the flags | Kay Sievers | |
2013-12-04 | systemctl: make an always true assert static | Thomas Hindoe Paaboel Andersen | |
Silences a warning i clang | |||
2013-12-04 | systemctl: no need to fdopen stdout | Thomas Hindoe Paaboel Andersen | |
2013-12-04 | libsystemd-bus: catch up with latest kdbus changes | Kay Sievers | |
2013-12-04 | Fix typo: SetChasis -> SetChassis | David Coppa | |
2013-12-04 | networkd: add link-sense and simplify state-machine a bit | Tom Gundersen | |
This listens to rtnetlink for changes to IFF_UP and IFF_LOWER_UP (link sense). The latter is simply logged at the moment, but will be useful once we add dhcp support. | |||
2013-12-04 | rtnl: add link_get_flags | Tom Gundersen | |
2013-12-04 | rtnl: add callback support | Tom Gundersen | |
sd_rtnl_add_match allows you to add a callback function for when given types of messages are received. | |||
2013-12-04 | rtnl: don't ignore broadcast messages | Tom Gundersen | |
2013-12-04 | libsystemd-bus: catch up with latest kdbus list query changes | Kay Sievers | |
2013-12-03 | trivial coding style clean ups | Thomas Hindoe Paaboel Andersen | |
- Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { } | |||
2013-12-03 | sd-memfd: use assert_return | Thomas Hindoe Paaboel Andersen | |
2013-12-03 | bus: fix parsing of AcquireName() response | 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: rework sd_bus_list_names() to return two lists for acquired and ↵ | Lennart Poettering | |
activatable names | |||
2013-12-03 | bus: internalize a lot of protocol definitions | Lennart Poettering | |
We shouldn export what isn't necessary or useful to clients, so let's add the protocol definitions we only need internally into a private header. | |||
2013-12-03 | journal: fail silently in sd_j_sendv() if journal is unavailable | Zbigniew Jędrzejewski-Szmek | |
"syslog(3) and sd_journal_print() may largely be used interchangeably functionality-wise" according to sd_journal_print(3). This socket should be always available except in rare circumstatances, and we don't random applications to fail on logging, so let's do what syslog did. The alternative of forcing all callers to do error handling for this rare case doesn't really have any benefits, since if they can't log there isn't much they can do anyway. https://bugzilla.redhat.com/show_bug.cgi?id=1023041 | |||
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-03 | macro: better make IN_SET() macro use const arrays | Lennart Poettering | |
2013-12-03 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
2013-12-02 | catalog: determine language from the filename | Zbigniew Jędrzejewski-Szmek | |
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-03 | dbus1: make gcc shut up | Lennart Poettering | |
2013-12-03 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
2013-12-03 | dbus1: hook busnames.target into normal boot if kdbus is enabled | Lennart Poettering | |
2013-12-03 | bus: skip unit file generation for systemd itself | Lennart Poettering | |
2013-12-03 | bus: add generator that turns old dbus1 activation files into .busname + ↵ | Lennart Poettering | |
.service units | |||
2013-12-02 | bus: add .busname unit type to implement kdbus-style bus activation | Lennart Poettering | |
2013-12-02 | bus: make sure we check for "incompatible" flags negotiated with kernel kdbus | Lennart Poettering | |