chiark / gitweb /
elogind.git
5 years agoFix typos in systemctl manpage
Eelco Dolstra [Thu, 15 May 2014 11:11:00 +0000 (13:11 +0200)]
Fix typos in systemctl manpage

5 years agoudev: do not skip the execution of RUN when renaming a network device fails
Kay Sievers [Tue, 13 May 2014 22:34:49 +0000 (00:34 +0200)]
udev: do not skip the execution of RUN when renaming a network device fails

5 years agosd-bus: introduce sd_bus_slot objects encapsulating callbacks or vtables attached...
Lennart Poettering [Wed, 14 May 2014 23:15:30 +0000 (01:15 +0200)]
sd-bus: introduce sd_bus_slot objects encapsulating callbacks or vtables attached to a bus connection

This makes callback behaviour more like sd-event or sd-resolve, and
creates proper object for unregistering callbacks.

Taking the refernce to the slot is optional. If not taken life time of
the slot will be bound to the underlying bus object (or in the case of
an async call until the reply has been recieved).

5 years agosd-event: reorder header slightly
Lennart Poettering [Wed, 14 May 2014 22:44:29 +0000 (00:44 +0200)]
sd-event: reorder header slightly

5 years agohashmap: add hashmap_remove2() to remove item from hashtable and return both value...
Lennart Poettering [Wed, 14 May 2014 22:43:44 +0000 (00:43 +0200)]
hashmap: add hashmap_remove2() to remove item from hashtable and return both value and key

5 years agocore: no need to pass bus object to selinux access check calls anymore
Lennart Poettering [Wed, 14 May 2014 20:44:45 +0000 (22:44 +0200)]
core: no need to pass bus object to selinux access check calls anymore

5 years agobus: add userdata API for bus name tracker objects
Lennart Poettering [Tue, 6 May 2014 17:15:36 +0000 (19:15 +0200)]
bus: add userdata API for bus name tracker objects

5 years agocore: sysvcompat - avoid repeated function call
Tom Gundersen [Wed, 14 May 2014 20:03:14 +0000 (22:03 +0200)]
core: sysvcompat - avoid repeated function call

5 years agocore: sysvcompat - $network should be equivalent to network-online, rather than netwo...
Tom Gundersen [Mon, 12 May 2014 19:26:54 +0000 (21:26 +0200)]
core: sysvcompat - $network should be equivalent to network-online, rather than network target

Most likely the  facility needed is actual connectivity, rather than whether or not the
network managment daemon is running.

We also need to explicitly pull in the network-online.target, as it is not active by
default.

This means {systemd-networkd,NetworkManager}-wait-online.service, can be enabled by default
as part of network-online.target, and only delay boot when some service actively pulls it in.

See: <https://bugzilla.gnome.org/show_bug.cgi?id=728965>

Cc: Pavel Šimerda <psimerda@redhat.com>
Cc: Michal Sekletar <msekleta@redhat.com>
5 years agoshared: add ring buffer
David Herrmann [Tue, 13 May 2014 18:08:18 +0000 (20:08 +0200)]
shared: add ring buffer

New "struct ring" object that implements a basic ring buffer for arbitrary
byte-streams. A new basic runtime test is also added.

This will be needed for our pty helpers for systemd-console and friends.

5 years agoshared: add ALIGN_POWER2 macro
David Herrmann [Tue, 13 May 2014 17:47:58 +0000 (19:47 +0200)]
shared: add ALIGN_POWER2 macro

Sounds easy, turns out to be horrible to implement: ALIGN_POWER2 returns
the next higher power of 2. clz(0) is undefined, same is true for
left-shift-overflows, yey, C rocks!

5 years agoreplace more dup() by F_DUPFD_CLOEXEC
Lennart Poettering [Tue, 13 May 2014 14:40:53 +0000 (16:40 +0200)]
replace more dup() by F_DUPFD_CLOEXEC

