chiark / gitweb /
elogind.git
6 years agoactivate: fix uninitialized memory
Lennart Poettering [Wed, 6 Nov 2013 22:58:43 +0000 (23:58 +0100)]
activate: fix uninitialized memory

6 years agopam_systemd: pass 'unsigned' instead of 'bool' to sd_bus_message_read()
Kay Sievers [Wed, 6 Nov 2013 23:05:03 +0000 (00:05 +0100)]
pam_systemd: pass 'unsigned' instead of 'bool' to sd_bus_message_read()

6 years agobuild-sys: add sd-event to socket-proxyd
Kay Sievers [Wed, 6 Nov 2013 22:23:33 +0000 (23:23 +0100)]
build-sys: add sd-event to socket-proxyd

6 years agomkdir: modernize header ifdefs
Lennart Poettering [Wed, 6 Nov 2013 21:59:23 +0000 (22:59 +0100)]
mkdir: modernize header ifdefs

6 years agosocket-proxyd: rework to support multiple sockets and splice()-based zero-copy network IO
Lennart Poettering [Wed, 6 Nov 2013 21:40:54 +0000 (22:40 +0100)]
socket-proxyd: rework to support multiple sockets and splice()-based zero-copy network IO

This also drops --ignore-env, which can't really work anymore if we
allow multiple fds. Also adds support for pretty printing of peer
identities for debug purposes, and abstract namespace UNIX sockets. Also
ensures that we never take more connections than a certain limit.

6 years agoactive: rework make_socket_fd() to be based on socket_address_listen()
Lennart Poettering [Wed, 6 Nov 2013 21:30:35 +0000 (22:30 +0100)]
active: rework make_socket_fd() to be based on socket_address_listen()

Among other things this makes sure we set SO_REUSEADDR which is
immensely useful.

6 years agoactivate: reduce log settings to normal
Lennart Poettering [Wed, 6 Nov 2013 21:27:42 +0000 (22:27 +0100)]
activate: reduce log settings to normal

6 years agoactivate: get rid of redundant definiton of fd_cloexec()
Lennart Poettering [Wed, 6 Nov 2013 21:27:20 +0000 (22:27 +0100)]
activate: get rid of redundant definiton of fd_cloexec()

6 years agopam_systemd: port to libsystemd-bus
Zbigniew Jędrzejewski-Szmek [Tue, 5 Nov 2013 05:01:12 +0000 (00:01 -0500)]
pam_systemd: port to libsystemd-bus

6 years agosystemd_pam: treat debug as debug=1 and parse all params
Zbigniew Jędrzejewski-Szmek [Thu, 31 Oct 2013 04:58:25 +0000 (00:58 -0400)]
systemd_pam: treat debug as debug=1 and parse all params

systemd_pam would ignore all params after the first invalid one.
Instead ignore just this one, and parse the rest. There's just
one now, but as a matter of principle ;)

Also, allow debug as an alias for debug=1, and don't treat
invalid debug= options as fatal.

6 years agobus: add public libsystemd-event
Zbigniew Jędrzejewski-Szmek [Wed, 6 Nov 2013 07:47:39 +0000 (02:47 -0500)]
bus: add public libsystemd-event

6 years agobus: export libsystemd-bus as a public library
Zbigniew Jędrzejewski-Szmek [Wed, 6 Nov 2013 07:33:42 +0000 (02:33 -0500)]
bus: export libsystemd-bus as a public library

Old static libsystemd-bus.la becomes libsystemd-bus-internal.la.
memfd functions are also exported in the same library.

(Best viewed with --color-words -U0).

6 years agomachinectl: use initialization instead of zeroing
Zbigniew Jędrzejewski-Szmek [Thu, 31 Oct 2013 03:32:27 +0000 (23:32 -0400)]
machinectl: use initialization instead of zeroing

6 years agoefi-boot-generator: simplify
Zbigniew Jędrzejewski-Szmek [Thu, 31 Oct 2013 03:03:28 +0000 (23:03 -0400)]
efi-boot-generator: simplify

6 years agosocket-proxy: clean-up indenting
Lennart Poettering [Wed, 6 Nov 2013 17:29:24 +0000 (18:29 +0100)]
socket-proxy: clean-up indenting

6 years agoclients: unify how we invoke getopt_long()
Lennart Poettering [Wed, 6 Nov 2013 17:28:39 +0000 (18:28 +0100)]
clients: unify how we invoke getopt_long()

