1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00
systemd/src/shared
Lennart Poettering 2cb623954f Fix #3236 (#3633)
* networkd: condition_test() can return a negative error, handle that

If a condition check fails with an error we should not consider the check
successful. Fix that.

We should probably also improve logging in this case, but for now, let's just
unbreak this breakage.

Fixes: #3236

* condition: handle unrecognized architectures nicer

When we encounter a check for an architecture we don't know we should not
let the condition check fail with an error code, but instead simply return
false. After all the architecture might just be newer than the ones we know, in
which case it's certainly not our local one.

Fixes: #3236
2016-06-30 15:56:23 -07:00
..
linux build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
acl-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
acl-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
acpi-fpdt.c shared/acpi-fpdt: use ENODATA for missing data and skip test 2016-03-04 21:45:45 -05:00
acpi-fpdt.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
apparmor-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
apparmor-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
ask-password-api.c tree-wide: check colors_enabled() before outputting ANSI color strings 2016-05-30 18:23:08 +02:00
ask-password-api.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
base-filesystem.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
base-filesystem.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
boot-timestamps.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
boot-timestamps.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
bus-unit-util.c Do not ellipsize cgroups when showing slices in --full mode (#3560) 2016-06-21 16:10:31 +02:00
bus-unit-util.h shared: move unit-specific code from bus-util.h to bus-unit-util.h 2016-04-22 16:06:20 +02:00
bus-util.c sd-bus: make sure bus_map_all_properties() handle booleans right 2016-06-21 13:20:48 +02:00
bus-util.h Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
cgroup-show.c tree-wide: rename draw_special_char to special_glyph 2016-05-09 15:17:57 -04:00
cgroup-show.h shared: drop kernel_thread bool from cgroups show code 2016-04-22 16:06:20 +02:00
clean-ipc.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
clean-ipc.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
condition.c Fix #3236 (#3633) 2016-06-30 15:56:23 -07:00
condition.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
conf-parser.c tree-wide: port more code to use ifname_valid() 2016-05-09 15:45:31 +02:00
conf-parser.h tree-wide: port more code to use ifname_valid() 2016-05-09 15:45:31 +02:00
dev-setup.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dev-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dns-domain.c tree-wide: make ++/-- usage consistent WRT spacing 2016-02-22 20:32:04 -08:00
dns-domain.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
dropin.c tree-wide: rename hidden_file to hidden_or_backup_file and optimize 2016-04-28 08:25:17 -04:00
dropin.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
efivars.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
efivars.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
fdset.c build-sys: move fdset.[ch] src/basic → src/shared (#3580) 2016-06-23 05:10:53 +03:00
fdset.h build-sys: move fdset.[ch] src/basic → src/shared (#3580) 2016-06-23 05:10:53 +03:00
firewall-util.c Make the fix for net/if.h fuckup even worse (#3287) 2016-05-20 15:12:42 +02:00
firewall-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
fstab-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
fstab-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
gcrypt-util.c build-sys: fix build with libgrcypt disabled 2016-03-27 21:51:44 -04:00
gcrypt-util.h build-sys: fix build with libgrcypt disabled 2016-03-27 21:51:44 -04:00
generator.c Create initrd-root-device.target synchronization point (#3239) 2016-05-12 18:42:39 +02:00
generator.h Create initrd-root-device.target synchronization point (#3239) 2016-05-12 18:42:39 +02:00
gpt.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
ima-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
ima-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
initreq.h
install-printf.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
install-printf.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
install.c load-fragment: ignore ENOTDIR/EACCES errors (#3510) 2016-06-15 23:02:27 +02:00
install.h shared/install: handle dangling aliases as an explicit case, report nicely 2016-05-09 15:17:56 -04:00
logs-show.c journal: when dumping journal contents, react nicer to lines we can't read 2016-04-26 12:00:03 +02:00
logs-show.h shared: move output_mode_to_string() into output-mode.c 2016-04-22 16:16:59 +02:00
machine-image.c treewide: fix typos (#3187) 2016-05-04 11:26:17 +02:00
machine-image.h machinectl: add new "machinectl clean" command 2016-04-12 13:43:33 +02:00
machine-pool.c shared/machine-pool: fix another mkfs.btrfs checking 2016-03-14 00:54:35 +00:00
machine-pool.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
Makefile build-sys: add missing Makefile symlink 2015-08-31 13:09:52 +02:00
output-mode.c journalctl: add output mode where time is shown in seconds since 1st Jan 1970 UTC 2016-04-22 16:16:59 +02:00
output-mode.h journalctl: add --no-hostname switch 2016-04-22 16:16:59 +02:00
pager.c pager: don't start pager if the terminal is explicitly set to TERM=dumb 2016-05-30 18:23:54 +02:00
pager.h tree-wide: merge pager_open_if_enabled() to the pager_open() 2016-02-26 01:13:23 +06:00
path-lookup.c path-lookup: optimize a common strv copy operation away 2016-04-22 16:06:20 +02:00
path-lookup.h systemctl: don't confuse sysv code with generated units 2016-04-12 13:43:32 +02:00
ptyfwd.c tree-wide: use SET_FLAG() macro to make code more clear 2016-03-05 18:26:01 +06:00
ptyfwd.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolve-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolve-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
seccomp-util.c core: improve seccomp syscall grouping a bit 2016-06-13 16:25:54 +02:00
seccomp-util.h core: add pre-defined syscall groups to SystemCallFilter= (#3053) (#3157) 2016-06-01 11:56:01 +02:00
sleep-config.c sleep: Add debug feature to bypass hibernation memory checks. (#3064) 2016-04-19 11:18:18 +02:00
sleep-config.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
spawn-ask-password-agent.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
spawn-ask-password-agent.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
spawn-polkit-agent.c polkit: don't start polkit agent when running as root 2016-04-05 12:18:55 +02:00
spawn-polkit-agent.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
specifier.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
specifier.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
switch-root.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
switch-root.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sysctl-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sysctl-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
test-tables.h test-tables: ellide boring parts of sparse mappings 2016-01-29 12:13:08 -05:00
tests.c tests: override XDG_RUNTIME_DIR where we use the user runtime dir 2016-04-12 13:43:33 +02:00
tests.h tests: override XDG_RUNTIME_DIR where we use the user runtime dir 2016-04-12 13:43:33 +02:00
udev-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
uid-range.c tree-wide: make ++/-- usage consistent WRT spacing 2016-02-22 20:32:04 -08:00
uid-range.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
utmp-wtmp.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
utmp-wtmp.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
vlan-util.c networkd: clean up vlan handling a bit (#3478) 2016-06-09 18:55:16 +02:00
vlan-util.h networkd: clean up vlan handling a bit (#3478) 2016-06-09 18:55:16 +02:00
watchdog.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
watchdog.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00