5 years agopam_systemd: use F_DUPFD_CLOEXEC when dupping session fds
Lennart Poettering [Tue, 13 May 2014 14:35:34 +0000 (16:35 +0200)]
pam_systemd: use F_DUPFD_CLOEXEC when dupping session fds

http://lists.freedesktop.org/archives/systemd-devel/2014-May/019034.html

5 years agoudev: rename netif - properly break lines in kmsg
Tom Gundersen [Tue, 13 May 2014 10:23:14 +0000 (12:23 +0200)]
udev: rename netif - properly break lines in kmsg

Before:

30,997,4553484,-;systemd-udevd[439]: renamed network interface wwan0 to wwp0s20u4i6systemd-udevd[439]: renamed network interface wlan0 to wlp3s0
30,998,1175077801,c;systemd-udevd[2345]: renamed network interface wwan0 to wwp0s20u4i6

After:

30,834,4553484,-;systemd-udevd[439]: renamed network interface wwan0 to wwp0s20u4i6
30,835,4732949,-;systemd-udevd[439]: renamed network interface wlan0 to wlp3s0
30,988,1175077801,-;systemd-udevd[2345]: renamed network interface wwan0 to wwp0s20u4i6

5 years agotimesyncd: start after networkd
Tom Gundersen [Tue, 13 May 2014 07:39:03 +0000 (09:39 +0200)]
timesyncd: start after networkd

This is needed for the network monitor to work (as it requires networkd to set up the correct directories first).

5 years agonetworkd-ipip-tunnel: add support ttl
Susant Sahani [Fri, 2 May 2014 17:59:56 +0000 (23:29 +0530)]
networkd-ipip-tunnel: add support ttl

Add support for ipip tunnel ttl.

5 years agonetworkd: Add todo patch kernel for tunnel module alias
Susant Sahani [Thu, 1 May 2014 10:46:55 +0000 (16:16 +0530)]
networkd: Add todo patch kernel for tunnel module alias

Add to todo :

1. Patch kernel to support module alias for tunnel device
2. Remove libkmod dependency from networkd

5 years agonetworkd: manager - don't leak kmod context
Tom Gundersen [Mon, 12 May 2014 15:11:13 +0000 (17:11 +0200)]
networkd: manager - don't leak kmod context

Also, keep the kmod_new internal to networkd-manager.c

5 years agonetworkd: unit - add cap to load modules
Tom Gundersen [Mon, 12 May 2014 15:37:52 +0000 (17:37 +0200)]
networkd: unit - add cap to load modules

Remember to drop this when the kernel gains autoloading for all netdev kinds.

5 years agonetworkd: introduce ipip tunnel
Susant Sahani [Mon, 12 May 2014 05:18:24 +0000 (10:48 +0530)]
networkd: introduce ipip tunnel

This patch enables basic ipip tunnel support.
It works with kernel module ipip

example conf:

file: ipip.netdev

[NetDev]
Name=ipip-tun
Kind=ipip
MTUBytes=1480

[Tunnel]
Local=192.168.223.238
Remote=192.169.224.239
TTL=64

file: ipip.network

[Match]
Name=em1

[Network]
Tunnel=ipip-tun

[tomegun:
         - drop unused variable
         - take ref when enslaving]

5 years agojob: always add waiting jobs to run queue during coldplug
Michael Marineau [Mon, 12 May 2014 07:26:16 +0000 (09:26 +0200)]
job: always add waiting jobs to run queue during coldplug

commit 20a83d7bf was not equivalent to the original bug fix proposed by
Michal Sekletar <msekleta@redhat.com>. The committed version only added
the job to the run queue if the job had a timeout, which most jobs do
not have. Just re-ordering the code gets us the intended functionality

5 years agonetworkd: get preexiting addresses when a link is added
Tom Gundersen [Sun, 11 May 2014 11:58:18 +0000 (13:58 +0200)]
networkd: get preexiting addresses when a link is added

5 years agonetworkd: listen for address changes
Tom Gundersen [Sat, 10 May 2014 17:39:03 +0000 (19:39 +0200)]
networkd: listen for address changes

