Yu Watanabe
f5947a5e92
tree-wide: drop missing.h
2019-10-31 17:57:03 +09:00
Yu Watanabe
9648956d1f
test: move {test,fuzz}-fido-id-desc.c into src/udev/fido_id
2019-10-31 10:37:42 +09:00
Yu Watanabe
737f140546
network: cleanup header inclusion
2019-10-30 22:23:43 +09:00
Yu Watanabe
f36e6a4a96
NEWS: fix option name
2019-10-30 14:01:01 +01:00
Yu Watanabe
13fc53e9b1
Merge pull request #13879 from keszybz/news-v244
...
NEWS for v244
2019-10-30 21:24:38 +09:00
Yu Watanabe
a346aa7c38
Merge pull request #13747 from ssahani/tc-qdisc
...
network: introduce Traffic Control
2019-10-30 14:35:51 +09:00
Yu Watanabe
afa1a54eb5
Merge pull request #13867 from keszybz/man-condition
...
Refactor description of conditons
2019-10-30 09:40:00 +09:00
Yu Watanabe
ef3c8a92b7
test-network: add tests for qdisc
2019-10-30 09:33:51 +09:00
Yu Watanabe
4ecdcb07c9
network: wait for QDiscs to be configured
2019-10-30 09:33:51 +09:00
Yu Watanabe
1c507a6db5
Merge pull request #13844 from keszybz/resolved-proprties
...
Emit dbus PropertyChanged notifications for systemd-resolved
2019-10-28 22:52:16 +09:00
Yu Watanabe
15e089644c
network: add default configurations for wireless interfaces
2019-10-25 16:43:24 +09:00
Yu Watanabe
78404d22cc
network: support matching based on wifi interfece type
2019-10-25 16:43:18 +09:00
Yu Watanabe
f2106b1789
Merge pull request #13836 from systemd/assert-cleanups-and-constification
...
Assert cleanups and constification
2019-10-25 13:36:00 +09:00
Yu Watanabe
235ecb6d75
test: drop duplicated 's'
...
This fixes the following log message
```
Container TEST-07-ISSUE-1981 terminated by signal KILL.
E: test timed out after 30s s
```
2019-10-24 08:39:31 +02:00
Yu Watanabe
dcd9f07ccf
network: add tests for "networkctl reconfigure"
2019-10-24 14:23:17 +09:00
Yu Watanabe
8dc85c5ef1
networkctl: introduce reconfigure method
2019-10-24 14:23:12 +09:00
Yu Watanabe
e4857ee2f2
networkctl: use format_ifname_full()
2019-10-24 14:20:48 +09:00
Yu Watanabe
d56d6cb8ca
networkctl: fix error message
2019-10-24 14:20:48 +09:00
Yu Watanabe
882e21c72f
format-util: introduce format_ifname_full()
2019-10-24 14:20:48 +09:00
Yu Watanabe
99b8517ca7
network: introduce Reconfigure() bus method
2019-10-24 14:20:48 +09:00
Yu Watanabe
f39dbf28f3
network: include netinet/in.h to fix build error
2019-10-24 14:20:48 +09:00
Yu Watanabe
66de86712c
test-network: add tests for "networkctl reload"
2019-10-24 14:20:48 +09:00
Yu Watanabe
a227674cfb
networkctl: add reload command
2019-10-24 14:20:42 +09:00
Yu Watanabe
e272b62136
network: also reload .netdev files
2019-10-24 14:18:16 +09:00
Yu Watanabe
7f06b3e1b9
network: add Reload() dbus method
2019-10-24 14:18:09 +09:00
Yu Watanabe
6f3ad94590
Merge pull request #13828 from keszybz/networkctl-print-wlan
...
networkctl support for ssid and bssid
2019-10-24 11:12:39 +09:00
Yu Watanabe
69ec2fdd9c
Merge pull request #13807 from 1848/ip6gre_key_fix
...
networkd: Set key (IFLA_GRE_IKEY,IFLA_GRE_OKEY) on ip6gre interfaces.
2019-10-23 23:18:59 +09:00
Yu Watanabe
c0c8886141
Merge pull request #13825 from keszybz/nspawn-console-help
...
nspawn: fix handling of --console=help
2019-10-23 22:03:53 +09:00
Yu Watanabe
c199cc0704
Merge pull request #13820 from keszybz/dead-code-removal
...
Dead code removal
2019-10-23 16:11:27 +09:00
Yu Watanabe
7f66ff56eb
Merge pull request #13784 from keszybz/constify-unit-pointers
...
Constify unit pointers
2019-10-17 09:41:36 +09:00
Yu Watanabe
277ba8d1ab
network: add support matching based on BSSID=
2019-10-15 01:59:56 +09:00
Yu Watanabe
0894cfe41c
network: also read BSSID
2019-10-15 01:59:13 +09:00
Yu Watanabe
8d968fdd99
network: support matching based on wifi SSID
2019-10-15 01:59:06 +09:00
Yu Watanabe
ad932b156c
network: introduce link_reconfigure()
...
Will be used in later commits.
2019-10-15 01:57:19 +09:00
Yu Watanabe
1a6bb31fae
network: split link_free() into two parts
2019-10-15 01:57:19 +09:00
Yu Watanabe
a1d736e25c
sd-netlink: add nl80211 type systems
2019-10-15 01:57:19 +09:00
Yu Watanabe
31e78d1042
sd-netlink: introduce sd_genl_message_get_family()
2019-10-15 01:57:19 +09:00
Yu Watanabe
2be081ffd6
sd-netlink: support NLMSG_DONE
2019-10-15 01:57:19 +09:00
Yu Watanabe
4e8f0ef921
sd-netlink: save dynamic general netlink message type
2019-10-15 01:57:19 +09:00
Yu Watanabe
2cac03f71d
sd-netlink: drop unnecessarily exported variables
2019-10-15 01:57:19 +09:00
Yu Watanabe
59d4103fd5
sd-netlink: introduce sd_netlink_message_read_string_strdup()
2019-10-15 01:57:19 +09:00
Yu Watanabe
6bf8e24bad
sd-netlink: use structured initializer
2019-10-15 01:57:19 +09:00
Yu Watanabe
ddcda37016
sd-netlink: drop unused variable
2019-10-15 01:57:19 +09:00
Yu Watanabe
338ff28d5f
sd-netlink: add missing license identifier
2019-10-15 01:57:19 +09:00
Yu Watanabe
16a8f172b6
bus-util: make map_basic handle SD_BUS_TYPE_OBJECT_PATH type
2019-10-15 01:57:19 +09:00
Yu Watanabe
7acb7707ff
test-network: disable IPv6AcceptRA= to speed up tests
2019-10-15 00:14:09 +09:00
Yu Watanabe
7d94934b9d
Merge pull request #13760 from keszybz/unit-loading-unification
...
Unit loading unification
2019-10-14 23:35:54 +09:00
Yu Watanabe
3adf85b72f
Merge pull request #13735 from ssahani/ip-nexthop
...
network: introduce ip nexthop routing
2019-10-14 23:25:23 +09:00
Yu Watanabe
086bcf5dca
test-network: add a test case for nexthop
2019-10-14 21:55:57 +09:00
Yu Watanabe
4abcdaa08c
network: update comment as DHCP is deprecated now
2019-10-14 21:33:22 +09:00
Yu Watanabe
55d3fdcf5e
network: ndisc: do not drop all prefixes when a prefix matches a blacklist
...
Fixes #13767 .
2019-10-14 20:54:43 +09:00
Yu Watanabe
c94f7809e3
Merge pull request #13761 from dtardon/program-name
...
udev: do not hardcode program name
2019-10-14 20:17:28 +09:00
Yu Watanabe
0486a7d15b
Merge pull request #13765 from yuwata/udev-memleak-13764
...
udev,systemctl: fix memleak caused by wrong cleanup function
2019-10-14 20:16:58 +09:00
Yu Watanabe
13f697b7b1
systemctl: fix memleak caused by wrong cleanup func
2019-10-14 01:18:41 +09:00
Yu Watanabe
f4f6f2c740
udev: fix memleak caused by wrong cleanup function
...
Fixes #13764 .
2019-10-13 00:35:53 +09:00
Yu Watanabe
349176ae6c
Merge pull request #13749 from keszybz/pyparsing-2.4
...
Compatibility with pyparsing 2.4
2019-10-11 08:43:10 +09:00
Yu Watanabe
6e5d630265
Merge pull request #13727 from keszybz/pstore-greedy-realloc
...
Use greedy realloc in pstore
2019-10-09 15:01:45 +09:00
Yu Watanabe
d3d1aeaf8e
Merge pull request #13753 from keszybz/change-man-ordering
...
Change section ordering to have commands above options
2019-10-09 14:51:06 +09:00
Yu Watanabe
67acde4869
udevadm trigger: do not propagate EACCES and ENODEV
...
Inside container, writing file returns EACCESS. Moreover, some devices
return ENODEV rather than EACCES. So, let's also ignore these two
error causes.
Closes #13652 .
2019-10-02 14:23:44 +02:00
Yu Watanabe
55a1729fd0
network: drop noisy log message
...
Closes #13595 .
2019-09-26 11:37:50 +09:00
Yu Watanabe
10b843efb0
Merge pull request #13649 from keszybz/arphrd-minimization
...
Arphrd minimization
2019-09-26 00:12:20 +09:00
Yu Watanabe
82d1264048
Merge pull request #11883 from yuwata/network-dhcp-renew
...
network: dhcp renew
2019-09-22 07:44:23 +02:00
Yu Watanabe
fc9d85b9bc
Merge pull request #13610 from yuwata/network-check-one-more-section
...
network: assorted follow-ups
2019-09-22 07:18:28 +02:00
Yu Watanabe
308e7dfdce
networkctl: add renew command
2019-09-21 20:27:43 +09:00
Yu Watanabe
ae65d7dbe3
network: introduce new bus method Renew() and RenewLink()
2019-09-21 20:27:36 +09:00
Yu Watanabe
714a199e48
network: add one more section validty check
...
Follow-up for 203d4df573 .
2019-09-21 20:17:15 +09:00
Yu Watanabe
9b6dddd170
po: update Japanese translations
...
Follow-up for ea2552639b .
2019-09-21 20:16:22 +09:00
Yu Watanabe
0eb5e6d3f0
dhcp6: use unaligned_read_be32()
...
Closes #13591 .
2019-09-20 08:04:15 +00:00
Yu Watanabe
5a4717fe8e
Merge pull request #13582 from yuwata/udevadm-reload
...
udevadm: use 'udevadm control' to reload udevd
2019-09-18 08:15:01 +09:00
Yu Watanabe
62080133da
Merge pull request #13583 from keszybz/networkd-hash-compare-equality
...
Networkd hash compare equality
2019-09-18 08:09:48 +09:00
Yu Watanabe
6ffe71d0e2
dhcp6: add missing option length check
...
Closes #13578 .
2019-09-17 18:29:20 +00:00
Yu Watanabe
ce8a4ef13d
unit: add ExecReload= in systemd-udevd.service
2019-09-18 01:32:46 +09:00
Yu Watanabe
f6e8ba8165
udevadm: use usec_add()
...
Also fixes description of event source.
2019-09-18 01:29:49 +09:00
Yu Watanabe
2f5b282aab
udevadm: missing initialization of descriptor
2019-09-18 01:29:40 +09:00
Yu Watanabe
edfbf051e1
Merge pull request #13559 from ssahani/ipv6ra-route
...
network: make networkd able to advertise IPv6 routes on links
2019-09-18 00:13:08 +09:00
Yu Watanabe
fa3e401a79
network: also take Route::initcwnd and ::initrwnd into hash func
...
Fixes #13506 .
2019-09-17 21:53:42 +09:00
Yu Watanabe
c077a205e7
network: take more route information into hash func
2019-09-17 21:53:42 +09:00
Yu Watanabe
f136875549
network: make route_get() or friends take Route object
2019-09-17 21:53:42 +09:00
Yu Watanabe
48fb0d1301
sd-netlink: fix invalid assertion
...
It is natural that n_attiributes is less than type. But in that case,
the message does not contain any message about the type. So, we should
not abort execution with assertion, but just return -ENODATA.
2019-09-17 21:53:42 +09:00
Yu Watanabe
67ad633b58
Merge pull request #13567 from keszybz/logind-two-refactoring-patches
...
Logind two refactoring patches
2019-09-17 21:41:38 +09:00
Yu Watanabe
4d59e14f32
network: do not enter failed state if device's sysfs entry does not exist yet
2019-09-17 21:34:06 +09:00
Yu Watanabe
b1b0b42e48
network: add missing link->network checks
...
When the function is called, no network file may be assigned to the
link.
2019-09-17 21:29:35 +09:00
Yu Watanabe
7b3770a75f
test-network: add one more test case for LinkLocalAddressing=
2019-09-17 09:45:22 +09:00
Yu Watanabe
5539fc0f73
network: drop IPv6LL address when LinkLocalAddressing=no|ipv4
...
C.f. disscussion in #13533 .
Hopefully fixes #12886 .
2019-09-17 09:45:22 +09:00
Yu Watanabe
f39fc2d88b
Merge pull request #13354 from keszybz/two-refactoring-patches
...
Two or more refactoring patches
2019-09-16 21:24:13 +09:00
Yu Watanabe
9973e6c43a
ndisc: make first solicit delayed randomly
...
Closes #13460 .
2019-09-16 05:37:04 +09:00
Yu Watanabe
fcb51238e0
dhcp6: read OPTION_INFORMATION_REFRESH_TIME option
...
Fixes #13460 .
2019-09-16 05:36:57 +09:00
Yu Watanabe
1520151268
network: add more debug messages
2019-09-15 22:33:11 +09:00
Yu Watanabe
c697db75de
network: set scope and protocol for default route
2019-09-15 22:33:11 +09:00
Yu Watanabe
750f919112
network: drop redundant and invalid destination address
...
When dst_prefixlen is not set, the value is not used.
2019-09-15 22:33:11 +09:00
Yu Watanabe
70dc23624e
network: do not use implicit cast to boolean
2019-09-15 22:33:11 +09:00
Yu Watanabe
2aa7d367ec
network: do not create default route for ipv4 link local addressing
...
When nspawn container with private network starts, networkd creates
the default route for the interface. The route may cause problem on
the host side, and it can be created with DefaultRouteOnDevice= now.
Hence, this makes networkd not create the route implicitly any more.
Closes #13418 .
2019-09-15 22:33:11 +09:00
Yu Watanabe
bd9014c360
man: move TimeoutCleanSec= entry from .service to .exec
...
Follow-up for 12213aed12 .
Closes #13546 .
2019-09-13 15:06:40 +02:00
Yu Watanabe
5dcd46dd53
Merge pull request #13538 from keszybz/doc-tweaks
...
Various minor tweaks that don't deserve seperate pull requests
2019-09-13 13:31:20 +09:00
Yu Watanabe
7d79cc96ea
Merge pull request #13526 from yuwata/network-check-access-mode-of-key-file
...
network: check access mode of key file
2019-09-12 12:02:28 +09:00
Yu Watanabe
be7110826e
network: do not abort execution when a config file cannot be loaded
...
Closes #13516 .
2019-09-11 21:15:22 +09:00
Yu Watanabe
0f93577647
fileio: update warning message
2019-09-11 21:11:18 +09:00
Yu Watanabe
0bae857564
network: also check the permission of key file
2019-09-11 21:11:01 +09:00
Yu Watanabe
48d26c9085
test: add test cases for empty string match
2019-09-11 09:06:15 +09:00
Yu Watanabe
067cc51f2e
udev: fix multi match
...
Fixes #13518 .
2019-09-11 09:05:39 +09:00