Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-29 | Merge pull request #2756 from thom311/master | Lennart Poettering | |
core: avoid compiler warning when compiling with -fexceptions | |||
2016-02-29 | test-clock: fix fd "leak" | Zbigniew Jędrzejewski-Szmek | |
CID #1352301. | |||
2016-02-29 | stdio-bridge: Correctly propagate error | Benjamin Robin | |
Return EXIT_FAILURE and print the correct errno code if sd_bus_get_fd() or sd_bus_get_events() fail | |||
2016-02-28 | Merge pull request #2753 from phomes/trivial-fixes2 | Zbigniew Jędrzejewski-Szmek | |
Trivial fixes | |||
2016-02-28 | Merge pull request #2749 from martinpitt/adjtime | Zbigniew Jędrzejewski-Szmek | |
2016-02-27 | core: avoid compiler warning when compiling with -fexceptions | Thomas Haller | |
Initialize auto variables with cleanup attribute, otherwise we get a compiler warning with -fexceptions. ./configure CFLAGS='-Wmaybe-uninitialized -fexceptions -O2' | |||
2016-02-26 | stdio-bridge: remove dead code | Thomas Hindoe Paaboel Andersen | |
2016-02-26 | tree-wide: indentation fixes | Thomas Hindoe Paaboel Andersen | |
2016-02-26 | timedated: be more tolerant in parsing /etc/adjtime | Martin Pitt | |
Similarly to the previous commit, make context_write_data_local_rtc() understand /etc/adjtime files with just one or two lines, with or without a final newline. Normalize the file to the current definition in hwclock(8), in the spirit of "be liberal what you accept and strict what you produce": Add line terminators, and set the second line to "0" if missing. Fixes: #2638 | |||
2016-02-26 | clock-util: be more tolerant in parsing /etc/adjtime | Martin Pitt | |
As we default to "hardware clock is in UTC" if /etc/adjtime is not present, it also makes sense to have that default if /etc/adjtime contains only one or two lines. Drop the "gibberish" test case, as this was just EIO because of not containing three lines, which is already contained in other tests. clock_is_localtime() never actually validated the format of the first two lines, and there is little point in doing that. This addresses the reading half of issue #2638. | |||
2016-02-26 | clock-util: make clock_is_localtime() testable and add initial tests | Martin Pitt | |
Add path argument to clock_is_localtime() and default to "/etc/adjtime" if it's NULL. This makes the function testable. Add test-clock: initial test cases for some scenarios, using a temporary file. This also checks the behaviour with a NULL (i. e. the system's /etc/adjtime) file. | |||
2016-02-25 | Merge pull request #2671 from 0xAX/move-pager-open-to-one-place | Zbigniew Jędrzejewski-Szmek | |
tree-wide: merge pager_open_if_enabled() to the pager_open() | |||
2016-02-26 | tree-wide: merge pager_open_if_enabled() to the pager_open() | Alexander Kuleshov | |
Many subsystems define own pager_open_if_enabled() function which checks '--no-pager' command line argument and open pager depends on its value. All implementations of pager_open_if_enabled() are the same. Let's merger this function with pager_open() from the shared/pager.c and remove pager_open_if_enabled() from all subsytems to prevent code duplication. | |||
2016-02-25 | sd-dhcp-server: Send replies to BOOTP relay server port | Patrik Flykt | |
RFC 2131 Section 4.1 says that "If the ’giaddr’ field in a DHCP message from a client is non-zero, the server sends any return messages to the ’DHCP server’ port on the BOOTP relay agent whose address appears in ’giaddr’." Fix this by adding a destination port when sending unicast UDP packets and provide the server port when a BOOTP relay agent is being used. | |||
2016-02-24 | treewide: fix typos and then/that use | Torstein Husebø | |
2016-02-24 | Merge pull request #2719 from evverx/add-test-to-makefile | Martin Pitt | |
tests: various fixes | |||
2016-02-23 | dnssec: only run tests that require gcrypt if we have it | Steven Siloti | |
2016-02-23 | Merge pull request #2724 from vcaputo/minor-formatting-cleanups | Zbigniew Jędrzejewski-Szmek | |
tree-wide: minor formatting inconsistency cleanups | |||
2016-02-23 | tree-wide: minor formatting inconsistency cleanups | Vito Caputo | |
2016-02-23 | Merge pull request #2639 from nafets227/master | Zbigniew Jędrzejewski-Szmek | |
Bugfix set virt=none when running on XEN Dom0 | |||
2016-02-23 | basic: Bugfix Detect XEN Dom0 as no virtualization | Stefan Schallenberg aka nafets227 | |
When running in XEN Dom0 the virtualization check: 1) detect_xen returns HYPERVISOR_NONE so next checks are executed 2) /proc/sys/hypervisor detects a XEN hypervisor it is lacking the special Dom0 detection as in detect_xen With this patch, at the end of all virtualization checks we double-check if running in XEN Dom0 or DomU. | |||
2016-02-23 | basic: Debug-logging of Virtualisation detection | Stefan Schallenberg aka nafets227 | |
print out every single detection executed and its result. | |||
2016-02-23 | networkctl: fix const | Thomas Hindoe Paaboel Andersen | |
2016-02-23 | tree-wide: remove unused variables | Thomas Hindoe Paaboel Andersen | |
2016-02-23 | basic: mark unused variable as such | Thomas Hindoe Paaboel Andersen | |
2016-02-23 | Merge pull request #2664 from zonque/bootchart-removal | Lennart Poettering | |
Remove systemd-bootchart | |||
2016-02-23 | tests: fix x86 personality tests to only on x86 | Lennart Poettering | |
2016-02-23 | Merge pull request #2708 from vcaputo/journal-restore-offline-state-on-error | Lennart Poettering | |
journal: restore offline state on error | |||
2016-02-23 | Merge pull request #2717 from keszybz/networkctl-prettification | Lennart Poettering | |
Networkctl prettification | |||
2016-02-23 | networkctl: only print lldp legend for capabilities that were actually seen | Zbigniew Jędrzejewski-Szmek | |
2016-02-23 | basic: simplify ether_addr_is_null | Zbigniew Jędrzejewski-Szmek | |
2016-02-23 | Fix two typos | Zbigniew Jędrzejewski-Szmek | |
2016-02-23 | architecture.h: remove PROC_CPUINFO_MODEL | Daniel Mack | |
This was only needed for bootchart, so it can go now. | |||
2016-02-23 | Remove systemd-bootchart | Daniel Mack | |
This commit rips out systemd-bootchart. It will be given a new home, outside of the systemd repository. The code itself isn't actually specific to systemd and can be used without systemd even, so let's put it somewhere else. | |||
2016-02-23 | Merge pull request #2709 from vcaputo/normalize_inc_dec_usage | Martin Pitt | |
tree-wide: make ++/-- usage consistent WRT spacing | |||
2016-02-23 | Merge pull request #2698 from poettering/personality | Martin Pitt | |
Personality fixes | |||
2016-02-22 | tree-wide: make ++/-- usage consistent WRT spacing | Vito Caputo | |
Throughout the tree there's spurious use of spaces separating ++ and -- operators from their respective operands. Make ++ and -- operator consistent with the majority of existing uses; discard the spaces. | |||
2016-02-22 | journal: restore offline state on error | Vito Caputo | |
If we fail to create the thread, technically we should leave the offline_state as OFFLINE_JOINED, not OFFLINE_SYNCING. | |||
2016-02-22 | Merge pull request #2701 from keszybz/udev-rules | Lennart Poettering | |
udev-rules cleanup fix | |||
2016-02-22 | tests: add personality tests | Lennart Poettering | |
2016-02-22 | util-lib: simplify personality() string matching | Lennart Poettering | |
2016-02-22 | virt: make sure we don't ignore some errors | Lennart Poettering | |
2016-02-22 | util-lib: support various ppc archs in personality logic | Lennart Poettering | |
2016-02-22 | util-lib: use the architecture ids from architecture.h for personalities | Lennart Poettering | |
We have this ids, hence let's use them universally. | |||
2016-02-22 | build-sys: move shared/architecture.[ch] into basic/ | Lennart Poettering | |
After all, it is pretty generic, has no external deps besides libc, and is very similar to virt.[ch] which is also in basic/ | |||
2016-02-22 | udev-rules: fix querying of attributes | Zbigniew Jędrzejewski-Szmek | |
faccessat returns 0 on success. A cosmetic fix is also included: the slash was doubled unnecessarily. | |||
2016-02-22 | Merge pull request #2685 from poettering/lldp-fixes2 | Tom Gundersen | |
lldp fixes, second iteration | |||
2016-02-22 | Merge pull request #2695 from mustrumr/fix-calendarspec-skip | Lennart Poettering | |
calendarspec: fix find_next skipping times | |||
2016-02-22 | Merge pull request #2692 from ssahani/tunnel | Zbigniew Jędrzejewski-Szmek | |
networkd: tunnel fix tunnel address | |||
2016-02-22 | Merge pull request #2694 from zonque/proxyarp-missing | Lennart Poettering | |
missing.h: Explicitly check for IFLA_BRPORT_PROXYARP |