This is proof-of-concept only, as we only log the changes but don't do anything
with it.

5 years agortnl: message - fix check for broadcast messages
Tom Gundersen [Sat, 10 May 2014 18:16:10 +0000 (20:16 +0200)]
rtnl: message - fix check for broadcast messages

5 years agortnl: message - read group membership of incoming messages
Tom Gundersen [Sat, 10 May 2014 18:15:52 +0000 (20:15 +0200)]
rtnl: message - read group membership of incoming messages

5 years agortnl: message - verify that we read the pending message size from the kernel
Tom Gundersen [Sat, 10 May 2014 17:55:00 +0000 (19:55 +0200)]
rtnl: message - verify that we read the pending message size from the kernel

Reuse the auth-checking for both the peek and the real read.

5 years agortnl: message - move code around
Tom Gundersen [Sat, 10 May 2014 17:40:11 +0000 (19:40 +0200)]
rtnl: message - move code around

No functional change.

5 years agortnl: change from bitmask to enum for rtnl groups
Tom Gundersen [Sat, 10 May 2014 17:38:32 +0000 (19:38 +0200)]
rtnl: change from bitmask to enum for rtnl groups

The bitmask is deprecated in the kernel, so move to the new interface. At the moment
this does not make a difference for us, but it avoids having to change the API in the future.

5 years agonetworkd: link - redo flag change logging
Tom Gundersen [Sat, 10 May 2014 14:08:03 +0000 (16:08 +0200)]
networkd: link - redo flag change logging

Make the logging less verbose by only printing all the changed flags on one line,
at the same time make it more complete by supporting all flags currently supported
by the kernel.

We still fall back to printing the raw flags in case we get something we do not recognize
This may be useful when running on new kernels.

5 years agosd-rtnl: message - add support for getting prefixlen from address messages
Tom Gundersen [Sat, 10 May 2014 14:06:23 +0000 (16:06 +0200)]
sd-rtnl: message - add support for getting prefixlen from address messages

5 years agonetworkd: network - fix leak
Tom Gundersen [Fri, 9 May 2014 16:05:42 +0000 (18:05 +0200)]
networkd: network - fix leak

5 years agonetworkd: manager - initialize variables
Tom Gundersen [Fri, 9 May 2014 16:02:14 +0000 (18:02 +0200)]
networkd: manager - initialize variables

5 years agonetworkd: netdev - rephrase logging message a bit
Tom Gundersen [Fri, 9 May 2014 16:00:20 +0000 (18:00 +0200)]
networkd: netdev - rephrase logging message a bit

Make it fit with what is logged from the link.

5 years agonetworkd: manager - refactor link tracking a bit
Tom Gundersen [Fri, 9 May 2014 15:59:20 +0000 (17:59 +0200)]
networkd: manager - refactor link tracking a bit

5 years agosystemctl: return an error code is status fails
Zbigniew Jędrzejewski-Szmek [Sat, 10 May 2014 01:44:25 +0000 (03:44 +0200)]
systemctl: return an error code is status fails

This got lost in the refactoring in f74294c1dabb4.

Also make sure that the return code corresponds to the *first* failure,
not the last.

https://lists.fedoraproject.org/pipermail/devel/2014-May/199080.html

5 years agonetworkd: link - don't log errors when missing routes/addresses are dropped
Tom Gundersen [Fri, 9 May 2014 12:23:17 +0000 (14:23 +0200)]
networkd: link - don't log errors when missing routes/addresses are dropped

We were ignoring the wrong errno.

5 years agonetworkd: link - handle links coming back to life
Tom Gundersen [Fri, 9 May 2014 10:11:15 +0000 (12:11 +0200)]
networkd: link - handle links coming back to life

When enslaving devices, we may receieve DELLINK/NEWLINK for the same ifindex,
let's not be confused by this.

5 years agonetworkd: reorder bonding and bridging
Tom Gundersen [Fri, 9 May 2014 10:20:21 +0000 (12:20 +0200)]
networkd: reorder bonding and bridging

