Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-13 | resolved: skip IPv6 LLMNR if IPv6 is not available | Lennart Poettering | |
2014-08-13 | login: share VT-signal handler between sessions | David Herrmann | |
sd-event does not allow multiple handlers for a single signal. However, logind sets up signal handlers for each session with VT_PROCESS set (that is, it has an active controller). Therefore, registering multiple such controllers will fail. Lets make the VT-handler global, as it's mostly trivial, anyway. This way, the sessions don't have to take care of that and we can simply acknowledge all VT-switch requests as we always did. | |||
2014-08-12 | networkd: dhcp4 - fix copy-paste error | Tom Gundersen | |
Reported by poma. | |||
2014-08-12 | networkd: disable ipv4ll default routes by default | Tom Gundersen | |
This causes machines without connectivity to hang where they would otherwise fail. Keep it opt-in for now, but consider whether we sholud just drop it. | |||
2014-08-12 | sd-network: split the operstate 'unknown' into 'down' and 'up' | Tom Gundersen | |
2014-08-12 | networkd: link - split out dhcp4 handling | Tom Gundersen | |
2014-08-12 | udev: link-config - fix naming policy | Tom Gundersen | |
Don't exit the name-finding loop when the 'kernel' policy is detected. We should still find a fallback name if possible in the (very likely) case that no kernel name is set at all. | |||
2014-08-12 | udev: link-config - whitespace | Tom Gundersen | |
Don't overflow 80 cols unneccessarily (we are ok with doing it when it improves readability, but that's not the case here). | |||
2014-08-12 | networkd: link - fix IN_SET usage | Tom Gundersen | |
2014-08-12 | networkd: link - split out ipv4ll handling | Tom Gundersen | |
2014-08-12 | networkd: link - make check for whether addresses/routes are being ↵ | Tom Gundersen | |
configured implicit | |||
2014-08-12 | networkd: split out networkd-link.h | Tom Gundersen | |
2014-08-12 | timesyncd: beef up NTP server selection logic, and acquire NTP servers from DHCP | Lennart Poettering | |
2014-08-12 | resolved: return exit code of event loop | Lennart Poettering | |
2014-08-12 | resolved: unify logic how we flush out DNS servers we learnt | Lennart Poettering | |
2014-08-12 | sd-resolve: scale number of threads by queries currently being processed, ↵ | Lennart Poettering | |
rather than number of queries currently referenced This way a query that blocks for a longer time, and whose reference has been dropped won't block subsequent lookups from finishing. | |||
2014-08-12 | sd-resolve: fix allocation if query ids, never reuse them | Lennart Poettering | |
2014-08-12 | sd-resolve: keep floating query referenced while we access it | Lennart Poettering | |
2014-08-12 | timesyncd: split up into multiple source file | Lennart Poettering | |
The source file got much too large, hence split up the sources into multiple per-object files, similar in style to resolved. | |||
2014-08-12 | networkctl: make networkctl status without link name show all local IP addresses | Lennart Poettering | |
2014-08-12 | networkctl: when outputing a list fo links, sort them by ifindex | Lennart Poettering | |
2014-08-12 | networkctl: add a bit of color to the output | Lennart Poettering | |
2014-08-12 | networkctl: add new switch "-a" to "networkctl status" to show verbose ↵ | Lennart Poettering | |
status of all local links | |||
2014-08-12 | networkctl: properly format MAC addresses | Lennart Poettering | |
2014-08-12 | sd-network: add API to output all collected system-wide NTP and DNS servers | Lennart Poettering | |
Also, output the collected information in "networkctl". | |||
2014-08-12 | timesyncd: move the generic sockaddr_equal() call to socket-util.h | Lennart Poettering | |
2014-08-12 | networkd: expose a global list of DNS and NTP servers in the state file | Lennart Poettering | |
2014-08-12 | resolved: filter out duplicate DNS servers when writing resolv.conf | Lennart Poettering | |
2014-08-12 | networkd: update manager_save() to use fflush_and_check() to simplify things ↵ | Lennart Poettering | |
a bit | |||
2014-08-12 | resolved: initialize counter | Thomas Hindoe Paaboel Andersen | |
introduced in: a407657425a3e47fd2b559cd3bc800f791303f63 | |||
2014-08-12 | networkd: fix build | Lennart Poettering | |
2014-08-12 | sd-network: move sd-network API into libsystemd proper | Lennart Poettering | |
In contrast to the DHCP/IPv4LL/ICMP6 APIs sd-network is not a protocol implementation but a client API for networkd, hence move it into libsystemd proper. | |||
2014-08-12 | sd-network: remove client-side dhcp API | Lennart Poettering | |
The networkd should abstract the difference between DHCP supplied and configured data, and hence the DHCP lease concept should not exposed on the client side. Should we want to support arbitrary DHCP fields one day, we can add a new sd_network_get_link_dhcp_field() call or so. | |||
2014-08-12 | networkd: add minimal client tool "networkd" to query network status | Lennart Poettering | |
In the long run this should become a full fledged client to networkd (but not before networkd learns bus support). For now, just pull interesting data out of networkd, udev, and rtnl and present it to the user, in a simple but useful output. | |||
2014-08-12 | udev: modernize net_id builtin a bit | Lennart Poettering | |
2014-08-11 | sd-network: rename the per-ifindex calls to sd_network_get_link_xxx() | Lennart Poettering | |
This way we can introduce system-wide versions of these calls that are called the same way, but without the "link" in the name. | |||
2014-08-11 | networkd: monopolize in_addr utility functions in shared/in-addr-util.h | Lennart Poettering | |
Primarily, this means we get rid of net_parse_inaddr(), and replace it everywhere with in_addr_from_string() and in_addr_from_string_auto(). These functions do not clobber the callers arguments on failure, which is more close to our usual coding style. | |||
2014-08-11 | timesyncd: when we don't know anything about the network state, assume we ↵ | Lennart Poettering | |
are online This should provide better compatibility with systems that lack networkd | |||
2014-08-11 | build-sys: add missing makefile symlinks | Lennart Poettering | |
2014-08-11 | udev: never bypass our own logging framework and call vsyslog() directly ↵ | Lennart Poettering | |
from udev tools | |||
2014-08-11 | log: never ever log to syslog from PID 1, log to the journal again | Lennart Poettering | |
We don't support journal-less systems anyway, so let's avoid the confusion. | |||
2014-08-11 | login: set_controller should fail if prepare_vt fails | Olivier Brunel | |
If controllers can expect logind to have "prepared" the VT (e.g. set it to graphics mode, etc) then TakeControl() should fail if said preparation failed (and session_restore_vt() was called). (David: fixed up !CONFIG_VT case and errno-numbers) | |||
2014-08-11 | fix a couple of more lazy "return -1" | Lennart Poettering | |
Fix should strictly follow the rule to return negative errno-style error codes from functions, hence let's fix more "return -1"-style lazinesses. | |||
2014-08-11 | journal-remote: fix parsing of fd command line argument | Lennart Poettering | |
2014-08-11 | initctl: don't eat up error code | Lennart Poettering | |
2014-08-11 | bootchart: use the bool type where appropriate | Lennart Poettering | |
2014-08-11 | bootchart: it's not OK to return -1 from a main program | Lennart Poettering | |
2014-08-11 | util: avoid considering dpkg temporary files relevant for anything | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=82453 | |||
2014-08-11 | timesyncd: always use CLOCK_BOOTTIME if we can | Lennart Poettering | |
After all we want to compare a monotonically increasing clock with the remote clock, hence we shouldn't ignore system suspend periods. | |||
2014-08-11 | resolved: when picking a new hostname make sure two hosts pick different ones | Lennart Poettering | |
This way we can avoid always picking the same replacement hostnames when picking one. |