Among other things this makes sure we always expose a --version command
and show it in the help texts.

6 years agopath-util: paths_check_timestamp() opimizations
Lennart Poettering [Wed, 6 Nov 2013 16:34:54 +0000 (17:34 +0100)]
path-util: paths_check_timestamp() opimizations

6 years agoinhibit: don't return error code on --help
Lennart Poettering [Wed, 6 Nov 2013 16:33:44 +0000 (17:33 +0100)]
inhibit: don't return error code on --help

6 years agobusctl: port over to use bus_open_transport()
Lennart Poettering [Wed, 6 Nov 2013 16:33:24 +0000 (17:33 +0100)]
busctl: port over to use bus_open_transport()

6 years agoclients: various simplifications
Lennart Poettering [Wed, 6 Nov 2013 16:32:51 +0000 (17:32 +0100)]
clients: various simplifications

6 years agorun: support --system to match other commands, even if redundant
Lennart Poettering [Wed, 6 Nov 2013 16:31:20 +0000 (17:31 +0100)]
run: support --system to match other commands, even if redundant

6 years agoanalyze: port over to use bus_open_transport()
Lennart Poettering [Wed, 6 Nov 2013 16:30:39 +0000 (17:30 +0100)]
analyze: port over to use bus_open_transport()

6 years agoanalyze: simplify things
Lennart Poettering [Wed, 6 Nov 2013 15:38:21 +0000 (16:38 +0100)]
analyze: simplify things

6 years agoanalyze: fix indentation
Lennart Poettering [Wed, 6 Nov 2013 15:38:08 +0000 (16:38 +0100)]
analyze: fix indentation

6 years agoRevert "hostnamed: prevent it from crashing if the chassis is unknown"
Kay Sievers [Wed, 6 Nov 2013 12:38:28 +0000 (13:38 +0100)]
Revert "hostnamed: prevent it from crashing if the chassis is unknown"

This reverts commit 95b015de3849d8d8d03d9441ae1682a04c38833b.

"bus: handle serialization of NULL strings" (cd6f997f71c3aba16aa08226d423d14cbc787f82)
should fix this issue.

6 years agoComment spelling fixes.
David Strauss [Wed, 6 Nov 2013 10:03:18 +0000 (20:03 +1000)]
Comment spelling fixes.

6 years agoutil: unify reading of /proc/cmdline
Lennart Poettering [Wed, 6 Nov 2013 02:15:16 +0000 (03:15 +0100)]
util: unify reading of /proc/cmdline

Instead of individually checking for containers in each user do this
once in a new call proc_cmdline() that read the file only if we are not
in a container.

6 years agonspawn: explicitly terminate machines when we exit nspawn
Lennart Poettering [Wed, 6 Nov 2013 01:05:06 +0000 (02:05 +0100)]
nspawn: explicitly terminate machines when we exit nspawn

https://bugs.freedesktop.org/show_bug.cgi?id=68370
https://bugzilla.redhat.com/show_bug.cgi?id=988883

6 years agomachined: keep track of the initial leader PID of a machine
Lennart Poettering [Wed, 6 Nov 2013 01:03:04 +0000 (02:03 +0100)]
machined: keep track of the initial leader PID of a machine

This way we can without races always determine the machine for a leader
PID. This allows machine managers to query the machine for a forked off
container/VM  without a race where the child might already have died
before we could read the cgroup information from /proc/$PID/cgroup.

6 years agobus: handle serialization of NULL strings
Lennart Poettering [Wed, 6 Nov 2013 01:01:43 +0000 (02:01 +0100)]
bus: handle serialization of NULL strings

Instead of simply crashing be somewhat nicer and serialize a NULL string
into the empty string and generate an error on signature and object path
strings.

6 years agoshutdown: trim the cgroup tree on loop iteration
Lennart Poettering [Tue, 5 Nov 2013 21:17:03 +0000 (22:17 +0100)]
shutdown: trim the cgroup tree on loop iteration

This way we leave the cgroup empty before exiting in a container which
makes sure the container manager will get cgroup notification event

https://bugs.freedesktop.org/show_bug.cgi?id=68370
https://bugzilla.redhat.com/show_bug.cgi?id=988883

6 years agocgroup: run PID 1 in the root cgroup
Lennart Poettering [Tue, 5 Nov 2013 21:14:52 +0000 (22:14 +0100)]
cgroup: run PID 1 in the root cgroup

