Systemd/src/libsystemd
Alan Jenkins 733e792bc6 sd-bus: fix response for GetAll on non-existent objects
Before this commit, if you run `loginctl user-status` from
debug-shell.service (and you have no login sessions for root), you always
see this output:

0
	Linger: no

because Properties.GetAll is returning success but without any properties,
when the only find() callback had returned 0 to mean "no object found".

After:

Could not get properties: Unknown object:
'/org/freedesktop/login1/user/self'


BTW I have a fix for more user-friendly messages from logind in this case.
It is pending in my local branch for #6829 "fix `loginctl enable-linger`".
2017-09-17 17:54:54 +01:00
..
sd-bus sd-bus: fix response for GetAll on non-existent objects 2017-09-17 17:54:54 +01:00
sd-daemon tree-wide: make use of getpid_cached() wherever we can 2017-07-20 20:27:24 +02:00
sd-device Add handling for bind/unbind actions (#6720) 2017-09-04 16:59:17 +03:00
sd-event tree-wide: make use of getpid_cached() wherever we can 2017-07-20 20:27:24 +02:00
sd-hwdb build-sys: drop automake support 2017-07-18 10:04:44 -04:00
sd-id128 build-sys: drop automake support 2017-07-18 10:04:44 -04:00
sd-login sd-login: test - fix failure when run from non-graphical seat 2017-08-08 16:55:15 +01:00
sd-netlink tree-wide: make use of getpid_cached() wherever we can 2017-07-20 20:27:24 +02:00
sd-network build-sys: drop automake support 2017-07-18 10:04:44 -04:00
sd-path Merge pull request #6266 from keszybz/drop-autotools 2017-07-20 19:56:07 +02:00
sd-resolve tree-wide: make use of getpid_cached() wherever we can 2017-07-20 20:27:24 +02:00
sd-utf8 build-sys: drop automake support 2017-07-18 10:04:44 -04:00
libsystemd.pc.in Adjust pkgconfig files to point at rootlibdir (#4584) 2016-11-08 09:36:41 +01:00
libsystemd.sym Export sd_bus_message_append_ap. It is renamed to sd_bus_message_appendv to follow systemd naming conventions. (#5753) 2017-04-25 09:32:24 +02:00
meson.build Drop kdbus bits 2017-07-23 12:01:54 -04:00