A link should only ever be part of one, but if we accidentally do both, let's do it
in the right order so the failure is more obvious in the logs.

5 years agosd-dhcp-client: improve logging when stopping client
Tom Gundersen [Thu, 8 May 2014 22:26:22 +0000 (00:26 +0200)]
sd-dhcp-client: improve logging when stopping client

'Requested by user' was confusing, just drop it.

5 years agonetworkd: manager - drop links and netdevs when we receive DELLINK
Tom Gundersen [Thu, 8 May 2014 16:55:11 +0000 (18:55 +0200)]
networkd: manager - drop links and netdevs when we receive DELLINK

5 years agonetworkd: netdev - drop if creation fails
Tom Gundersen [Thu, 8 May 2014 19:08:12 +0000 (21:08 +0200)]
networkd: netdev - drop if creation fails

This ensures that all links waiting to be enslaved are notified that the netdev does not exist.

5 years agonetworkd: link - introduce LINGER state and link_drop()
Tom Gundersen [Thu, 8 May 2014 18:50:05 +0000 (20:50 +0200)]
networkd: link - introduce LINGER state and link_drop()

We need the LINGER state in case we still have references to the link after it has been dropped.

5 years agonetworkd: netdev - introduce LINGER state and netdev_drop()
Tom Gundersen [Thu, 8 May 2014 18:42:22 +0000 (20:42 +0200)]
networkd: netdev - introduce LINGER state and netdev_drop()

We need the LINGER state in case we still have references to the netdev after it has been dropped.

5 years agonetworkd: netdev - cancel all callbacks when freeing
Tom Gundersen [Thu, 8 May 2014 18:40:56 +0000 (20:40 +0200)]
networkd: netdev - cancel all callbacks when freeing

This notifies the link that the netdev no longer exists.

5 years agonetworkd: link - take refcounts on links
Tom Gundersen [Thu, 8 May 2014 17:46:06 +0000 (19:46 +0200)]
networkd: link - take refcounts on links

We need to take a refcount on the link whenever we expect a callback. The exceptions
are the ipv4ll/dhcp clients as their lifetimes are guaranteed to be shorter than that
of the link.

5 years agonetworkd: network - do reference counting on netdevs
Tom Gundersen [Thu, 8 May 2014 17:28:17 +0000 (19:28 +0200)]
networkd: network - do reference counting on netdevs

5 years agonetworkd: network - merge all netdev parsing into one function
Tom Gundersen [Thu, 8 May 2014 17:22:53 +0000 (19:22 +0200)]
networkd: network - merge all netdev parsing into one function

5 years agonetworkd: introduce refcounting for Links and NetDevs
Tom Gundersen [Thu, 8 May 2014 16:54:26 +0000 (18:54 +0200)]
networkd: introduce refcounting for Links and NetDevs

5 years agonetworkd: link - clean up state files
Tom Gundersen [Thu, 8 May 2014 16:53:32 +0000 (18:53 +0200)]
networkd: link - clean up state files

Also keep the path to the lease file around rather than regenarating it all the time.

5 years agoman: sd_journal_send does nothing when journald is not available
Zbigniew Jędrzejewski-Szmek [Fri, 9 May 2014 12:39:25 +0000 (08:39 -0400)]
man: sd_journal_send does nothing when journald is not available

https://bugzilla.redhat.com/show_bug.cgi?id=1096067

5 years agotimesyncd: read global operational state from networkd
Tom Gundersen [Thu, 8 May 2014 15:32:32 +0000 (17:32 +0200)]
timesyncd: read global operational state from networkd

5 years agosd-network: expose global operational state
Tom Gundersen [Thu, 8 May 2014 15:21:37 +0000 (17:21 +0200)]
sd-network: expose global operational state

5 years agotimesyncd: only run when the system has a carrier on a network interface
Tom Gundersen [Wed, 7 May 2014 13:26:47 +0000 (15:26 +0200)]
timesyncd: only run when the system has a carrier on a network interface