This way cleaning up the cgroup tree on shutdown is a lot easier since
we are in the root dir. Also PID 1 was previously artificially placed in
system.slice, even though our rule actually was not to have processes in
slices. The root slice otoh is magic anyway, so having PID 1 in there
sounds less surprising.

Of course, this means that PID is scheduled against the three top-level
slices.

6 years agobus: test-bus-marshal - make dbus-1 optional
Kay Sievers [Wed, 6 Nov 2013 01:03:05 +0000 (02:03 +0100)]
bus: test-bus-marshal - make dbus-1 optional

6 years agohostnamed: prevent it from crashing if the chassis is unknown
Thomas Hindoe Paaboel Andersen [Tue, 5 Nov 2013 23:30:29 +0000 (00:30 +0100)]
hostnamed: prevent it from crashing if the chassis is unknown

When fallback_chassis would return null it led to a crash and an
empty result in hostnamectl. Only seen after the sd-port.

6 years agobootctl: typo fix in help message
Thomas Hindoe Paaboel Andersen [Tue, 5 Nov 2013 23:29:49 +0000 (00:29 +0100)]
bootctl: typo fix in help message

6 years agobuild-sys: remove CFLAGS default assignment
Kay Sievers [Tue, 5 Nov 2013 20:35:20 +0000 (21:35 +0100)]
build-sys: remove CFLAGS default assignment

6 years agoman: do not use <term> in <para>
Kay Sievers [Tue, 5 Nov 2013 20:34:50 +0000 (21:34 +0100)]
man: do not use <term> in <para>

Element term in namespace '' encountered in para, but no template matches.

6 years agologin: port test-inhibit to libsystemd-bus
Kay Sievers [Tue, 5 Nov 2013 19:58:18 +0000 (20:58 +0100)]
login: port test-inhibit to libsystemd-bus

6 years agobus: never report nodes as children that do not have the right prefix
Lennart Poettering [Tue, 5 Nov 2013 20:24:33 +0000 (21:24 +0100)]
bus: never report nodes as children that do not have the right prefix

6 years agoupdate TODO
Lennart Poettering [Tue, 5 Nov 2013 19:55:14 +0000 (20:55 +0100)]
update TODO

6 years agologind: add virtual object paths that always can be used to refer to the callers...
Lennart Poettering [Tue, 5 Nov 2013 19:52:39 +0000 (20:52 +0100)]
logind: add virtual object paths that always can be used to refer to the callers session, user, seat or machine object

This way clients can skip invoking GetSessionByPID() for their own PID
or a similar call to access these objects.

6 years agoupdate TODO
Lennart Poettering [Tue, 5 Nov 2013 19:52:20 +0000 (20:52 +0100)]
update TODO

6 years agobus: add sd_bus_get_current() bus call to determine message that is currently being...
Lennart Poettering [Tue, 5 Nov 2013 19:51:49 +0000 (20:51 +0100)]
bus: add sd_bus_get_current() bus call to determine message that is currently being dispatched

6 years agologind: automatically determine client side PID if GetSessionByPID() is called with...
Lennart Poettering [Tue, 5 Nov 2013 19:44:27 +0000 (20:44 +0100)]
logind: automatically determine client side PID if GetSessionByPID() is called with a PID == 0

6 years agoman: fix typo
Ronny Chevalier [Sun, 3 Nov 2013 14:07:31 +0000 (15:07 +0100)]
man: fix typo

6 years agoConfigurable Timeouts/Restarts default values
Oleksii Shevchuk [Mon, 4 Nov 2013 16:47:43 +0000 (18:47 +0200)]
Configurable Timeouts/Restarts default values

https://bugs.freedesktop.org/show_bug.cgi?id=71132

Patch adds DefaultTimeoutStartSec, DefaultTimeoutStopSec, DefaultRestartSec
configuration options to manager configuration file.

6 years agobus: add new bus API call sd_bus_message_at_end()
Lennart Poettering [Tue, 5 Nov 2013 18:36:05 +0000 (19:36 +0100)]
bus: add new bus API call sd_bus_message_at_end()

This may be used to determine whether we are at the end of a container
ot the entire message.

6 years agobus: make use of assert_return() in all API calls that don't use it yet
Lennart Poettering [Tue, 5 Nov 2013 18:14:58 +0000 (19:14 +0100)]
bus: make use of assert_return() in all API calls that don't use it yet

