Lennart Poettering
9588bc3209
Remove dead code and unexport some calls
...
"make check-api-unused" informs us about code that is not used anymore
or that is exported but only used internally. Fix these all over the
place.
2013-11-08 18:12:45 +01:00
Lennart Poettering
f842cd74ea
build-sys: fix rule for generating undefined list
2013-11-08 18:12:45 +01:00
Kay Sievers
4aa2beacb1
systemctl: fix "reboot" call
2013-11-08 17:49:59 +01:00
Lennart Poettering
41dd15e474
systemctl: restore ability to directly connect to PID1 from systemctl
2013-11-08 17:07:42 +01:00
Lukas Nykryn
3f41e1e595
manager: configurable StartLimit default values
...
https://bugzilla.redhat.com/show_bug.cgi?id=821723
2013-11-08 17:00:01 +01:00
Lennart Poettering
1290d0fc5f
man: update systemctl man page to mentioned --machine=
2013-11-08 16:53:29 +01:00
Lennart Poettering
9070a9c103
build-sys: add make check-api-unused
2013-11-08 16:53:29 +01:00
Lennart Poettering
862e8bf8c6
build-sys: install busctl
2013-11-08 16:53:28 +01:00
Dave Reisner
489124365d
link-config: Fix typo in log_warning
2013-11-08 09:38:50 -05:00
Dave Reisner
da66338e17
link-config: match length for kernel commandline option
...
This prevents enable_name_policy() from invariably returning false when
it matches a zero length string at the end of /proc/cmdline.
2013-11-08 09:25:19 -05:00
Kay Sievers
a9616cd17f
systemctl: initialize variables
2013-11-08 15:21:50 +01:00
Lennart Poettering
7af5a806d1
systemctl: allow listing cgroups of containers
2013-11-08 14:07:27 +01:00
Lennart Poettering
9d458c0902
clients: fix some signal handler issues
2013-11-08 14:07:27 +01:00
Lennart Poettering
cbc9fbd131
systemctl: various cleanups
2013-11-08 14:07:27 +01:00
Lennart Poettering
97137ecce6
install: don't override caller's parameter
2013-11-08 14:07:27 +01:00
Lennart Poettering
8fe12d88a8
clients: add missing command line arguments
2013-11-08 14:07:27 +01:00
Lennart Poettering
baabc09191
journal: fix minor memory leak
2013-11-08 14:07:27 +01:00
Lennart Poettering
6fd4d02098
update TODO
2013-11-08 14:07:27 +01:00
Marc-Antoine Perennou
f459b6025f
systemctl: port to libsystemd-bus
2013-11-08 14:07:27 +01:00
Lennart Poettering
a6c616024d
machinectl: close bus to container early
2013-11-08 14:07:26 +01:00
Tom Gundersen
8e337e6438
rtnl: message - initialize all memory
...
Including the padding, which should not really be needed, but let's keep valgrind happy.
2013-11-08 12:16:08 +01:00
Tom Gundersen
8e1519bddb
test-rtnl: fix typo
2013-11-08 12:15:07 +01:00
Michal Sekletar
c6581cc14f
systemctl: return r instead of always returning 0
2013-11-08 00:20:09 +01:00
Michal Sekletar
0a2c229426
net-util: call ioctl() only if necessary
...
In case when update of current values is not necessary we still might end up
calling ioctl(), because need_update variable is not explicitly initialized.
2013-11-07 22:25:42 +01:00
Lennart Poettering
47c649b5de
bus: use new property retrieval calls everywhere
2013-11-07 22:17:19 +01:00
Lennart Poettering
40be0704eb
inhibit: more conversions to use bus_log_parse_error()
2013-11-07 22:08:41 +01:00
Lennart Poettering
988b9df29f
analyze: make use of new sd_bus_get_property_strv() call
2013-11-07 22:06:29 +01:00
Lennart Poettering
6cc532fdcc
update TODO
2013-11-07 21:41:06 +01:00
Lennart Poettering
a86a47ce1f
clients: try to follow roughly the same order in --help texts for common options
2013-11-07 21:31:13 +01:00
Lennart Poettering
74c7b1ed05
machinectl: show list headers even if we pipe, since that appears to be the usual way
2013-11-07 21:28:15 +01:00
Lennart Poettering
5b30bef856
bus: log message parsing errors everywhere with a generalized bus_log_parse_error()
2013-11-07 21:26:31 +01:00
Lennart Poettering
46e65dcc3a
polkit: don't spawn local client if we access a remote system
2013-11-07 21:06:44 +01:00
Lennart Poettering
0d49cfa264
systemctl: we show headers for list-units even when piped these days, hence do the same for list-jobs
2013-11-07 21:02:48 +01:00
Simon Peeters
f8f14b3654
loginctl: convert to sd-bus
...
NOTE: the show-* subcommands do not print some properties:
this are those with types like (so), a(so), (uo),...
we need to fix this, but I'm not sure how
2013-11-07 21:01:48 +01:00
Lennart Poettering
63be1989c7
bus: add APIs to easily query string and strv properties
2013-11-07 19:28:54 +01:00
Marc-Antoine Perennou
1405bef3f1
bus: mark sd_bus_message_at_end public
2013-11-07 19:02:15 +01:00
Marc-Antoine Perennou
261afec5ae
bus: fix bus_print_property with strv
2013-11-07 18:55:21 +01:00
Lennart Poettering
405cd3aa0b
bus: bus_message_read_strv_extend() should return 1 on success
...
Like all other message read calls bus_message_read_strv_extend() needs
to return 1 on sucess, and 0 on end of array.
2013-11-07 18:46:22 +01:00
Lennart Poettering
2efa7e1b25
bus: fix output of bus_message_dump()
2013-11-07 18:40:14 +01:00
Lennart Poettering
5e86fd7b98
bus: allow reading empty arrays with sd_bus_message_read_array()
2013-11-07 18:40:06 +01:00
Lennart Poettering
b8ecc741db
rtnl: add Makefile symlink
2013-11-07 18:07:50 +01:00
Lennart Poettering
fa57130d35
man: add docs for sd_is_special() and some man page symlinks
2013-11-07 17:51:09 +01:00
Lennart Poettering
a27e222b58
build-sys: add a make target to look for undocumented symbols
...
With super-pretty output!
2013-11-07 17:26:01 +01:00
Lennart Poettering
b3273dafc7
bus: also check for NULL when appending trivial types
2013-11-07 17:11:25 +01:00
Kay Sievers
15912917ef
bus: message_append_basic() - allow string == NULL
2013-11-07 16:57:16 +01:00
Lennart Poettering
e633ea1c9c
socket-proxy: actually properly keep track of connections
2013-11-07 16:53:26 +01:00
Lennart Poettering
2c408cb627
activate: print a nice message if no fd to listen on was specified
2013-11-07 16:53:26 +01:00
Lennart Poettering
2cd33d82b6
shutdown: as sd-shutdown.h is a drop-in header it should not include any other headers of ours
2013-11-07 16:53:26 +01:00
Lennart Poettering
0095c45415
api: replace manual C++ guards by macros
2013-11-07 16:53:26 +01:00
Lennart Poettering
1ec6af16f5
socket-proxyd: no need to redefine sockaddr union
2013-11-07 16:53:26 +01:00