Shawn Landden
06d461ee6f
update README to not suggest that systemd works without procfs
2013-12-10 07:40:55 -05:00
Marcel Holtmann
0234c59921
hwdb: Update database of Bluetooth company identifiers
2013-12-10 03:17:39 -08:00
Adam Williamson
18c92a4958
correct name of Tajik kbd layout in kbd-model-map
2013-12-10 05:16:46 -05:00
Adam Williamson
70dc36d17f
drop several entries from kbd-model-map whose kbd layouts do not exist
...
kbd-model-map was generated from system-config-keyboard's keyboard_models.py.
Several of the kbd layouts referred in that file do not exist and, so far as I
can tell, never did. I believe these entries existed simply to provide the xkb
configuration information for those layouts, and there never were matching kbd
entries; the kbd names were entirely notional, to satisfy the need for some
entry or other in that field.
For systemd, the only function of kbd-model-map is to 'match' kbd and xkb
configurations, so it does not make any sense to maintain entries for cases
where only one or the other exists in this context.
2013-12-10 05:16:46 -05:00
Jason St. John
8c9552c6b4
man: improve wording and comma usage in systemd.journal-fields(7)
...
Improve wording under "Description" and "_KERNEL_DEVICE="
2013-12-10 05:07:31 -05:00
Lukasz Skalski
f7e2bd5a80
libsystemd-bus: use assert_return
2013-12-09 23:27:19 -05:00
Sébastien Luttringer
d838db0d3b
kernel-install: fix help output
...
Kernel install doesn't need the second argument on his command line when
removing.
This is correctly documented in the man page.
2013-12-09 23:19:16 -05:00
Lennart Poettering
5877dc5a7f
test: add gvariant test for empty messages
2013-12-10 03:31:52 +01:00
Lennart Poettering
5f7e8903b2
bus: properly handle empty messages
2013-12-10 03:30:51 +01:00
Lennart Poettering
224a1ed4c1
bus: empty gvariant arrays should at least get size 1
2013-12-10 03:04:16 +01:00
Lennart Poettering
041b85cf01
bus: it's OK to send messages with an empty payload but non-empty signature
...
THis might happen when sending arrays with 0 enttries, hence this is not
an indication for a problem.
2013-12-10 02:57:46 +01:00
Lennart Poettering
9bb59c29f0
bus: update kdbus.h
2013-12-10 02:33:33 +01:00
Lennart Poettering
8f2e44f820
bus: make gcc shut up
2013-12-10 02:33:13 +01:00
Lennart Poettering
a99b3a4a9f
update TODO
2013-12-10 01:11:43 +01:00
Lennart Poettering
72d87e6519
bus: beef up zero copy test case
2013-12-10 01:07:32 +01:00
Lennart Poettering
e1d337d462
bus: only accept gvariant native endian messages via kdbus
2013-12-10 01:07:09 +01:00
Lennart Poettering
d36b703136
bus: fix rewinding in gvariant messages
2013-12-10 01:06:52 +01:00
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