Yu Watanabe
2428613f85
network: set *_configured flags to false before requesting addresses or freinds
...
Fixes #11272 .
2019-01-02 18:37:10 +09:00
Yu Watanabe
47079967e6
network: rename link_set_routing_policy_rule() to link_request_set_routing_policy_rule()
...
For consistency to other functions.
2019-01-02 18:37:10 +09:00
Yu Watanabe
f3ef324dfa
network: do not ignore errors on link_request_set_neighbors() and link_set_routing_policy()
2019-01-02 18:37:10 +09:00
Zbigniew Jędrzejewski-Szmek
48020979d6
udevadm: add a workaround for dracut
...
Also add a comment, so we don't fall into the same trap again.
2019-01-02 10:26:16 +01:00
Zbigniew Jędrzejewski-Szmek
f41c6dba15
Merge pull request #11291 from yuwata/fix-11259
...
meson: check whether C.UTF-8 exists or not and use it if exists
2019-01-02 09:36:01 +01:00
Burt P
6012eaef6e
hwdb/sdio.ids: add BCM43438 + minor rewording of class name
...
* BCM43438 is used in the Raspberry Pi 3 B and B+
https://www.raspberrypi.org/products/raspberry-pi-3-model-b/
"BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board"
* With this minor change to "C 00", each class name could be prefixed
with "Is a" and still make sense.
Signed-off-by: Burt P <pburt0@gmail.com >
2019-01-02 08:21:54 +01:00
Zbigniew Jędrzejewski-Szmek
339725910a
Merge pull request #11297 from yuwata/fix-11295
...
ask-password: fix assertion
2019-01-02 08:19:27 +01:00
Yu Watanabe
4fe0caadc8
test: add test for sending/receiving an invalid device
2019-01-02 04:01:07 +09:00
Yu Watanabe
ff86c92e30
Revert "udevd: configure a child process name for worker processes"
...
This reverts commit 49f3ee7e74 .
2019-01-02 04:01:07 +09:00
Yu Watanabe
b261494128
Revert "sd-device: ignore bind/unbind events for now"
...
This reverts commit 56c886dc7e .
Fixes #11277 and #11299 .
2019-01-02 04:00:14 +09:00
Yu Watanabe
03475e2232
meson: check whether C.UTF-8 exists or not and use it if exists
...
If C.UTF-8 does not exist, then fallback to en_US.UTF-8 or C.
2019-01-02 03:41:36 +09:00
Paul Seyfert
0e9ab1af64
zsh/coredumpctl: don't print warnings from completion function
2018-12-31 21:27:09 +01:00
Yu Watanabe
18fee12a2d
sd-device: fix segfault when error occurs in device_new_from_{nulstr,strv}()
...
As devpath may not be set yet.
When debug logging is enabled, log_device_*() calls
sd_device_get_sysname(). So, we should not assume that devpath is always
set.
Fixes #11258 .
2018-12-30 22:47:20 +09:00
Yu Watanabe
1f00998c87
ask-password-api: do not call ask_password_keyring() if keyname == NULL
...
Fixes #11295 .
2018-12-30 21:13:47 +09:00
Yu Watanabe
8a111277c4
ask-password: make ask_password_keyring() static
2018-12-30 21:09:41 +09:00
ikelos
04ca4d191b
Improve kernel-install support for initrd files. ( #11281 )
...
The current support in kernel-install for initrd images doesn't copy
over the initrd file or allow a means for it to be specified (it
requires a specific filename in a particular directory).
This patchset adds support for (optionally) providing the name of
initial ramdisk file to copied over and used by kernel-install.
2018-12-30 04:01:10 +09:00
Evgeny Vereshchagin
0d6e61d6a1
tests: introduce check_asan_reports and use it in check_result_{qemu|nspawn}
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
ed4f303f39
tests: look for ASan+UBSan reports in the journal
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
9688fccc27
tests: double DefaultTimeoutStartSec when systemd is run under ASan+UBSan
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
71cf890bcc
travis: also run TEST-01-BASIC with QEMU to cover udevd and so on
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
c47bfb198a
travis: pass $TRAVIS when running the tests so that they can be skipped properly
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
8934737154
travis: merge RUN_CLANG into RUN
...
They are basically the same except that a couple of environment variables
have to be passed for building systemd with clang.
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
082bcdca2c
tests: overwrite a hard-coded timeout in systemd-hwdb-update.service
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
ef30f7cac1
journal: rely on _cleanup_free_ to free a temporary string used in client_context_read_cgroup
...
Closes https://github.com/systemd/systemd/issues/11253 .
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
998445fd8a
tests: fail if asan has found issues in journald
2018-12-29 19:14:35 +01:00
Evgeny Vereshchagin
7e11a95e41
tests: reproduce https://github.com/systemd/systemd/issues/11251
2018-12-29 19:14:28 +01:00
Dave Reisner
8ca9e92c74
Make default locale a compile time option
...
Default to a locale that's guaranteed to exist everywhere, but let
distros override this with something more exotic if they choose to.
Closes #11259 .
2018-12-29 21:43:04 +09:00
Thomas Haller
911649fdd4
build: don't include shared's "serialize.h" in basic's "time-util.c"
...
"src/basic/time-util.c" is part of src/basic and should not include
"src/shared/serialize.h". It is one of the few cases where this
is done. Also, it's not even required.
2018-12-29 19:27:23 +09:00
Jani Uusitalo
ad7c65e6b8
Replace 'older then' with 'older than'
2018-12-28 14:32:14 -08:00
Yu Watanabe
adeb26c1af
udev-event: do not read stdout or stderr if the pipefd is not created
...
Fixes #11255 .
2018-12-28 12:51:40 +01:00
Yu Watanabe
a5c67ccc57
switch-root: fix error message
...
Fixes #11261 .
2018-12-28 15:37:15 +09:00
Evgeny Vereshchagin
7334ade4a7
core: free lines after reading them
...
Closes https://github.com/systemd/systemd/issues/11251 .
2018-12-28 15:36:00 +09:00
rogerjames99
7da7340afd
Do not start server if it is already runnning ( #11245 )
2018-12-28 15:34:43 +09:00
James Hilliard
46e63a2a3e
meson: use cross compilation compatible c++ check
2018-12-28 12:17:06 +09:00
Paul Seyfert
ffc7a6e931
zsh/coredumpctl: offer --quiet
2018-12-26 14:02:06 +01:00
Paul Seyfert
10dd7e746b
zsh/coredumpctl: offer --directory option
...
After `-D <TAB>` and `--directory=<TAB>` _directories is called to
suggest directories.
2018-12-25 22:57:23 +01:00
Paul Seyfert
ddc052dc4e
zsh/coredumpctl: complete argument for --debugger=
...
This way external commands (i.e. executables in the PATH) are suggested
at --debugger=<TAB>. Upon starting a path (e.g. --debugger=/<TAB> or
--debugger=./<TAB>), filenames of executables are completed.
2018-12-25 19:30:50 +01:00
Evgeny Vereshchagin
9103671d7c
test: don't run TEST-01-BASIC in unprivileged containers on Travis CI
2018-12-24 08:52:33 +01:00
Evgeny Vereshchagin
b4a450d85f
tests: use systemd-journald to check whether everything has been built with ASan
2018-12-24 08:52:33 +01:00
Evgeny Vereshchagin
1766204279
travis: add another stage to really run everything under ASan+UBsan
...
This should help to catch issues like https://github.com/systemd/systemd/issues/11253
and https://github.com/systemd/systemd/issues/11251 .
2018-12-24 08:52:33 +01:00
Evgeny Vereshchagin
749d3c938f
travis: switch to Debian Testing
...
Turns out Fedora is the least stable distribution in terms of
downloading packages. Debian is much more stable so let's use it.
2018-12-24 08:52:09 +01:00
Evgeny Vereshchagin
f9cf349147
travis: skip test-bpf on Travis CI
...
More generally IPAddress[Allow|Deny] are broken in docker and lxc containers.
2018-12-24 08:49:17 +01:00
Evgeny Vereshchagin
b635e4ef6b
travis: use xenial instead of trusty
...
This should also fix an issue mentioned in
https://github.com/systemd/systemd/pull/11196#issuecomment-448123946 .
2018-12-23 11:14:20 +01:00
Yu Watanabe
ac60877f1d
test: add a testcase for Address.Peer= in .network unit
2018-12-23 08:04:54 +09:00
Yu Watanabe
c8f7123e00
network: always check link is ready when address is updated
2018-12-23 08:04:36 +09:00
Yu Watanabe
89b3fa6626
network: fix indentation
2018-12-23 08:00:59 +09:00
Yu Watanabe
e4a0fe6343
dhcp: drop unnecessary brackets
2018-12-23 08:00:59 +09:00
Yu Watanabe
da3c49e9a8
dhcp: use cast-to-bool for pointers
2018-12-23 08:00:59 +09:00
Yu Watanabe
759248856c
dhcp: fix indentation
2018-12-23 08:00:59 +09:00
Yu Watanabe
66e0bb336e
network: decrease and fix indentation
2018-12-23 07:38:55 +09:00