As the operational state detection in sd-network is still too primitive, timesyncd
will likely try to connect a bit early, so the first attempt will fail.

5 years agonetworkd-wait-online: flush monitor events after processing
Tom Gundersen [Thu, 8 May 2014 11:14:42 +0000 (13:14 +0200)]
networkd-wait-online: flush monitor events after processing

Otherwise the event will trigger immediately again.

5 years agonetworkd-wait-online: fix false positives when checking if a link is managed by networkd
Tom Gundersen [Thu, 8 May 2014 11:11:23 +0000 (13:11 +0200)]
networkd-wait-online: fix false positives when checking if a link is managed by networkd

5 years agonetworkd: link - operstate is an enum, not a bitmask
Tom Gundersen [Thu, 8 May 2014 10:32:11 +0000 (12:32 +0200)]
networkd: link - operstate is an enum, not a bitmask

5 years agocore: check the right variable for failed open()
Łukasz Stelmach [Thu, 8 May 2014 10:57:26 +0000 (12:57 +0200)]
core: check the right variable for failed open()

5 years agodoc: balance C indirections in function prototypes
Jan Engelhardt [Wed, 7 May 2014 23:28:46 +0000 (01:28 +0200)]
doc: balance C indirections in function prototypes

Shift the asterisks in the documentation's prototypes such that they
are consistent among each other. Use the right side to match what is
used in source code.

Addendum to commit v209~82.

5 years agodoc: write out stdin/stdout file descriptors
Jan Engelhardt [Wed, 7 May 2014 23:28:47 +0000 (01:28 +0200)]
doc: write out stdin/stdout file descriptors

"When refering to code, STDOUT/STDOUT/STDERR are replaced with
stdin/stdout/stderr, and in other places they are replaced with
normal phrases like standard output, etc."

Addendum to commit v209~127.

5 years agodoc: comma placement corrections and word order
Jan Engelhardt [Wed, 7 May 2014 23:28:45 +0000 (01:28 +0200)]
doc: comma placement corrections and word order

Set commas where there should be some.
Some improvements to word order.

5 years agodoc: corrections to words and forms
Jan Engelhardt [Wed, 7 May 2014 23:28:44 +0000 (01:28 +0200)]
doc: corrections to words and forms

This patch exchange words which are inappropriate for a situation,
deletes duplicated words, and adds particles where needed.

5 years agobacklight: handle saved brightness exceeding max brightness
Jani Nikula [Wed, 7 May 2014 09:01:01 +0000 (12:01 +0300)]
backlight: handle saved brightness exceeding max brightness

If too high a brightness value has been saved (e.g. due to kernel
mechanism changing from one kernel version to another, or booting the
userspace on another system), the brightness update fails and the
process exits.

Clamp saved brightness between the policy minimum introduced in

commit 7b909d7407965c03caaba30daae7aee113627a83
Author: Josh Triplett <josh@joshtriplett.org>
Date:   Tue Mar 11 21:16:33 2014 -0700

    backlight: Avoid restoring brightness to an unreadably dim level

and the absolute maximum.

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

5 years agopo: add Greek translation
Dimitris Spingos [Wed, 7 May 2014 16:27:02 +0000 (18:27 +0200)]
po: add Greek translation

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

5 years agonetworkd-wait-online: rely purely on sd-network events and drop rtnl hooks
Tom Gundersen [Wed, 7 May 2014 14:35:52 +0000 (16:35 +0200)]
networkd-wait-online: rely purely on sd-network events and drop rtnl hooks

5 years agonetworkd: link - always maintain link operstate regardless of admin state
Tom Gundersen [Wed, 7 May 2014 14:42:47 +0000 (16:42 +0200)]
networkd: link - always maintain link operstate regardless of admin state

5 years agosd-network: expose both admin and operational state directly
Tom Gundersen [Wed, 7 May 2014 14:35:05 +0000 (16:35 +0200)]
sd-network: expose both admin and operational state directly

