Franz Pletz
b8d88b26f3
man: add vrf section
2019-05-29 17:06:29 +09:00
Yu Watanabe
f1bc253efa
Merge pull request #12687 from yuwata/parse_ifindex_or_ifname
...
util: introduce parse_ifindex_or_ifname() and use it in networkctl and resolvectl
2019-05-29 14:20:36 +09:00
Yu Watanabe
4bddccc684
networkctl: use parse_ifindex_or_ifname()
2019-05-29 13:22:01 +09:00
Yu Watanabe
8e5385b485
resolvectl: use parse_ifindex_or_ifname()
2019-05-29 13:22:01 +09:00
Yu Watanabe
f5072281ba
util: add assertions
2019-05-29 13:21:51 +09:00
Yu Watanabe
88465a4ee7
util: introduce parse_ifindex_or_ifname()
2019-05-29 13:21:18 +09:00
Susant Sahani
9cd8c76661
networkctl: add support to delete virtual netdevs
...
We now don't have the support to delete netdevs and dependent
upon iproute to delete. With this we can delete via networkctl
and use in our test cases too.
Note that it supports deleting multiple links at once.
```
sudo ./networkctl delete test1 test2 test3 test4
```
2019-05-29 11:00:37 +09:00
Yu Watanabe
0feeac6418
Merge pull request #12635 from yuwata/nlmon-support
...
network: add nlmon support
2019-05-29 10:22:09 +09:00
Yu Watanabe
77ce4dbb93
Merge pull request #12573 from yuwata/network-dhcp-issue-12490
...
network: set preferred source in removing route entry on address lost
2019-05-29 10:21:31 +09:00
Zach Smith
1bbbefe7a6
systemd-sleep: replace rtc wakealarm with CLOCK_BOOTTIME_ALARM s2h
...
refactor to use timerfd in place of rtc wakealarm
confirm CLOCK_BOOTTIME_ALARM support in can_s2h
Remove CLOCK_BOOTTIME_ALARM task from TODO
remove unnecessary check on clock_supported return
2019-05-28 17:02:36 +02:00
Lennart Poettering
46fcf95dbe
seccomp: add new 5.1 syscall pidfd_send_signal() to filter set list
2019-05-28 17:01:05 +02:00
Lennart Poettering
c22f885e4e
test: exit cleanly on success
2019-05-28 16:14:02 +02:00
Yu Watanabe
811f33d0b1
test-network: add a basic test for nlmon
2019-05-28 22:47:20 +09:00
Yu Watanabe
d61e4c5b6e
network: add nlmon support
...
nlmon is a Netlink monitor device.
2019-05-28 22:47:15 +09:00
Yu Watanabe
daf0f8ca87
network: add NetDevVTable::generate_mac flag
2019-05-28 22:45:35 +09:00
Yu Watanabe
efdb62dfd0
network: do not send DHCPRELEASE when CriticalConnection= is enabled
2019-05-28 22:21:25 +09:00
Yu Watanabe
8ad8292452
test-network: use wait_online() in NetworkdDHCPServerTests or friends
2019-05-28 22:21:25 +09:00
Yu Watanabe
fdcd1ec54a
test-network: move test_domain() to NetworkdNetworkTests class
2019-05-28 22:21:24 +09:00
Yu Watanabe
be68c2c965
test-network: rename needlessly long class names
2019-05-28 22:21:24 +09:00
Yu Watanabe
2629df4710
test-network: use wait_online() instead of waiting for 10 seconds
...
But some tests requires both IPv4 and IPv6 addresses are configured.
Only in that case wait for addresses to be configured.
2019-05-28 22:21:24 +09:00
Yu Watanabe
58df8fb7dc
test-network: drop unused link
2019-05-28 22:21:24 +09:00
Yu Watanabe
350e05d274
test-network: rename link_remove() to remove_links()
2019-05-28 22:21:24 +09:00
Yu Watanabe
5f68a6a46a
test-network: remove routes even on failure
2019-05-28 22:21:24 +09:00
Yu Watanabe
95c74b0aff
test-network: use setUp() and tearDown() to delete routing policy rule tables
2019-05-28 22:21:24 +09:00
Yu Watanabe
def9fc0d65
test-network: remove fou ports on failure
2019-05-28 22:21:24 +09:00
Yu Watanabe
9f10126f3c
test-network: stop dnsmasq before removing links
2019-05-28 22:21:24 +09:00
Yu Watanabe
1836bedf92
test-network: warn when firewalld.service is running
2019-05-28 22:21:24 +09:00
Yu Watanabe
b6efd6614c
test-network: add tests for issue #12490
2019-05-28 22:21:23 +09:00
Yu Watanabe
5b11f372f0
network: lower log level about critical connection
2019-05-28 22:21:23 +09:00
Yu Watanabe
7fa472f9b7
network: split dhcp_lease_lost() into small pieces
2019-05-28 22:21:23 +09:00
Yu Watanabe
a20c909c68
network: set dhcp4_configured flag false before configuring address
...
Otherwise, even if dhcp_lease_acquired() fails, the flag is still on.
2019-05-28 22:21:23 +09:00
Yu Watanabe
4c9c827231
network: reset Link::dhcp4_configured flag earlier
2019-05-28 22:21:23 +09:00
Yu Watanabe
8df8ce781c
network: set preferred source in removing route entry on address lost
...
Closes #12490 .
2019-05-28 22:21:23 +09:00
Zbigniew Jędrzejewski-Szmek
6bf901a9b5
Merge pull request #12437 from poettering/chmod-and-chown-rewrite
...
chmod_and_chown() rewrite
2019-05-28 15:12:20 +02:00
Zbigniew Jędrzejewski-Szmek
127c167cdb
Merge pull request #12390 from poettering/string-file-mkdir
...
fileio: add a WRITE_STRING_FILE_MKDIR_0755 flag to write_string_file() that creates parent directories if needed
2019-05-28 14:42:55 +02:00
Zbigniew Jędrzejewski-Szmek
365939fc9f
Merge pull request #12392 from poettering/firstboot-salt
...
generalize crypt_r() salt generation code
2019-05-28 14:36:54 +02:00
Lennart Poettering
1c99d2e0c5
Merge pull request #12597 from keszybz/analyze-timestamp
...
Analyze timestamps
2019-05-28 14:34:53 +02:00
Lennart Poettering
0fe11383b7
Merge pull request #12682 from keszybz/pull-in-user-targets
...
rules: enable hardware-related targets also for user instances
2019-05-28 14:28:59 +02:00
Zbigniew Jędrzejewski-Szmek
51b568f752
NEWS: add some entries
...
For #12680 , #12571 .
2019-05-28 14:28:09 +02:00
Lennart Poettering
7345109e61
capability-util: be more careful with types
2019-05-28 14:23:20 +02:00
Zbigniew Jędrzejewski-Szmek
b7437f1c55
Merge pull request #12679 from yuwata/journal-issue-12400
...
journal: do not trigger assertion when journal_file_close() get NULL
2019-05-28 14:20:34 +02:00
Zbigniew Jędrzejewski-Szmek
026f3d3b91
rules: enable hardware-related targets also for user instances
...
> the odd thing is that these units are also defined for the systemd user
> instance. However, because these are bound to SYSTEMD_USER_WANTS rather than
> SYSTEMD_WANTS they are effectively useless unless some other software
> installs the corresponding udev rules first.
This adds the rules and starts those targets also for user instances.
Fixes #12330 .
2019-05-28 14:18:11 +02:00
Yu Watanabe
627df1dc42
journal: use cleanup attribute at one more place
2019-05-28 18:07:18 +09:00
Yu Watanabe
c377a6f3ad
journal: do not trigger assertion when journal_file_close() get NULL
...
We generally expect destructors to not complain if a NULL argument is passed.
Closes #12400 .
2019-05-28 18:07:18 +09:00
Yu Watanabe
3fb1069019
udev: fix error message
2019-05-28 10:35:21 +02:00
Zbigniew Jędrzejewski-Szmek
3f8841f286
Merge pull request #12653 from yuwata/test-network-improvements-2
...
network: fix configuring vxcan devices and several test-network follow-ups
2019-05-28 10:27:58 +02:00
Douglas Christman
f003d62ec6
zsh-completion: fix completion for systemd-inhibit --what
2019-05-28 10:04:42 +02:00
Yu Watanabe
a54510c775
udev: suppress warning when interface matches 99-default.link
...
This suppress the following warning:
```
systemd-udevd[437]: Config file /usr/lib/systemd/network/99-default.link
applies to device based on potentially unpredictable interface name 'wlan0'
```
Follow-up for 84ea567eb4
.
2019-05-28 10:04:12 +02:00
Yu Watanabe
2789437be5
bash-completion: update options for bootctl
2019-05-28 09:49:57 +02:00
Yu Watanabe
3f0d8b2dbd
coredumpctl: fix --debugger option
...
Closes #12660 .
2019-05-28 08:22:07 +02:00