summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-05-08timesyncd: only run when the system has a carrier on a network interfaceTom Gundersen
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.
2014-05-08networkd-wait-online: flush monitor events after processingTom Gundersen
Otherwise the event will trigger immediately again.
2014-05-08networkd-wait-online: fix false positives when checking if a link is managed ↵Tom Gundersen
by networkd
2014-05-08networkd: link - operstate is an enum, not a bitmaskTom Gundersen
2014-05-08core: check the right variable for failed open()Łukasz Stelmach
2014-05-07doc: corrections to words and formsJan Engelhardt
This patch exchange words which are inappropriate for a situation, deletes duplicated words, and adds particles where needed.
2014-05-07backlight: handle saved brightness exceeding max brightnessJani Nikula
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
2014-05-07networkd-wait-online: rely purely on sd-network events and drop rtnl hooksTom Gundersen
2014-05-07networkd: link - always maintain link operstate regardless of admin stateTom Gundersen
2014-05-07sd-network: expose both admin and operational state directlyTom Gundersen
Also add a call to check if a link is loopback, as this should commonly be ignored.
2014-05-07timesyncd: shorten log messageKay Sievers
2014-05-06sd-dhcp-client: use asynchronous_close()Tom Gundersen
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-06sd-dhcp: network - don't leak sockets on failureTom Gundersen
Also some general cleanups
2014-05-06sd-dhcp: network - set TOS on outgoing packetsTom Gundersen
This should improve performance on busy wireless networks and the like. Inspired by a similar change in dnsmasq.
2014-05-06dhcp-network: don't pass ifindex to bind_udp_socketTom Gundersen
UDP sockets can anyway not be bound to specific netdev's. The packages would have to be filtered when received instead.
2014-05-06man: document sd_event_add_time(3)Lennart Poettering
2014-05-06timesyncd: hook up systemd-timesyncd with systemd-timedatedLennart Poettering
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-06timesyncd: never accept NTP time from server that is older than systemd's ↵Lennart Poettering
release time
2014-05-06journald: remove some dead codeLennart Poettering
2014-05-06load-fragment: minor cleanupLennart Poettering
2014-05-06timesyncd: read server settings from a configuration fileLennart Poettering
Also, allow compiling in a default server list via a configure command line item.
2014-05-06timesyncd: when an NTP server doesn't respond, proceed with the nextLennart Poettering
2014-05-06list: make LIST_FIND_TAIL work for empty listsLennart Poettering
2014-05-06timesyncd: keep order of NTP serversLennart Poettering
2014-05-06timesyncd: make sure to reread /etc/resolv.conf when we try the next NTP serverLennart Poettering
2014-05-06timesyncd: accept NTP version 3 responsesKay Sievers
2014-05-06timesyncd: add a more servers by defaultLennart Poettering
2014-05-06timesyncd: also try next server when sendto() failsLennart Poettering
2014-05-06timesyncd: don't busy loop when we cannot connect to any serversLennart Poettering
2014-05-06timesyncd: properly handle multiple configured NTP servers and multiplei IP ↵Lennart Poettering
addresses per server name
2014-05-05timesyncd: lookup name server via sd-resolve, support IPv6, react to ↵Lennart Poettering
SIGINT/SITERM
2014-05-05sd-resolve: make sure we can destroy a query object from its own callback ↵Lennart Poettering
handler
2014-05-05sd-event: allow disabling event sources when an event object is dying anywayLennart Poettering
2014-05-05sd-event: make it easy to bind signal handling to event loop exitsLennart Poettering
By passing a NULL callback provide a simple way to make event loops exit on SIGTERM and other signals.
2014-05-05timesync: use safe_close() where possibleLennart Poettering
2014-05-05timesync: always initialize structs when declaring them as far as possible ↵Lennart Poettering
with contsant values
2014-05-05build-sys: move async.[ch] to src/sharedLennart Poettering
So that we can use it at multiple places.
2014-05-05core: require cgroups filesystem to be availableKay Sievers
We should no longer pretend that we can run in any sensible way without the kernel supporting us with cgroups functionality.
2014-05-05timesyncd: log drift value as signedKay Sievers
2014-05-03sd-rtnl-message: append - fix uninitialized memoryTom Gundersen
We were not properly clearing the padding at the front of some containers.
2014-05-03sd-rtnl: route - allow setting multiple matching routesTom Gundersen
2014-05-03timesyncd: log drift correctionKay Sievers
2014-05-02async: add asynchronous close() callLennart Poettering
2014-04-30timesyncd: use nanosecond modeKay Sievers
2014-04-30timesyncd: remove debug codeKay Sievers
2014-04-30networkd: dont configure route if lease doesn't have oneUmut Tezduyar Lindskog
2014-04-30sd-network: add support for only listening to some types of changesTom Gundersen
2014-04-29timesyncd: limit debug values to millisecondsKay Sievers
2014-04-29sd-dhcp-lease: fix double reallocTom Gundersen
2014-04-29sd-resolve: rework sd-resolve to be callback based, similar in style to ↵Lennart Poettering
sd-bus and sd-event