Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-09 | Merge pull request #2755 from keszybz/more-tests | Martin Pitt | |
Enable more tests by default, and even more with `--enable-tests=unsafe` | |||
2016-03-07 | Merge pull request #2768 from benjarobin/fix-2718 | Daniel Mack | |
systemctl: Replace check_one_unit() by get_state_one_unit() | |||
2016-03-06 | firstboot: use laccess macro instead of facessat() | Alexander Kuleshov | |
2016-03-05 | Merge pull request #2791 from 0xAX/clear-flag-macro | Zbigniew Jędrzejewski-Szmek | |
tree-wide: use SET_FLAG() macro to make code more clear | |||
2016-03-05 | Merge pull request #2795 from jhol/replace-irreversibly-on-failure | Zbigniew Jędrzejewski-Szmek | |
core/failure-action: set job-modes to replace-irreversibly | |||
2016-03-05 | tree-wide: use SET_FLAG() macro to make code more clear | Alexander Kuleshov | |
2016-03-05 | systemctl: improve error message when starting a unit failed | Ronny Chevalier | |
Fixes #2798 | |||
2016-03-04 | test-compress-benchmark: skip loop iteration if size is 0 | Zbigniew Jędrzejewski-Szmek | |
Otherwise we would hit an assert in the compression code. | |||
2016-03-04 | test-selinux: use yes_no() and strnull() | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | networkctl: avoid reading past end of input buffer | Zbigniew Jędrzejewski-Szmek | |
name is IFNAMSIZ bytes, but we would copy sizeof(info->name) bytes, which is IFNAMSIZ + 1. In effect we would go outside of the source buffer and possibly leave a non-null terminated string in info->name. CID #1351754. | |||
2016-03-04 | networkctl: use ETHER_ADDR_NULL in one more place | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | lldp: fix memleak | Zbigniew Jędrzejewski-Szmek | |
in_addr_to_string returned 0, which was treated as error by the calling code, which expects 1 on success. CID #1351757, #1351758. | |||
2016-03-04 | test-libudev: disable monitor mode by default and add to automatic tests | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | test-libudev: modernization | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | Enable test-ipcrm, test-hostname in unsafe tests | Zbigniew Jędrzejewski-Szmek | |
2016-03-04 | Enable test-daemon, test-log, test-watchdog by default | Zbigniew Jędrzejewski-Szmek | |
Those should be safe to run, resulting in some messages in logs. | |||
2016-03-04 | shared/acpi-fpdt: use ENODATA for missing data and skip test | Zbigniew Jędrzejewski-Szmek | |
This data is simply missing on non-UEFI systems, and it is useful to distinguish that from corrupted data. | |||
2016-03-04 | Rename test-boot-timestamp to test-boot-timestamps and enable by default | Zbigniew Jędrzejewski-Szmek | |
The source file name and the binary name were mismatched. Rename binary to match. Make the test exit with TEST_SKIP if the data is missing or we have no permissions. Otherwise, the data will be printed, which should be safe to enable by default. | |||
2016-03-04 | Move test-loopback to normal tests | Zbigniew Jędrzejewski-Szmek | |
In the normal case lo should be already configured and this should be a noop, even when run under root. | |||
2016-03-04 | core/failure-action: Set job-modes to replace-irreversibly | Joel Holdsworth | |
Up until now, the failure action has launched reboot.target and poweroff.target with a less aggressive job mode than "systemctl reboot" does. This has meant that the reboot and power- off operations can stall if there are any conflicts with the target during rebooting. | |||
2016-03-03 | systemctl: add missing OOM check | Ronny Chevalier | |
2016-03-03 | Merge pull request #2781 from keszybz/selinux-and-warnings | Lennart Poettering | |
Selinux loading fix and warning cleanups | |||
2016-03-02 | systemctl: rm empty dropin dirs after cancelled edit | Ronny Chevalier | |
Fixes #2734 | |||
2016-03-02 | Redefine 32bit time_t format to signed | Zbigniew Jędrzejewski-Szmek | |
It seems that it is signed both on i386 and arm. Avoids a stupid gcc warning on arm: src/udev/udevadm-monitor.c: In function ‘print_device’: src/udev/udevadm-monitor.c:44:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘__time_t {aka long int}’ [-Wformat=] printf("%-6s[%"PRI_TIME".%06ld] %-8s %s (%s)\n", ^ | |||
2016-03-02 | test-sizeof: add a helper which prints variable sizes and signedness | Zbigniew Jędrzejewski-Szmek | |
This helps to understand misleading gcc warnings about type mismatches. | |||
2016-03-02 | test-selinux: add some simple tests which call functions and print the ↵ | Zbigniew Jędrzejewski-Szmek | |
results and timings | |||
2016-03-02 | selinux: use raw variants of security_compute_create and setfscreatecon | Zbigniew Jędrzejewski-Szmek | |
As suggested by Evgeny Vereshchagin as a follow up for https://github.com/systemd/systemd/pull/2781#issuecomment-191043402. | |||
2016-03-02 | Merge pull request #2779 from 0xAX/openat-opath-excess-flags | Daniel Mack | |
tree-wide: no need to pass excess flags to open()/openat() if O_PATH … | |||
2016-03-01 | selinux: always try to load the full selinux db | Zbigniew Jędrzejewski-Szmek | |
https://github.com/systemd/systemd/pull/2508#issuecomment-190901170 Maybe fixes https://bugzilla.redhat.com/show_bug.cgi?id=1308771. | |||
2016-03-02 | tree-wide: no need to pass excess flags to open()/openat() if O_PATH is passed | Alexander Kuleshov | |
As described in the documentation: When O_PATH is specified in flags, flag bits other than O_CLOEXEC, O_DIRECTORY, and O_NOFOLLOW are ignored. So, we can remove unnecessary flags in a case when O_PATH is passed to the open() or openat(). | |||
2016-03-01 | ask-password: add option --no-output to not print password to stdout | Christian Hesse | |
systemd-ask-password can store passwords in kernel keyring. However it uses to print the passwords to standard output nevertheless. Depending on where systemd-ask-password is called passwords may end on display or in log, leaking sensitive information. This allows to make systemd-ask-password quiet, effectively disabling printing passwords to standard output. | |||
2016-03-01 | Merge pull request #2773 from eliasp/type-warnings | Daniel Mack | |
Use `PRIu64` to print `uint64_t` in log msgs | |||
2016-02-29 | Merge pull request #2702 from poettering/resolved-iterate-fix | Zbigniew Jędrzejewski-Szmek | |
resolved iteration fix | |||
2016-02-29 | Merge pull request #2767 from benjarobin/fix-warn | Zbigniew Jędrzejewski-Szmek | |
systemctl: Fix warn: action_to_runlevel() is not used | |||
2016-02-29 | Use `PRIu64` to print `uint64_t` in log msgs | Elias Probst | |
2016-02-29 | Merge pull request #2771 from 0xAX/core-kernel-timestamp-cleanup | Lennart Poettering | |
core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp | |||
2016-02-29 | Merge pull request #2769 from martinpitt/adjtime | Lennart Poettering | |
Fixes for adjtime parsing | |||
2016-02-29 | test-clock: fix FILE* leak | Martin Pitt | |
Close the FILE* instead of the underlying fd. | |||
2016-02-29 | Merge pull request #2763 from tblume/shorten-hostname-before-removing-dots | Lennart Poettering | |
shorten hostname before checking for trailing dot | |||
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 assertions | Martin Pitt | |
Use assert_se() to ensure that they don't get optimized away. | |||
2016-02-29 | timedated: trivial stylistic fix | Martin Pitt | |
Don't use {} for single-line "then" blocks. | |||
2016-02-29 | systemctl: Fix warn: action_to_runlevel() is not used | Benjamin ROBIN | |
If HAVE_SYSV_COMPAT is not defined: ‘action_to_runlevel’ defined but not used | |||
2016-02-29 | systemctl: Replace check_one_unit() by get_state_one_unit() | Benjamin ROBIN | |
The get_state_one_unit returns the enum of the active state of the unit Do not rely on the string value of the active state. Fix #2718 since the refactoring allow to handle more case | |||
2016-02-29 | test-clock: fix fd "leak" | Zbigniew Jędrzejewski-Szmek | |
CID #1352301. | |||
2016-02-29 | core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp | Alexander Kuleshov | |
instead of direct reset of kernel_timestamp fields. | |||
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-29 | shorten hostname before checking for trailing dot | Thomas Blume | |
Shortening can lead to a hostname that has a trailing dot. Therefore it should be done before checking from trailing dots. | |||
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 | |