1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 03:25:31 +03:00
Commit Graph

12722 Commits

Author SHA1 Message Date
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
Lennart Poettering
3deadb918f util: add circle to special chars we can draw 2013-11-07 16:53:25 +01:00
Lennart Poettering
29d230f6f2 pam: the DECIMAL_STR_MAX macro is awesome, let's use it 2013-11-07 16:53:25 +01:00
Lennart Poettering
49a6199b42 update TODO 2013-11-07 16:53:25 +01:00
Lennart Poettering
aac6ad0d2f build-sys: don't install sd-shutdown.h, it is a drop-in header like sd-readahead.h 2013-11-07 16:53:25 +01:00
Kay Sievers
23c80348e6 machine: add missing header include 2013-11-07 15:19:39 +01:00
Kay Sievers
48d7417d3e build-sys: link most internal libraries statically
Libraries and tools, both use shared symbols wich have global state
and should only exist once in the final image.
2013-11-07 14:59:16 +01:00
Kay Sievers
ab49725fd8 machine: move symbols referenced by shared code from main to shared file
With --enable-address-sanitizer we get:
  machined-dbus.c:228: undefined reference to 'manager_add_machine'
2013-11-07 14:56:31 +01:00
Simon Peeters
27e72d6b22 bus: make bus_print_all_properties work for non machinectl cases
add a destination parameter and skip properties we can't read
2013-11-07 14:18:35 +01:00
Kay Sievers
8be28fb1e0 core: fix require $XDG_RUNTIME_DIR
$ sudo dracut -f
  Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.
  /usr/lib/dracut/modules.d/98systemd/module-setup.sh: line 10:
    ((: >= 198 : syntax error: operand expected (error token is ">= 198 ")
2013-11-07 14:14:22 +01:00
Zbigniew Jędrzejewski-Szmek
86198b2788 udevadm-settle: add missing brace 2013-11-07 01:34:19 -05:00
Mantas Mikulėnas
3f6da75bce core: require $XDG_RUNTIME_DIR to be set for user instances
It seems that some places use /run otherwise, which isn't going to work.
2013-11-07 01:27:15 -05:00
Daniel Buch
aed2ebfed0 test-strv: add strv_split, strv_split_newline, strv_remove_prefix 2013-11-07 01:23:55 -05:00
Jan Janssen
0c6f1f4ea4 Make hibernation test work for swap files
Suspend to disk works for swap files too (even if it is located
on an ecrypted file system):
https://www.kernel.org/doc/Documentation/power/swsusp-and-swap-files.txt
2013-11-07 01:23:55 -05:00
Ronny Chevalier
f49e8bc472 zsh-completion: add missing options for systemd-run 2013-11-07 01:23:54 -05:00
Yang Zhiyong
c5383e7942 udevadm-trigger: add parameters checking 2013-11-07 01:23:54 -05:00
Yang Zhiyong
4e93793da8 udevadm-settle: add parameters checking 2013-11-07 01:23:54 -05:00
Mantas Mikulėnas
a1074881b4 systemctl: make LOAD column width dynamic
Otherwise 'not-found' overflows into the ACTIVE column.
2013-11-07 01:23:54 -05:00
Richard Marko
8ff8ee8373 systemd-python: convert keyword value to string
Allows using journal.send('msg', PRIORITY=journal.LOG_CRIT)

Before this commit this results in
TypeError: cannot concatenate 'str' and 'int' objects
and requires passing PRIORITY value as string to work.
2013-11-07 01:23:54 -05:00
Ronny Chevalier
889a90422d test: remove duplicated code 2013-11-07 01:23:54 -05:00
WaLyong Cho
37185ec80a Support additional argument in reboot
reboot syscall can be performed with an additional argument. In some
systems this functionality can be useful to modify the mode of the
next boot performed by the bootloader.
2013-11-07 01:23:54 -05:00
Jan Engelhardt
3f09ee1969 man: add rationale into systemd-halt(8)
The explanation is from
http://people.debian.org/~stapelberg/docs/systemd-dependencies.html
2013-11-07 01:23:54 -05:00
Jan Engelhardt
63ba209d8b man: wording and grammar updates
This is a recurring submission and includes corrections to various
issue spotted: comma setting, missing words/preposition choice.
2013-11-07 01:23:54 -05:00
Pavel Holica
f576cd2092 acpi-fpdt: break on zero or negative length read
https://bugzilla.redhat.com/show_bug.cgi?id=1027478
2013-11-07 01:23:54 -05:00
David Strauss
fd201fda7d socket-proxyd: The proxy can now accept multiple sockets (but only to one remote host). 2013-11-07 14:46:31 +10:00
Lennart Poettering
28f86262b9 bus: indicate in .pc file that we need libsystemd-id128 definitions 2013-11-07 03:54:13 +01:00
Lennart Poettering
6695ed7a84 api: add C++ guards 2013-11-07 03:47:42 +01:00