6 years agobus: add sd_bus_message_read_strv()
Marc-Antoine Perennou [Tue, 5 Nov 2013 12:42:25 +0000 (21:42 +0900)]
bus: add sd_bus_message_read_strv()

It will be useful to have that in the public API.

6 years agonspawn: log out of memory errors
Djalal Harouni [Tue, 5 Nov 2013 14:26:37 +0000 (15:26 +0100)]
nspawn: log out of memory errors

6 years agologind: fix serialization for PrepareForSleep boolean
Lennart Poettering [Tue, 5 Nov 2013 16:59:55 +0000 (17:59 +0100)]
logind: fix serialization for PrepareForSleep boolean

6 years agologind: fix serialization of ListInhibitors() request
Lennart Poettering [Tue, 5 Nov 2013 16:47:15 +0000 (17:47 +0100)]
logind: fix serialization of ListInhibitors() request

6 years agobus: fix deserialization of polkit response
Lennart Poettering [Tue, 5 Nov 2013 16:45:46 +0000 (17:45 +0100)]
bus: fix deserialization of polkit response

6 years agoupdate TODO
Lennart Poettering [Tue, 5 Nov 2013 02:06:33 +0000 (03:06 +0100)]
update TODO

6 years agobus: delete some now used dbus1 code
Lennart Poettering [Tue, 5 Nov 2013 02:06:05 +0000 (03:06 +0100)]
bus: delete some now used dbus1 code

6 years agobus: support entering containers without specifying the type
Lennart Poettering [Tue, 5 Nov 2013 01:54:08 +0000 (02:54 +0100)]
bus: support entering containers without specifying the type

On request om Tom Gundersen...

6 years agobus: update bus_map_all_properties()
Kay Sievers [Tue, 5 Nov 2013 01:57:49 +0000 (02:57 +0100)]
bus: update bus_map_all_properties()

6 years agobus: add sd_bus_message_skip() to skip over multiple fields
Lennart Poettering [Tue, 5 Nov 2013 01:25:24 +0000 (02:25 +0100)]
bus: add sd_bus_message_skip() to skip over multiple fields

6 years agobus: allow that if the destination pointer in sd_bus_message_read_basic() is NULL...
Lennart Poettering [Tue, 5 Nov 2013 01:24:53 +0000 (02:24 +0100)]
bus: allow that if the destination pointer in sd_bus_message_read_basic() is NULL we skip over a field

6 years agonet-util: don't use libudev
Tom Gundersen [Tue, 5 Nov 2013 00:35:26 +0000 (01:35 +0100)]
net-util: don't use libudev

Should fix linking with old toolchain.

6 years agologind: expose linger state on User object
Lennart Poettering [Tue, 5 Nov 2013 00:27:27 +0000 (01:27 +0100)]
logind: expose linger state on User object

6 years agologind: fix serialization of ListSeats() bus call
Lennart Poettering [Tue, 5 Nov 2013 00:20:52 +0000 (01:20 +0100)]
logind: fix serialization of ListSeats() bus call

6 years agologind: port logind to libsystemd-bus
Lennart Poettering [Tue, 5 Nov 2013 00:10:21 +0000 (01:10 +0100)]
logind: port logind to libsystemd-bus

6 years agolocaled: mark bus properties as change emitting
Lennart Poettering [Mon, 4 Nov 2013 23:53:46 +0000 (00:53 +0100)]
localed: mark bus properties as change emitting

Otherwise sd_bus_emit_properties_changed() will refuse sending out
change signals

6 years agouser-sessions: modernizations
Lennart Poettering [Mon, 4 Nov 2013 23:53:19 +0000 (00:53 +0100)]
user-sessions: modernizations

6 years agomachined: simplifications
Lennart Poettering [Mon, 4 Nov 2013 23:52:46 +0000 (00:52 +0100)]
machined: simplifications

6 years agoevent: add some well-defined priority values of event sources
Lennart Poettering [Mon, 4 Nov 2013 23:51:14 +0000 (00:51 +0100)]
event: add some well-defined priority values of event sources

6 years agobus: make it easy to serialize C99 bools and uids/gids/pids via vtable properties
Lennart Poettering [Mon, 4 Nov 2013 23:50:34 +0000 (00:50 +0100)]
bus: make it easy to serialize C99 bools and uids/gids/pids via vtable properties

