Tom Gundersen
bc6345767e
networkd-wait-online: rely purely on sd-network events and drop rtnl hooks
2014-05-07 16:54:02 +02:00
Tom Gundersen
99b4cc3e75
networkd: link - always maintain link operstate regardless of admin state
2014-05-07 16:54:02 +02:00
Tom Gundersen
deb2e5230b
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.
2014-05-07 16:54:02 +02:00
Kay Sievers
089377209f
timesyncd: shorten log message
2014-05-07 14:45:32 +02:00
Jan Engelhardt
b588c2d1b7
doc: adhere to XML syntax
2014-05-06 23:08:04 +02:00
Jan Engelhardt
70a44afee3
doc: typographical fine tuning
2014-05-06 23:05:39 +02:00
Jan Engelhardt
d28315e4af
doc: use non-contracted forms in written documents
2014-05-06 23:05:09 +02:00
Tom Gundersen
22fc2420b2
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.
2014-05-06 22:59:22 +02:00
Tom Gundersen
c3d2994b59
sd-dhcp: network - don't leak sockets on failure
...
Also some general cleanups
2014-05-06 22:15:46 +02:00
Tom Gundersen
85923f79e1
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.
2014-05-06 22:09:05 +02:00
Tom Gundersen
085cabf266
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.
2014-05-06 21:58:08 +02:00
Lennart Poettering
b408026b98
man: document sd_event_add_time(3)
2014-05-06 18:51:08 +02:00
Lennart Poettering
7b8b9686e0
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
2014-05-06 18:20:49 +02:00
Lennart Poettering
661278ee29
timesyncd: never accept NTP time from server that is older than systemd's release time
2014-05-06 18:08:04 +02:00
Lennart Poettering
dfdb269daf
journald: remove some dead code
2014-05-06 17:03:28 +02:00
Lennart Poettering
a429267c44
load-fragment: minor cleanup
2014-05-06 17:03:09 +02:00
Lennart Poettering
8dfb5bced2
update TODO
2014-05-06 17:02:54 +02:00
Lennart Poettering
e8af69739a
timesyncd: read server settings from a configuration file
...
Also, allow compiling in a default server list via a configure command
line item.
2014-05-06 17:02:11 +02:00
Lennart Poettering
16c058ba01
timesyncd: when an NTP server doesn't respond, proceed with the next
2014-05-06 16:15:02 +02:00
Lennart Poettering
376cd3b89c
list: make LIST_FIND_TAIL work for empty lists
2014-05-06 13:07:15 +02:00
Lennart Poettering
2db3e2023d
update TODO
2014-05-06 13:04:29 +02:00
Lennart Poettering
600809211e
timesyncd: keep order of NTP servers
2014-05-06 12:34:37 +02:00
Lennart Poettering
1df52dd282
update TODO
2014-05-06 12:34:37 +02:00
Lennart Poettering
05f7fc0fe3
timesyncd: make sure to reread /etc/resolv.conf when we try the next NTP server
2014-05-06 12:34:37 +02:00
Kay Sievers
136aa3b444
timesyncd: accept NTP version 3 responses
2014-05-06 12:29:20 +02:00
Lennart Poettering
881c74201d
timesyncd: add a more servers by default
2014-05-06 01:37:29 +02:00
Lennart Poettering
becad8f1ed
timesyncd: also try next server when sendto() fails
2014-05-06 01:37:13 +02:00
Lennart Poettering
7a183c4c73
timesyncd: don't busy loop when we cannot connect to any servers
2014-05-06 01:29:47 +02:00
Lennart Poettering
678522cff0
timesyncd: properly handle multiple configured NTP servers and multiplei IP addresses per server name
2014-05-06 01:17:35 +02:00
Lennart Poettering
856a5a7d76
timesyncd: lookup name server via sd-resolve, support IPv6, react to SIGINT/SITERM
2014-05-05 23:53:17 +02:00
Lennart Poettering
73dec31974
sd-resolve: make sure we can destroy a query object from its own callback handler
2014-05-05 23:49:19 +02:00
Lennart Poettering
cc567911ba
sd-event: allow disabling event sources when an event object is dying anyway
2014-05-05 23:48:25 +02:00
Lennart Poettering
59bc1fd776
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.
2014-05-05 23:47:59 +02:00
Lennart Poettering
7ed0dd4be6
timesync: use safe_close() where possible
2014-05-05 21:47:38 +02:00
Lennart Poettering
5f8cfaee52
timesync: always initialize structs when declaring them as far as possible with contsant values
2014-05-05 21:47:09 +02:00
Lennart Poettering
43ba1b3e64
build-sys: enable timesyncd by default
2014-05-05 21:39:10 +02:00
Lennart Poettering
37efac5ddb
update TODO
2014-05-05 21:19:06 +02:00
Lennart Poettering
76cf10dab7
build-sys: move async.[ch] to src/shared
...
So that we can use it at multiple places.
2014-05-05 21:19:06 +02:00
Kay Sievers
99a17ada9c
core: require cgroups filesystem to be available
...
We should no longer pretend that we can run in any sensible way
without the kernel supporting us with cgroups functionality.
2014-05-05 18:52:36 +02:00
Kay Sievers
61fb23db45
hwdb: update
2014-05-05 14:23:10 +02:00
Kay Sievers
ee03381e21
timesyncd: log drift value as signed
2014-05-05 14:21:40 +02:00
Tom Gundersen
7ca1d31964
sd-rtnl-message: append - fix uninitialized memory
...
We were not properly clearing the padding at the front of some containers.
2014-05-03 18:14:42 +02:00
Tom Gundersen
3f781aa8a0
sd-rtnl: route - allow setting multiple matching routes
2014-05-03 18:14:42 +02:00
Tom Gundersen
8faf88e5eb
TODO
2014-05-03 18:14:42 +02:00
Kay Sievers
ef6191945e
timesyncd: log drift correction
2014-05-03 15:09:33 +02:00
Lennart Poettering
8a474b0c04
async: add asynchronous close() call
2014-05-02 17:57:37 +02:00
Lennart Poettering
7348b3adb3
update TODO
2014-05-02 17:57:37 +02:00
Kay Sievers
d67006fe53
timesyncd: use nanosecond mode
2014-04-30 17:25:46 +02:00
Kay Sievers
81c36b3f28
timesyncd: remove debug code
2014-04-30 09:37:59 +02:00
Umut Tezduyar Lindskog
8ddbeaa23c
networkd: dont configure route if lease doesn't have one
2014-04-30 00:05:28 +02:00