Commit Graph
13173 Commits
Author SHA1 Message Date
Lennart Poettering 5763192abf bus: fix signature handling when exiting container 2013-12-10 01:06:29 +01:00
Lennart Poettering 0039a203b1 bus: properly deserialize gvariant fixed size arrays 2013-12-10 01:05:23 +01:00
Lennart Poettering d63850688d bus: handler empty messages correctly when using gvariant marshalling 2013-12-10 01:04:36 +01:00
Lennart Poettering f30976971c bus: suppress creating empty parts in messages 2013-12-10 01:03:41 +01:00
Lennart Poettering 18f5b48f3f bus: rely on explicit eof check instead of checking when mapping payload
This allows us to drop quite a bit of code.
2013-12-09 23:24:17 +01:00
Lennart Poettering 813892259b bus: rearrange bus-message.c function order to keep read and write calls together 2013-12-09 23:16:14 +01:00
Lennart Poettering 6647dc6659 bus: demarshal gvariant 2013-12-09 23:04:49 +01:00
Lennart Poettering d3a485135a extend CODING_STYLE document a bit 2013-12-09 23:04:05 +01:00
Zbigniew Jędrzejewski-Szmek 171754aa4a man: document 'is-enabled' output
https://bugzilla.redhat.com/show_bug.cgi?id=953077
2013-12-08 19:26:51 -05:00
Zbigniew Jędrzejewski-Szmek 04504f93d1 systemctl: fix 'is-enabled' 2013-12-08 19:26:51 -05:00
Zbigniew Jędrzejewski-Szmek d08e75edf9 systemctl: simplify argument parsing 2013-12-08 19:26:51 -05:00
Zbigniew Jędrzejewski-Szmek 4f8f66cb42 Help output spring cleaning
Use [brackets] only for optional elements.
Use <optional> in XML sources.
2013-12-08 19:26:51 -05:00
Zbigniew Jędrzejewski-Szmek a6c3d202b1 kernel-install: add -h/--help 2013-12-08 19:26:51 -05:00
Zbigniew Jędrzejewski-Szmek 014e7ea7f2 Trim TODO 2013-12-08 19:26:51 -05:00
Thomas Hindoe Paaboel Andersen 272bf69e98 bootchart: remove dead assignment 2013-12-08 22:28:37 +01:00
Dan McGee f92ae4968f Fix memory leak in stdout journal streams
Just as 'identifier' is strdup-ed and freed, we need to do the same for
unit_id.
2013-12-08 13:15:59 -08:00
Kay Sievers e13bb5d2b1 test: cgroup-util - do not fail if cpu controller is not available 2013-12-08 06:36:39 +01:00
Thomas Hindoe Paaboel Andersen 4c49ab0e7a systemctl: fix and refactor wait_for_jobs
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-07 22:39:46 +01:00
Zbigniew Jędrzejewski-Szmek d8fba7c6cc systemctl: allow globbing in list-<whatever> commands
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 21:29:55 -05:00
Zbigniew Jędrzejewski-Szmek 2b6bf07dd2 Get rid of our reimplementation of basename
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 21:29:55 -05:00
Thomas Hindoe Paaboel Andersen f433609894 systemctl: check the value from start_unit_one
introduced in f459b6025f
2013-12-06 21:13:46 +01:00
Kay Sievers 4ccbc14615 bus: catch up with latest kdbus changes 2013-12-06 21:11:37 +01:00
Kay Sievers 5e16c2575b bus: catch up with latest kdbus changes 2013-12-06 20:28:35 +01:00
Bastien Nocera 354806fb46 rfkill: Avoid error when state restore is disabled
When the state restore is disabled, we would print:
"Unknown verb: load" instead of simply skipping loading the
state.
2013-12-06 16:44:38 +01:00
Kay Sievers a8d4cac55c bus: catch up with latest kdbus changes 2013-12-06 14:31:43 +01:00
Kay Sievers d94fe1f177 busctl: remove ','; it's all one string 2013-12-06 13:56:23 +01:00
Shawn Landden 2ed4e5e0b8 nspawn: fix buggy mount_binds, now works for bind-mounted files 2013-12-06 00:38:13 -05:00
Yuxuan Shui 85ca9433ab util: fix misuse of memcmp 2013-12-05 22:49:02 -05:00
Zbigniew Jędrzejewski-Szmek 86cb0691b7 shell-completion: busctl 2013-12-05 21:33:08 -05:00
Kay Sievers ff6c70f18b bus: update kdbus.h 2013-12-06 01:30:59 +01:00
Zbigniew Jędrzejewski-Szmek e775289d56 systemd: add a start job for all units in SYSTEMD_[USER_]WANTS= 2013-12-05 17:25:08 -05:00
Thomas Hindoe Paaboel Andersen a809021a9c execute.h: remove redefinition of Unit
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
c17ec25e4d

It is no longer needed so let's just keep the one in unit.h to
avoid redefining it.
2013-12-05 22:35:11 +01:00
Thomas Hindoe Paaboel Andersen 8edb59a98b test-bus-gvariant: remove unused variable 2013-12-05 22:33:22 +01:00
Lennart Poettering bc25a2fb66 bus: start maintaining a list of difference between kdbus/dbus1 2013-12-05 03:19:18 +01:00
Lennart Poettering ea6ad56836 bus: add missing LE meta data enforcement for gvariant serializer 2013-12-05 03:09:09 +01:00
Lennart Poettering 2f671520eb busname: improve condition check 2013-12-05 02:48:17 +01:00
Lennart Poettering c1b9d93572 bus: add support for serializing to gvariant
(deserialization is still missing, hence this is not hooked up to kdbus)
2013-12-05 02:47:36 +01:00
Kay Sievers 65dae17a2f bus: switch to multiple KDBUS_ITEM_NAME including the flags 2013-12-05 00:22:28 +01:00
Alex Jia a8053f197e man.systemd-cgls: Fix an option typo
The option 'M' is inconsistent between help document and man page.
2013-12-04 14:55:25 -08:00
Thomas Hindoe Paaboel Andersen a65c89bbb0 README: remove obsolete paragraph about D-Bus 2013-12-04 23:00:05 +01:00
Thomas Hindoe Paaboel Andersen 071066a5e5 systemctl: make an always true assert static
Silences a warning i clang
2013-12-04 22:29:58 +01:00
Thomas Hindoe Paaboel Andersen 4fd944ec82 systemctl: no need to fdopen stdout 2013-12-04 22:29:51 +01:00
Kay Sievers f7d8595113 libsystemd-bus: catch up with latest kdbus changes 2013-12-04 19:07:10 +01:00
David Coppa f20c84c15f Fix typo: SetChasis -> SetChassis 2013-12-04 09:28:19 -05:00
Tom Gundersen 0a4b9a0787 TODO: add networkd entries 2013-12-04 14:15:13 +01:00
Tom Gundersen dd3efc0993 networkd: add link-sense and simplify state-machine a bit
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 14:15:13 +01:00
Tom Gundersen 50b3c42f97 rtnl: add link_get_flags 2013-12-04 14:15:13 +01:00
Tom Gundersen 8cec01b9e9 rtnl: add callback support
sd_rtnl_add_match allows you to add a callback function for when given types of
messages are received.
2013-12-04 14:15:13 +01:00
Tom Gundersen a02113d2ea rtnl: don't ignore broadcast messages 2013-12-04 14:15:13 +01:00
Kay Sievers e63bb33d71 libsystemd-bus: catch up with latest kdbus list query changes 2013-12-04 11:47:22 +01:00