6 years agobus: support implicit serialization of strv string arrays within vtables
Lennart Poettering [Mon, 4 Nov 2013 23:49:50 +0000 (00:49 +0100)]
bus: support implicit serialization of strv string arrays within vtables

6 years agobus: dbus-daemons' access messages are a bit too verbose
Lennart Poettering [Mon, 4 Nov 2013 23:49:19 +0000 (00:49 +0100)]
bus: dbus-daemons' access messages are a bit too verbose

6 years agoupdate TODO
Lennart Poettering [Mon, 4 Nov 2013 23:48:47 +0000 (00:48 +0100)]
update TODO

6 years agortnl: add support for routes
Tom Gundersen [Mon, 4 Nov 2013 01:42:23 +0000 (02:42 +0100)]
rtnl: add support for routes

6 years agonet-config: start split out matching and parsing logic
Tom Gundersen [Sat, 2 Nov 2013 01:13:48 +0000 (02:13 +0100)]
net-config: start split out matching and parsing logic

Move this to src/share/net-util.c, so it can be used elsewhere.

6 years agohostnamectl: H requires an argument, P is no longer used
Thomas Hindoe Paaboel Andersen [Mon, 4 Nov 2013 16:32:50 +0000 (17:32 +0100)]
hostnamectl: H requires an argument, P is no longer used

6 years agoudev: udevd - rules can be NULL when reloading
Kay Sievers [Mon, 4 Nov 2013 14:53:27 +0000 (15:53 +0100)]
udev: udevd - rules can be NULL when reloading

6 years agoudev-builtin-keyboard: Fix large scan codes on 32 bit architectures
Martin Pitt [Mon, 4 Nov 2013 06:25:45 +0000 (07:25 +0100)]
udev-builtin-keyboard: Fix large scan codes on 32 bit architectures

Use strtoul(), as scan codes are always positive. On 32 bit architectures
strtol gives wrong results:

  strtol("fffffff0", &endptr, 16)

returns 2147483647 instead of 4294967280.

https://launchpad.net/bugs/1247676

6 years agorules: simply 60-drm.rules
David Herrmann [Sun, 3 Nov 2013 15:17:14 +0000 (16:17 +0100)]
rules: simply 60-drm.rules

We don't need any GOTO, if we merge all matches into a single line.

6 years agorules: load path_id on DRM devices
David Herrmann [Sun, 3 Nov 2013 12:01:20 +0000 (13:01 +0100)]
rules: load path_id on DRM devices

The path_id-builtin provides useful unique aliases for DRM devices. If we
want to configure DRM render-nodes for compositors, we want to avoid
storing the whole sys-path in configuration files. Hence, allow users to
store the short PATH_ID instead.

Load path_id-builtin unconditionally on DRM devices now to always provide
this alias.

6 years agosd-login: Fix typo
Bastien Nocera [Thu, 31 Oct 2013 23:24:52 +0000 (00:24 +0100)]
sd-login: Fix typo

s/sessio,/session,/

6 years agobus: make bus_map_all_properties() call idempotent
Kay Sievers [Sat, 2 Nov 2013 01:35:23 +0000 (02:35 +0100)]
bus: make bus_map_all_properties() call idempotent

6 years agohostnamectl: port to sd-bus
Simon Peeters [Wed, 30 Oct 2013 05:55:31 +0000 (06:55 +0100)]
hostnamectl: port to sd-bus

Kay:
 - rebase to new transport logic
 - replaced iteration macro with property map

6 years agobus: use internal helper to read org.freedesktop.DBus.Properties::GetAll variables
Kay Sievers [Fri, 1 Nov 2013 23:10:12 +0000 (00:10 +0100)]
bus: use internal helper to read org.freedesktop.DBus.Properties::GetAll variables

6 years agodetect_virtualization() returns NULL; pass empty string to dbus
Kay Sievers [Fri, 1 Nov 2013 23:01:32 +0000 (00:01 +0100)]
detect_virtualization() returns NULL; pass empty string to dbus

6 years agoanalyze: rename variables
Thomas Hindoe Paaboel Andersen [Fri, 1 Nov 2013 22:11:37 +0000 (23:11 +0100)]
analyze: rename variables

6 years agoanalyze: plot: place the text on the side with most space
Thomas Hindoe Paaboel Andersen [Fri, 1 Nov 2013 21:57:47 +0000 (22:57 +0100)]
analyze: plot: place the text on the side with most space