Also add a call to check if a link is loopback, as this should commonly be ignored.

5 years agotimesyncd: shorten log message
Kay Sievers [Wed, 7 May 2014 12:45:32 +0000 (14:45 +0200)]
timesyncd: shorten log message

5 years agodoc: adhere to XML syntax
Jan Engelhardt [Sat, 3 May 2014 17:15:27 +0000 (19:15 +0200)]
doc: adhere to XML syntax

5 years agodoc: typographical fine tuning
Jan Engelhardt [Sat, 3 May 2014 17:15:24 +0000 (19:15 +0200)]
doc: typographical fine tuning

5 years agodoc: use non-contracted forms in written documents
Jan Engelhardt [Sat, 3 May 2014 17:15:23 +0000 (19:15 +0200)]
doc: use non-contracted forms in written documents

5 years agosd-dhcp-client: use asynchronous_close()
Tom Gundersen [Tue, 6 May 2014 20:59:22 +0000 (22:59 +0200)]
sd-dhcp-client: use asynchronous_close()

close() is a blocking call, which may slow things down measurably when running many dhcp
clients in the same single-threaded main loop. Let's just use the asynchronous version
instead to avoid the problem.

5 years agosd-dhcp: network - don't leak sockets on failure
Tom Gundersen [Tue, 6 May 2014 20:02:32 +0000 (22:02 +0200)]
sd-dhcp: network - don't leak sockets on failure

Also some general cleanups

5 years agosd-dhcp: network - set TOS on outgoing packets
Tom Gundersen [Tue, 6 May 2014 20:02:14 +0000 (22:02 +0200)]
sd-dhcp: network - set TOS on outgoing packets

This should improve performance on busy wireless networks and the
like. Inspired by a similar change in dnsmasq.

5 years agodhcp-network: don't pass ifindex to bind_udp_socket
Tom Gundersen [Tue, 6 May 2014 19:57:09 +0000 (21:57 +0200)]
dhcp-network: don't pass ifindex to bind_udp_socket

UDP sockets can anyway not be bound to specific netdev's. The packages would have to be filtered
when received instead.

5 years agoman: document sd_event_add_time(3)
Lennart Poettering [Tue, 6 May 2014 16:51:08 +0000 (18:51 +0200)]
man: document sd_event_add_time(3)

5 years agotimesyncd: hook up systemd-timesyncd with systemd-timedated
Lennart Poettering [Tue, 6 May 2014 16:20:49 +0000 (18:20 +0200)]
timesyncd: hook up systemd-timesyncd with systemd-timedated

Later on we will probably remove support for controlling any other NTP
implementations but systemd-timesyncd, but for now, let's keep things
generic

5 years agotimesyncd: never accept NTP time from server that is older than systemd's release...
Lennart Poettering [Tue, 6 May 2014 16:08:04 +0000 (18:08 +0200)]
timesyncd: never accept NTP time from server that is older than systemd's release time

5 years agojournald: remove some dead code
Lennart Poettering [Tue, 6 May 2014 15:03:28 +0000 (17:03 +0200)]
journald: remove some dead code

5 years agoload-fragment: minor cleanup
Lennart Poettering [Tue, 6 May 2014 15:03:09 +0000 (17:03 +0200)]
load-fragment: minor cleanup

5 years agoupdate TODO
Lennart Poettering [Tue, 6 May 2014 15:02:54 +0000 (17:02 +0200)]
update TODO

5 years agotimesyncd: read server settings from a configuration file
Lennart Poettering [Tue, 6 May 2014 15:02:11 +0000 (17:02 +0200)]
timesyncd: read server settings from a configuration file

Also, allow compiling in a default server list via a configure command
line item.

5 years agotimesyncd: when an NTP server doesn't respond, proceed with the next
Lennart Poettering [Tue, 6 May 2014 14:15:02 +0000 (16:15 +0200)]
timesyncd: when an NTP server doesn't respond, proceed with the next

