Yu Watanabe
14dc033574
test-network: fix typo in class name
2018-12-06 16:48:41 +01:00
Zbigniew Jędrzejewski-Szmek
2d479ff1cc
Merge pull request #10963 from poettering/bus-force-state-change-signal
...
force PropertiesChanged bus signal on all unit state changes
2018-12-06 16:42:21 +01:00
Paweł Szewczyk
6dce3bb401
fd-util: Fix error handling in safe_fclose
...
Function fclose_nointr returns negative value on error.
2018-12-06 16:15:39 +01:00
Zbigniew Jędrzejewski-Szmek
a91f96ad39
Merge pull request #10994 from poettering/sd-bus-tweaks
...
small sd-bus tweaks
2018-12-06 15:26:05 +01:00
Yu Watanabe
801503d22b
Merge pull request #10988 from ssahani/IFLA_BRPORT_MCAST_TO_UCAST
...
networkd: bridge add support to configure multicast_to_unicast
2018-12-06 14:32:52 +01:00
Yu Watanabe
fda96700e4
Merge pull request #11032 from ssahani/invert-rule
...
networkd: RPDB rule - add support to configure inverted rule.
2018-12-06 14:27:36 +01:00
Yu Watanabe
e93672eeac
tree-wide: drop missing.h from headers and use relevant missing_*.h
2018-12-06 13:31:16 +01:00
Yu Watanabe
204f52e32d
lockfile: drop unnecessary headers from lockfile-util.h
2018-12-06 13:31:16 +01:00
Yu Watanabe
893829359a
nsflsgs: drop missing.h and use missing_sched.h
2018-12-06 13:31:16 +01:00
Yu Watanabe
ef118d00eb
util: drop missing.h from socket-util.h
2018-12-06 13:31:16 +01:00
Yu Watanabe
3c94e50486
util: drop missing.h from time-util.c
2018-12-06 13:31:16 +01:00
Yu Watanabe
503f480f8e
missing: move fs or mount related definitions to missing_fs.h
...
This also fixes errnous definition MS_REC -> MS_SLAVE.
2018-12-06 13:30:43 +01:00
Yu Watanabe
311c1a5d0a
missing: drop falloc related definitions
...
All these values are exposed earlier than linux-3.11.
Let's drop them.
2018-12-06 13:28:34 +01:00
Yu Watanabe
22332e339b
missing: move sched.h related definitions to missing_sched.h
2018-12-06 13:28:28 +01:00
Yu Watanabe
dab28f0905
missing: drop old drm related definitions
...
These values are exposed earlier than linux-3.11.
Let's use drm/drm.h.
2018-12-06 13:27:47 +01:00
Yu Watanabe
957c622b86
missing: drop BPF_XOR as we have linux/bpf_common.h
2018-12-06 13:27:23 +01:00
Yu Watanabe
fec6661efd
missing: drop DM_DEFERRED_REMOVE as we have dm-ioctl.h
2018-12-06 13:26:55 +01:00
Yu Watanabe
470f348b97
missing: move definition of secure_getenv() to missing_stdlib.h
2018-12-06 13:26:55 +01:00
Yu Watanabe
b19bb11142
missing: move rand related definitions to missing_random.h
2018-12-06 13:26:55 +01:00
Yu Watanabe
5ee668d2d1
missing: drop TIOCVHANGUP
...
This is defined before linux-3.11. Also, its value depnends on
architecture. So, it is not good to define in this form.
2018-12-06 13:26:48 +01:00
Yu Watanabe
c8a363eb15
missing: add memfd related definitions to missing_mman.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
d7330b60a9
missing: move timer related definition to missing_timerfd.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
66ffbdf933
missing: move socket related definitions to missing_socket.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
dea72eda9c
missing: move fcntl related definitions to missing_fcntl.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
6c76de27ee
missing: move resource related definitions to missing_resource.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
0e7117d001
missing: move audit related definitions to missing_audit.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
851d66fac2
missing: move syscall related definitions to missing_syscall.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
bd0937ddb3
random-util: drop duplicated linux/random.h
2018-12-06 13:25:24 +01:00
Yu Watanabe
49f6103375
missing: drop old OOM related definitions
...
These are exposed earlier than linux-3.11. Let's just include linux/oom.h.
2018-12-06 13:24:37 +01:00
Yu Watanabe
8f8495702e
missing: move one more network related definition to missing_network.h
2018-12-06 13:24:32 +01:00
Yu Watanabe
9cb6c6ecb0
missing: use integer types used by kernel
...
By using them, we can decrease included headers except linux/types.h.
2018-12-06 13:24:00 +01:00
Susant Sahani
4d7ed14f9f
test-network: add test for bridge MulticastToUnicast
2018-12-06 11:54:14 +05:30
Yu Watanabe
666a84eaca
macro: include errno.h
...
As several macros touch errno.
2018-12-06 07:01:29 +01:00
Susant Sahani
efecf9cd15
test-network: Add test for invert RPDB rule
2018-12-06 11:00:36 +05:30
Susant Sahani
8b220643b1
networkd: RPDB rule - add support to configure inverted rule.
...
Closes #10706
2018-12-06 10:42:36 +05:30
Yu Watanabe
ec3f6df9cf
missing: move several network related entries to missing_network.h
2018-12-06 02:38:59 +01:00
Yu Watanabe
253de60634
Merge pull request #11021 from ssahani/isatap
...
networkd: Add support to configure ISATAP tunnel
2018-12-05 23:13:17 +01:00
Lennart Poettering
67df9b7a06
logs-show: use grey color for de-emphasizing journal log output
2018-12-05 18:46:23 +01:00
Lennart Poettering
ec4b9671b3
resolvectl: color "comment" output grey
...
Let's de-emphasize the "comment" output a bit, by making it grey.
2018-12-05 18:46:23 +01:00
Lennart Poettering
38585af313
resolvectl: add some basic highlighting to query output
...
Let's highlight the actual payload the user requested.
2018-12-05 18:46:23 +01:00
Lennart Poettering
0889b81554
resolvectl: when doing reverse lookups, show ifindex as "comment" too in output
...
Similar as before: don't output ifindex twice on the same address, and
show it as comment only.
Do this for reverse lookup output and all other output too.
2018-12-05 18:46:23 +01:00
Lennart Poettering
ff4a77c3ce
resolvectl: fix interface output when resolving hostnames→addresses
...
We already used in_addr_ifindex_to_string() which internally appends the
ifindex to the address with % if necessary. It's simply wrong to attach the
intreface a second time with % then. Also, it breaks stuff that cannot
deal with that. Hence, let's reformat this, and add the ifindex as a
comment to the output, and drop the second % suffix.
2018-12-05 18:46:23 +01:00
Lennart Poettering
df87a53df0
resolvectl: remove allow_loopback parameter from ifname_mangle()
...
All our bus calls validate whether the specified device is a loopback
device anyway on the server side. Let's hence simplify the client,
there's no value in optimizing error paths after all. But there is value
in simpler code.
2018-12-05 18:46:23 +01:00
Lennart Poettering
d129304919
resolvectl: for our per-link verbs alternatively accept interface name in -i
...
it's a bit confusing that we take two interfaces for verbs such as "dns"
or "domain": once after the verb, and once as --interface=. While
there's logic behind it, let's make this least surprising: if either is
specified be happy.
This means "resolvectl -i foo dns" is now equivalent to "resolvectl dns
foo …". Note that this is a tweak only, to minimize surprises. We don't
document this alternative syntax, and shouldn't to keep things simple.
2018-12-05 18:46:23 +01:00
Lennart Poettering
a77081e30f
resolvectl: rework ifname_mangle()
...
Let's compare the ifname passed in with what is set already if there is
something set already. Complain in that case. This makes commands such
as "resolvectl -i foo dns bar" less weird, as we'll refuse the duplicate
ifname specifications.
Also, free the old arg_ifname right before assigning the new, instead of
doing so in advance.
2018-12-05 18:46:23 +01:00
Lennart Poettering
c9e6918257
resolved: request incoming ifindex for DNS UDP packets, too
...
This information is useful to pass back to the caller, as it tells us
where we found the answer.
(While we are at it, fix the socket level for the RECVERR logic)
Fixes : #9778
2018-12-05 18:46:23 +01:00
Zbigniew Jędrzejewski-Szmek
0eb82482a0
Merge pull request #11053 from poettering/rc-local-tweak
...
rc-local-generator message tweak
2018-12-05 17:19:35 +01:00
Lennart Poettering
7f6b1a2139
rc-local-generator: tweak log message generation
...
Let's be more explicit, and not use LOG_WARNING log level when there's
nothing really wrong.
Fixes : #11044
Follow-up for: #10955
2018-12-05 12:52:47 +01:00
Lennart Poettering
c5df80a06d
rc-local-generator: small shortification
2018-12-05 12:52:47 +01:00
Evgeny Vereshchagin
278ef0ab33
README: embed a CentOS CI badge into README
...
Plus be more specific about where the badges point to.
2018-12-05 12:42:52 +01:00