Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-03 | sd-dhcp-server: avoid returning garbage value | Thomas Hindoe Paaboel Andersen | |
Force renewing with a pool size of 0 would return the uninitialized r. | |||
2014-08-03 | sd-dhcp-server: check if r < 0 | Thomas Hindoe Paaboel Andersen | |
2014-08-03 | resolve-host: use correct format specifier | Thomas Hindoe Paaboel Andersen | |
2014-08-03 | resolved: remove unused variables | Thomas Hindoe Paaboel Andersen | |
2014-08-03 | switch-root: umount the old root correctly | Dan Dedrick | |
The unmount occurs after the pivot_root, so the path used to unmount should take into account the new root directory. This will allow the umount to actually succeed. | |||
2014-08-03 | nspawn: fix truncation of machine names in interface names | Zbigniew Jędrzejewski-Szmek | |
Based on patch by Michael Marineau <michael.marineau@coreos.com>: When deriving the network interface name from machine name strncpy was not properly null terminating the string and the maximum string size as returned by strlen() is actually IFNAMSIZ-1, not IFNAMSIZ. | |||
2014-08-03 | bootchart: ask for --rel when failed to initialize graph start time | Karel Zak | |
We always read system uptime before log start time. So the uptime should be always smaller number, except it includes system suspend time. It seems better to ask for --rel and exit() than try to be smart and try to recovery from this situation or generate huge messy graphs. | |||
2014-08-03 | bootchart: don't parse /proc/uptime, use CLOCK_BOOTTIME | Karel Zak | |
* systemd-bootchart always parses /proc/uptime, although the information is unnecessary when --rel specified * use /proc/uptime is overkill, since Linux 2.6.39 we have clock_gettime(CLOCK_BOOTTIME, ...). The backend on kernel side is get_monotonic_boottime() in both cases. * main() uses "if (graph_start <= 0.0)" to detect that /proc is available. This is fragile solution as graph_start is always smaller than zero on all systems after suspend/resume (e.g. laptops), because in this case the system uptime includes suspend time and uptime is always greater number than monotonic time. For example right now difference between uptime and monotonic time is 37 hours on my laptop. Note that main() calls log_uptime() (to parse /proc/uptime) for each sample when it believes that /proc is not available. So on my laptop systemd-boochars spends all live with /proc/uptime parsing + nanosleep(), try strace /usr/lib/systemd/systemd-bootchart to see the never ending loop. This patch uses access("/proc/vmstat", F_OK) to detect procfs. | |||
2014-08-03 | journal-remote: rename KEY_FILE to avoid confict with <linux/input.h> | Zbigniew Jędrzejewski-Szmek | |
2014-08-03 | ldconfig: dont run it if ldconfig is not installed | Umut Tezduyar Lindskog | |
2014-08-03 | Move BTRFS_IOC_DEVICES_READY to missing.h | Zbigniew Jędrzejewski-Szmek | |
2014-08-03 | util.h: include missing.h, for struct file_handle | Simon McVittie | |
This breaks udev-builtin-btrfs.c, which reinvents some of missing.h, so use missing.h there too. [zj: removed #include "config.h" and wrapped #include <linux/btrfs.h> in ifdef HAVE_LINUX_BTRFS_H as discussed on the mailing list.] | |||
2014-08-03 | build-sys: fix conftest.c to work on arm | Zbigniew Jędrzejewski-Szmek | |
All tests for compiler support were failing with: /usr/bin/ld: /tmp/ccwnVc2A.o: relocation R_ARM_MOVW_ABS_NC against `a' can not be used when making a shared object; recompile with -fPIC | |||
2014-08-01 | Revert "libudev: use get_*_creds from shared rather than util_lookup_*" | Tom Gundersen | |
This reverts commit a56ba6158b9649e01226dfaf3ff7082c82571090. The commit was pushed in error. | |||
2014-08-01 | resolved: always drop multicast membership before adding one | Lennart Poettering | |
This is apparently necessary on some devices, such as veth. | |||
2014-08-01 | resolved: IPV6_UNICAST_IF may fail if we already are bound to a device, like ↵ | Lennart Poettering | |
we are for link-local addresses | |||
2014-08-01 | missing: add missing bonding definitions | Lennart Poettering | |
2014-08-01 | update TODO | Lennart Poettering | |
2014-08-01 | resolved: flush cache each time we change to a different DNS server | Lennart Poettering | |
2014-08-01 | resolved: read the system /etc/resolv.conf unless we wrote it ourselves | Lennart Poettering | |
This way we integrate nicely with foreign network management stacks, such as NM. | |||
2014-08-01 | networkd: track the MTU of each link | Tom Gundersen | |
And inform the DHCPv4 clients about it. | |||
2014-08-01 | sd-dhcp-client: allow the max dhcp message size to be set to the MTU of the link | Tom Gundersen | |
2014-08-01 | TODO | Tom Gundersen | |
2014-08-01 | libudev: use get_*_creds from shared rather than util_lookup_* | Tom Gundersen | |
2014-08-01 | resolved: rename resolved.h to resolved-manager.h | Lennart Poettering | |
After all it pretty much exlcusively containers definitions about the "Manager" object, hence let's call this the most obvious way. | |||
2014-08-01 | resolved: beef up DNS server configuration logic | Lennart Poettering | |
We now maintain two lists of DNS servers: system servers and fallback servers. system servers are used in combination with any per-link servers. fallback servers are only used if there are no system servers or per-link servers configured. The system server list is supposed to be populated from a foreign tool's /etc/resolv.conf (not implemented yet). Also adds a configuration switch for LLMNR, that allows configuring whether LLMNR shall be used simply for resolving or also for responding. | |||
2014-08-01 | nss: always explicitly reset all error variables | Lennart Poettering | |
glibc appears to be broken if we don't explicitly reset all error variables, let's work around that. https://bugzilla.redhat.com/show_bug.cgi?id=1125975 | |||
2014-08-01 | Revert "networkd: don't assume udev_device_new_from_device_id sets errno" | Tom Gundersen | |
libudev now does set errno correctly, so we can indeed rely on this. This reverts commit 2b49732c3d511007ae2c413997e56c40f678d79a. | |||
2014-08-01 | libudev: set errno when udev_device_new_from_* or udev_device_get_parent_* fail | Tom Gundersen | |
2014-08-01 | update TODO | Lennart Poettering | |
2014-08-01 | nss-resolve: fallback to the class NSS "dns" module if we cannot contact ↵ | Lennart Poettering | |
resolved That way DNS resolution works both with and without resolved running. | |||
2014-08-01 | resolved: don't bother caching negative RRs when the SOA TTL is 0 anyway | Lennart Poettering | |
2014-08-01 | update TODO | Lennart Poettering | |
2014-08-01 | resolved: use CLOCK_BOOTTIME instead of CLOCK_MONOTONIC when aging caches ↵ | Lennart Poettering | |
and timeing out transactions That way the cache doens't get confused when the system is suspended. | |||
2014-08-01 | resolved: fix negative caching of IDNA domains | Lennart Poettering | |
2014-08-01 | resolved: handle IDNA domains | Lennart Poettering | |
Make sure we format UTF-8 labels as IDNA when writing them to DNS packets, and as native UTF-8 when writing them to mDNS or LLMNR packets. When comparing or processing labels always consider native UTF-8 and IDNA formats equivalent. | |||
2014-07-31 | resolved: fix serialization of LOC records, check correctness | Zbigniew Jędrzejewski-Szmek | |
2014-07-31 | kdbus: update header | Kay Sievers | |
2014-07-31 | hwdb: update | Kay Sievers | |
2014-07-31 | hostnamed: watch system hostname changes and update LLMNR RRs accordingly | Lennart Poettering | |
2014-07-31 | resolved: fix deserialization of UTF8 host names | Lennart Poettering | |
2014-07-31 | resolved: accept UTF-8 hostnames from bus clients | Lennart Poettering | |
2014-07-31 | resolved: various fixes regarding encoding of UTF8 characters in DNS RRs | Lennart Poettering | |
2014-07-31 | resolved: properly compare RRs we cannot parse | Lennart Poettering | |
2014-07-31 | resolved: properly process SSHFP RRs | Lennart Poettering | |
2014-07-31 | resolved: properly process SRV records | Lennart Poettering | |
2014-07-31 | resolved: provide properly named way to access SPF data in RRs | Lennart Poettering | |
2014-07-31 | resolved: make sure we always initialize r when parsing TXT records | Lennart Poettering | |
2014-07-31 | resolved: properly process DNAME RRs | Lennart Poettering | |
2014-07-31 | update TODO | Lennart Poettering | |