5 years agolist: make LIST_FIND_TAIL work for empty lists
Lennart Poettering [Tue, 6 May 2014 11:07:15 +0000 (13:07 +0200)]
list: make LIST_FIND_TAIL work for empty lists

5 years agoupdate TODO
Lennart Poettering [Tue, 6 May 2014 11:04:29 +0000 (13:04 +0200)]
update TODO

5 years agotimesyncd: keep order of NTP servers
Lennart Poettering [Tue, 6 May 2014 10:34:03 +0000 (12:34 +0200)]
timesyncd: keep order of NTP servers

5 years agoupdate TODO
Lennart Poettering [Tue, 6 May 2014 10:33:53 +0000 (12:33 +0200)]
update TODO

5 years agotimesyncd: make sure to reread /etc/resolv.conf when we try the next NTP server
Lennart Poettering [Tue, 6 May 2014 10:33:43 +0000 (12:33 +0200)]
timesyncd: make sure to reread /etc/resolv.conf when we try the next NTP server

5 years agotimesyncd: accept NTP version 3 responses
Kay Sievers [Tue, 6 May 2014 10:29:20 +0000 (12:29 +0200)]
timesyncd: accept NTP version 3 responses

5 years agotimesyncd: add a more servers by default
Lennart Poettering [Mon, 5 May 2014 23:37:29 +0000 (01:37 +0200)]
timesyncd: add a more servers by default

5 years agotimesyncd: also try next server when sendto() fails
Lennart Poettering [Mon, 5 May 2014 23:37:13 +0000 (01:37 +0200)]
timesyncd: also try next server when sendto() fails

5 years agotimesyncd: don't busy loop when we cannot connect to any servers
Lennart Poettering [Mon, 5 May 2014 23:29:47 +0000 (01:29 +0200)]
timesyncd: don't busy loop when we cannot connect to any servers

5 years agotimesyncd: properly handle multiple configured NTP servers and multiplei IP addresses...
Lennart Poettering [Mon, 5 May 2014 23:17:35 +0000 (01:17 +0200)]
timesyncd: properly handle multiple configured NTP servers and multiplei IP addresses per server name

5 years agotimesyncd: lookup name server via sd-resolve, support IPv6, react to SIGINT/SITERM
Lennart Poettering [Mon, 5 May 2014 21:53:17 +0000 (23:53 +0200)]
timesyncd: lookup name server via sd-resolve, support IPv6, react to SIGINT/SITERM

5 years agosd-resolve: make sure we can destroy a query object from its own callback handler
Lennart Poettering [Mon, 5 May 2014 21:49:19 +0000 (23:49 +0200)]
sd-resolve: make sure we can destroy a query object from its own callback handler

5 years agosd-event: allow disabling event sources when an event object is dying anyway
Lennart Poettering [Mon, 5 May 2014 21:48:25 +0000 (23:48 +0200)]
sd-event: allow disabling event sources when an event object is dying anyway

5 years agosd-event: make it easy to bind signal handling to event loop exits
Lennart Poettering [Mon, 5 May 2014 21:47:56 +0000 (23:47 +0200)]
sd-event: make it easy to bind signal handling to event loop exits

By passing a NULL callback provide a simple way to make event loops exit
on SIGTERM and other signals.

5 years agotimesync: use safe_close() where possible
Lennart Poettering [Mon, 5 May 2014 19:47:38 +0000 (21:47 +0200)]
timesync: use safe_close() where possible

5 years agotimesync: always initialize structs when declaring them as far as possible with conts...
Lennart Poettering [Mon, 5 May 2014 19:47:09 +0000 (21:47 +0200)]
timesync: always initialize structs when declaring them as far as possible with contsant values

5 years agobuild-sys: enable timesyncd by default
Lennart Poettering [Mon, 5 May 2014 19:39:10 +0000 (21:39 +0200)]
build-sys: enable timesyncd by default

5 years agoupdate TODO
Lennart Poettering [Mon, 5 May 2014 19:18:54 +0000 (21:18 +0200)]
update TODO