Set the width of the svg to always fit the longest string
while taking its starting position into consideration.

Place the text on the right while the starting point is
in the first half of the screen. After that we put it on
the left to save the svg from being wider that it has to.

6 years agomachinectl: fix warning when compiling with -Og
Thomas Hindoe Paaboel Andersen [Fri, 1 Nov 2013 19:54:29 +0000 (20:54 +0100)]
machinectl: fix warning when compiling with -Og

src/machine/machinectl.c: In function ‘openpt_in_namespace’:
src/machine/machinectl.c:623:44: warning: ‘master’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                         close_nointr_nofail(master);
                                            ^

6 years agosystemctl: fix typo in help text
Thomas Hindoe Paaboel Andersen [Fri, 1 Nov 2013 19:46:49 +0000 (20:46 +0100)]
systemctl: fix typo in help text

7 years agosocket-proxyd: Actually, some of those sizes are unsigned.
David Strauss [Thu, 31 Oct 2013 22:30:49 +0000 (15:30 -0700)]
socket-proxyd: Actually, some of those sizes are unsigned.

7 years agofix compiler warnings
Ronny Chevalier [Thu, 31 Oct 2013 18:26:32 +0000 (19:26 +0100)]
fix compiler warnings

multiple warnings like

src/socket-proxy/socket-proxyd.c: In function ‘transfer_data_cb’:
src/socket-proxy/socket-proxyd.c:237:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ [-Wformat=]
                         log_debug("Buffer now has %ld bytes full.", c->buffer_filled_len);

7 years agoanalyze: share code to read a string array from sd-bus
Thomas Hindoe Paaboel Andersen [Thu, 31 Oct 2013 22:11:39 +0000 (23:11 +0100)]
analyze: share code to read a string array from sd-bus

7 years agoanalyze: use sd_bus_get_propery_trivial and indentation
Thomas Hindoe Paaboel Andersen [Thu, 31 Oct 2013 22:08:16 +0000 (23:08 +0100)]
analyze: use sd_bus_get_propery_trivial and indentation

7 years agotimedatectl: remove unused variable
Thomas Hindoe Paaboel Andersen [Thu, 31 Oct 2013 21:02:29 +0000 (22:02 +0100)]
timedatectl: remove unused variable

7 years agovirt: move caching of virtualization check results into detect_vm() and detect_contai...
Lennart Poettering [Thu, 31 Oct 2013 15:23:06 +0000 (16:23 +0100)]
virt: move caching of virtualization check results into detect_vm() and detect_container()

After all, we ended up calling detect_container() more often than
detect_virtualization(), hence the former one should cache the results,
since the latter is only a wrapper around the former.

7 years agoman: explain NAME in systemctl man page
Václav Pavlín [Thu, 31 Oct 2013 13:36:41 +0000 (14:36 +0100)]
man: explain NAME in systemctl man page

7 years agoRevert "timedated: support --enable-split-usr"
Lennart Poettering [Thu, 31 Oct 2013 10:20:33 +0000 (11:20 +0100)]
Revert "timedated: support --enable-split-usr"

This reverts commit 36f9f99556b2fd90705a9eda2e8f182b1e63a15e.

The ntp unit information is only needed by timedated which runs in late
boot only, where all disks are around. Hence there's no point in
allowing them to be located in the rootprefix.

7 years agozsh-completion: add systemd-run
Ronny Chevalier [Wed, 30 Oct 2013 20:57:44 +0000 (21:57 +0100)]
zsh-completion: add systemd-run

7 years agolocalectl: always print error message when an operation fails
Lennart Poettering [Thu, 31 Oct 2013 02:12:37 +0000 (03:12 +0100)]
localectl: always print error message when an operation fails

7 years agotimedatectl: do not print the time zone for the rtc time
Kay Sievers [Thu, 31 Oct 2013 02:04:07 +0000 (03:04 +0100)]
timedatectl: do not print the time zone for the rtc time

7 years agotimedatectl: assorted simplifications
Lennart Poettering [Thu, 31 Oct 2013 02:02:49 +0000 (03:02 +0100)]
timedatectl: assorted simplifications

7 years agotimedatectl: get time values from the service instead of the client
Kay Sievers [Thu, 31 Oct 2013 01:26:07 +0000 (02:26 +0100)]
timedatectl: get time values from the service instead of the client

This allow querying the RTC time from the unprivileged timedatectl.