]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
5 years agonetworkd: route add MPLS TTL propagate 12586/head
Susant Sahani [Thu, 16 May 2019 09:49:08 +0000 (15:19 +0530)] 
networkd: route add MPLS TTL propagate

5 years agosd-netlink: add route netlink properties
Susant Sahani [Thu, 16 May 2019 09:48:35 +0000 (15:18 +0530)] 
sd-netlink: add route netlink properties

5 years agonetwork: do not use ordered_set_printf() for DOMAINS= or ROUTE_DOMAINS=
Yu Watanabe [Sun, 12 May 2019 20:40:31 +0000 (05:40 +0900)] 
network: do not use ordered_set_printf() for DOMAINS= or ROUTE_DOMAINS=

This partially reverts 5e2a51d588dde4b52c6017ea80b75c16e6e23431.

Fixes #12531.

5 years agoMerge pull request #12549 from yuwata/network-sittun-disable-link-local-addressing...
Yu Watanabe [Thu, 16 May 2019 03:11:05 +0000 (05:11 +0200)] 
Merge pull request #12549 from yuwata/network-sittun-disable-link-local-addressing-12547

network: disable LinkLocalAddressing on sit devices

5 years agoMerge pull request #12576 from ssahani/fou
Yu Watanabe [Thu, 16 May 2019 03:10:35 +0000 (05:10 +0200)] 
Merge pull request #12576 from ssahani/fou

 networkd: FOU tunnel support Local and Peer tunnel addresses

5 years agoMerge pull request #12578 from ssahani/ipvtap
Yu Watanabe [Thu, 16 May 2019 03:01:35 +0000 (05:01 +0200)] 
Merge pull request #12578 from ssahani/ipvtap

networkd: introduce netdev ipvtap

5 years agotest-network: check tunnel netdevs become operstate 'routable' 12549/head
Yu Watanabe [Sun, 12 May 2019 21:55:16 +0000 (06:55 +0900)] 
test-network: check tunnel netdevs become operstate 'routable'

5 years agonetworkd: FOU tunnel support Local and Peer tunnel addresses 12576/head
Susant Sahani [Wed, 15 May 2019 09:17:18 +0000 (14:47 +0530)] 
networkd: FOU tunnel support Local and Peer tunnel addresses

5 years agosd-netlink: Add Fou properties FOU_ATTR_LOCAL_V4/FOU_ATTR_PEER_V4
Susant Sahani [Wed, 15 May 2019 09:16:01 +0000 (14:46 +0530)] 
sd-netlink: Add Fou properties FOU_ATTR_LOCAL_V4/FOU_ATTR_PEER_V4

FOU_ATTR_LOCAL_V6
FOU_ATTR_PEER_V6
FOU_ATTR_PEER_PORT
FOU_ATTR_IFINDEX

5 years agolinux: update headers from current kernel master
Yu Watanabe [Thu, 16 May 2019 01:19:08 +0000 (10:19 +0900)] 
linux: update headers from current kernel master

5 years agotest-network: add a basic test for ipvtap 12578/head
Yu Watanabe [Thu, 16 May 2019 00:48:34 +0000 (09:48 +0900)] 
test-network: add a basic test for ipvtap

5 years agonetworkd: introduce netdev ipvtap
Susant Sahani [Wed, 15 May 2019 10:12:30 +0000 (15:42 +0530)] 
networkd: introduce netdev ipvtap

This patch adds netdev ipvtap that is based on the
IP-VLAN network interface, called ipvtap. An ipvtap device can be created
in the same way as an ipvlan device, using 'kind ipvtap', and then accessed
using the tap user space interface.

5 years agonetwork: disable link local addressing on ipip, gre, sit, and vti netdevs
Yu Watanabe [Sun, 12 May 2019 21:51:54 +0000 (06:51 +0900)] 
network: disable link local addressing on ipip, gre, sit, and vti netdevs

Closes #12547.

5 years agowait-online: ignore -ENODATA on updating link information
Yu Watanabe [Wed, 15 May 2019 04:15:16 +0000 (13:15 +0900)] 
wait-online: ignore -ENODATA on updating link information

When netdev is not created yet, the -ENODATA is returned.

5 years agonetwork: link_check_ready() returns earlier if routes are not configured yet
Yu Watanabe [Sun, 12 May 2019 21:48:31 +0000 (06:48 +0900)] 
network: link_check_ready() returns earlier if routes are not configured yet

link_request_set_routes() calls link_check_ready(), so it is not
necessary to continue that here.

5 years agoMerge pull request #12496 from yuwata/network-on-device-default-route
Yu Watanabe [Wed, 15 May 2019 20:46:25 +0000 (22:46 +0200)] 
Merge pull request #12496 from yuwata/network-on-device-default-route

network: add DefaultRouteOnDevice= setting in [Network] section

5 years agoanalyze: fix help message
Yu Watanabe [Wed, 15 May 2019 08:49:15 +0000 (17:49 +0900)] 
analyze: fix help message

5 years agoman: note that journal does not validate syslog fields
Jan Synacek [Tue, 14 May 2019 08:45:08 +0000 (10:45 +0200)] 
man: note that journal does not validate syslog fields

5 years agoMerge pull request #12565 from zachsmith/fix-log-message-typos
Lennart Poettering [Wed, 15 May 2019 08:50:03 +0000 (10:50 +0200)] 
Merge pull request #12565 from zachsmith/fix-log-message-typos

systemd-sleep: Fix typos in log messages

5 years agoask-password: prevent buffer overrow when reading from keyring
Thadeu Lima de Souza Cascardo [Mon, 13 May 2019 19:58:01 +0000 (16:58 -0300)] 
ask-password: prevent buffer overrow when reading from keyring

When we read from keyring, a temporary buffer is allocated in order to
determine the size needed for the entire data. However, when zeroing that area,
we use the data size returned by the read instead of the lesser size allocate
for the buffer.

That will cause memory corruption that causes systemd-cryptsetup to crash
either when a single large password is used or when multiple passwords have
already been pushed to the keyring.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
5 years agotest-network: add a test for IPv4LLRoute= 12496/head
Yu Watanabe [Wed, 15 May 2019 03:43:36 +0000 (12:43 +0900)] 
test-network: add a test for IPv4LLRoute=

5 years agotest-network: add tests for DefaultRouteOnDevice=
Yu Watanabe [Tue, 7 May 2019 04:18:30 +0000 (06:18 +0200)] 
test-network: add tests for DefaultRouteOnDevice=

5 years agonetwork: add DefaultRouteOnDevice= setting in [Network] section
Yu Watanabe [Tue, 14 May 2019 07:43:14 +0000 (16:43 +0900)] 
network: add DefaultRouteOnDevice= setting in [Network] section

When enabled, then default route bound to the interface will be created.
This is useful when adding routes on point-to-point interfaces.

Closes #788.

5 years agonetwork: add missing error check
Yu Watanabe [Tue, 14 May 2019 08:58:20 +0000 (17:58 +0900)] 
network: add missing error check

5 years agonetworkd: do not generate MAC for bridge device.
Susant Sahani [Tue, 14 May 2019 09:45:23 +0000 (11:45 +0200)] 
networkd: do not generate MAC for bridge device.

closes https://github.com/systemd/systemd/issues/12558

5 years agofix typo in partition device message 12565/head
Zach Smith [Tue, 14 May 2019 04:02:06 +0000 (21:02 -0700)] 
fix typo in partition device message

5 years agoMerge pull request #12562 from evverx/timeouts
Frantisek Sumsal [Tue, 14 May 2019 12:19:41 +0000 (14:19 +0200)] 
Merge pull request #12562 from evverx/timeouts

tests: set NSPAWN_TIMEOUT and QEMU_TIMEOUT explicitly

5 years agotests: turn on the QEMU part in the Xenial job 12562/head
Evgeny Vereshchagin [Tue, 14 May 2019 11:13:04 +0000 (13:13 +0200)] 
tests: turn on the QEMU part in the Xenial job

The test has been flaky since varlink was merged.
Let's not annoy people with the test that fails more often than not.

It should be OK because the same test is run on Arch.

5 years agotests: set NSPAWN_TIMEOUT and QEMU_TIMEOUT explicitly
Evgeny Vereshchagin [Tue, 14 May 2019 11:04:42 +0000 (13:04 +0200)] 
tests: set NSPAWN_TIMEOUT and QEMU_TIMEOUT explicitly

These were never set explictily because we relied on Travis CI
canceling a job if it's been stuck for 10 minutes. Now that
the script is run on Azure Pipelines (where the default timeout
is 60 minutes) we should limit the script manually to avoid waiting
for an hour for broken jobs to finish.

5 years agoMerge pull request #12542 from evverx/TEST-PIPELINE
Evgeny Vereshchagin [Tue, 14 May 2019 10:49:54 +0000 (13:49 +0300)] 
Merge pull request #12542 from evverx/TEST-PIPELINE

move the FuzzBuzz stage to Azure Pipelines

5 years agoMerge pull request #12536 from poettering/rdrand-workaround-on-amd
Michael Biebl [Tue, 14 May 2019 10:29:41 +0000 (12:29 +0200)] 
Merge pull request #12536 from poettering/rdrand-workaround-on-amd

random-util: eat up bad RDRAND values seen on AMD CPUs

5 years agoREADME: yet another badge. with the status of Pipelines this time. 12542/head
Evgeny Vereshchagin [Tue, 14 May 2019 10:07:41 +0000 (12:07 +0200)] 
README: yet another badge. with the status of Pipelines this time.

5 years agotests: move the FuzzBuzz stage from Travis CI to Azure Pipelines
Evgeny Vereshchagin [Mon, 13 May 2019 00:09:14 +0000 (02:09 +0200)] 
tests: move the FuzzBuzz stage from Travis CI to Azure Pipelines

5 years agotests: make fuzzbuzz.sh compatible with Azure Piplines
Evgeny Vereshchagin [Sun, 12 May 2019 03:57:10 +0000 (05:57 +0200)] 
tests: make fuzzbuzz.sh compatible with Azure Piplines

5 years agotests: try to run fuzzbuzz.sh with Azure Pipelines to see how it fares there
Evgeny Vereshchagin [Sun, 12 May 2019 03:54:25 +0000 (05:54 +0200)] 
tests: try to run fuzzbuzz.sh with Azure Pipelines to see how it fares there

5 years agoMerge pull request #12555 from ssahani/route-properties
Yu Watanabe [Tue, 14 May 2019 07:03:52 +0000 (09:03 +0200)] 
Merge pull request #12555 from ssahani/route-properties

 networkd: route add support to configure fastopen_no_cookie

5 years agonetworkd: DHCP client add support to send RELEASE packet
Susant Sahani [Mon, 13 May 2019 14:30:28 +0000 (20:00 +0530)] 
networkd: DHCP client add support to send RELEASE packet

closes #10820

5 years agofix typo in wakealarm message
Zach Smith [Tue, 14 May 2019 03:01:36 +0000 (20:01 -0700)] 
fix typo in wakealarm message

5 years agonetworkd: route fix coding style 12555/head
Susant Sahani [Tue, 14 May 2019 02:39:54 +0000 (08:09 +0530)] 
networkd: route fix coding style

5 years agonetworkd: route add support to configure fastopen_no_cookie
Susant Sahani [Mon, 13 May 2019 11:15:33 +0000 (16:45 +0530)] 
networkd: route add support to configure fastopen_no_cookie

This patch adds fastopen_no_cookie option to enable/disable TCP fastopen
without a cookie on a per-route basis.

5 years agonetworkd: bridge FDB support more NTF_* flags
Susant Sahani [Wed, 8 May 2019 14:13:21 +0000 (19:43 +0530)] 
networkd: bridge FDB support more NTF_* flags

Add support to configure NTF_ROUTER and NTF_USE

5 years agoMerge pull request #12537 from yuwata/network-link-local-follow-ups
Yu Watanabe [Tue, 14 May 2019 00:22:18 +0000 (02:22 +0200)] 
Merge pull request #12537 from yuwata/network-link-local-follow-ups

network: do not send ipv6 token to kernel

5 years agotravis: move the Xenial phase to Azure Pipelines
Frantisek Sumsal [Mon, 13 May 2019 18:39:02 +0000 (20:39 +0200)] 
travis: move the Xenial phase to Azure Pipelines

5 years agotmpfiles: do not create /run/nologin if PAM is disabled
Xi Ruoyao [Sun, 12 May 2019 06:22:11 +0000 (14:22 +0800)] 
tmpfiles: do not create /run/nologin if PAM is disabled

If systemd is not built with PAM support, systemd-user-sessions.service
won't be built.  On systems without PAM, /run/nologin is useless.  On
systems with PAM but systemd is not built with PAM, /run/nologin won't
be removed and all unprivileged users can't login.

So, we should not create /run/nologin if systemd is built without PAM.

5 years agoman: mention garbage collection of failed conditions
Simon Schricker [Mon, 13 May 2019 08:47:43 +0000 (10:47 +0200)] 
man: mention garbage collection of failed conditions

See discussion:
https://github.com/systemd/systemd/issues/2234

5 years agosd-netlink: support RTAX_FASTOPEN_NO_COOKIE
Susant Sahani [Mon, 13 May 2019 11:14:55 +0000 (16:44 +0530)] 
sd-netlink: support RTAX_FASTOPEN_NO_COOKIE

5 years agoMerge pull request #12546 from jwrdegoede/hwdb-logitech-s510
Lennart Poettering [Mon, 13 May 2019 08:47:07 +0000 (10:47 +0200)] 
Merge pull request #12546 from jwrdegoede/hwdb-logitech-s510

Hwdb logitech s510

5 years agohwdb: Add key mappings for Logitech S510 keyboard and remote control 12546/head
Hans de Goede [Sun, 12 May 2019 10:25:39 +0000 (12:25 +0200)] 
hwdb: Add key mappings for Logitech S510 keyboard and remote control

The S510 keyboard and S510 remote control both have 1 key where the markings
on the key dop not match with the generic Logitech 27MHz keymap.

This commit adds device specific overrides for this.

5 years agohwdb: Update generic Logitech 27 MHz keyboard key mappings
Hans de Goede [Sun, 12 May 2019 10:21:33 +0000 (12:21 +0200)] 
hwdb: Update generic Logitech 27 MHz keyboard key mappings

This commit makes 2 changes to the generic Logitech 27 MHz keyboard keymap:
1. It moves some codes from being keyboard specific to the generic 27MHz
   mapping table, these codes do not conflict on different models and at
   least the c1019 - c101b codes are not only used on the MX3000 keyboard,
   but also on the S510 Remote control
2. Add a bunch of new codes found on the S510 keyboard and S510 remote control

5 years agoMerge pull request #12524 from evverx/UBSan-reports
Evgeny Vereshchagin [Sun, 12 May 2019 02:17:16 +0000 (05:17 +0300)] 
Merge pull request #12524 from evverx/UBSan-reports

tests: stop sending UBsan reports to /dev/null

5 years agotests: hook up the repository to Azure Pipelines 12524/head
Evgeny Vereshchagin [Sun, 12 May 2019 02:04:29 +0000 (04:04 +0200)] 
tests: hook up the repository to Azure Pipelines

The idea is to move a couple of stages from Travis CI (which has been
overloaded since I added the "FuzzBuzz" stage) to Azure Pipelines.

5 years agotravis: make the ASan+UBSan stage compatible with Azure Pipelines
Evgeny Vereshchagin [Sun, 12 May 2019 01:45:29 +0000 (03:45 +0200)] 
travis: make the ASan+UBSan stage compatible with Azure Pipelines

5 years agotests: override a hard-coded timeout that kicks in too early (under ASan+UBSan)
Evgeny Vereshchagin [Fri, 10 May 2019 16:33:35 +0000 (18:33 +0200)] 
tests: override a hard-coded timeout that kicks in too early (under ASan+UBSan)

The test has failed two times today: https://travis-ci.org/systemd/systemd/jobs/530750626
and https://travis-ci.org/systemd/systemd/jobs/530759465.

5 years agotests: redirect the stdout/stderr of journald to a file (under ASan+UBSan)
Evgeny Vereshchagin [Fri, 10 May 2019 00:47:03 +0000 (02:47 +0200)] 
tests: redirect the stdout/stderr of journald to a file (under ASan+UBSan)

Sometimes UBSan sends its reports to stderr regardless of what is specified in log_path
Let's try to catch them by redirecting stderr (and stdout just in case) to a file
See https://github.com/systemd/systemd/pull/12524#issuecomment-491108821

5 years agotests: redirect UBsan reports to a file
Evgeny Vereshchagin [Thu, 9 May 2019 23:00:29 +0000 (01:00 +0200)] 
tests: redirect UBsan reports to a file

so that they won't end up in /dev/null

5 years agoMerge pull request #12516 from yuwata/network-split-link
Yu Watanabe [Sat, 11 May 2019 22:51:23 +0000 (00:51 +0200)] 
Merge pull request #12516 from yuwata/network-split-link

networkd: split networkd-link.c

5 years agonetworkd: Geneve add support for inherit for TTL
Susant Sahani [Sat, 11 May 2019 02:38:57 +0000 (08:08 +0530)] 
networkd: Geneve add support for inherit for TTL

5 years agotest-network: add a tiny test for IPv6Token= 12537/head
Yu Watanabe [Sat, 11 May 2019 22:34:13 +0000 (07:34 +0900)] 
test-network: add a tiny test for IPv6Token=

5 years agonetwork: do not send ipv6 token to kernel
Yu Watanabe [Thu, 9 May 2019 05:39:46 +0000 (14:39 +0900)] 
network: do not send ipv6 token to kernel

We disabled kernel RA support. Then, we should not send
IFLA_INET6_TOKEN.
Thus, we do not need to send IFLA_INET6_ADDR_GEN_MODE twice.

Follow-up for 0e2fdb83bb5e22047e0c7cc058b415d0e93f02cf and
4eb086a38712ea98faf41e075b84555b11b54362.

5 years agonetwork: move MulticastRouter to netdev/bridge.[ch] 12516/head
Yu Watanabe [Fri, 10 May 2019 15:02:58 +0000 (00:02 +0900)] 
network: move MulticastRouter to netdev/bridge.[ch]

5 years agonetwork: drop unnecessary initializations
Yu Watanabe [Fri, 10 May 2019 14:31:20 +0000 (23:31 +0900)] 
network: drop unnecessary initializations

5 years agonetwork: move link_set_bond() to netdev/bond.c
Yu Watanabe [Fri, 10 May 2019 14:29:07 +0000 (23:29 +0900)] 
network: move link_set_bond() to netdev/bond.c

5 years agonetwork: move link_set_bridge to netdev/bridge.c
Yu Watanabe [Fri, 10 May 2019 14:22:47 +0000 (23:22 +0900)] 
network: move link_set_bridge to netdev/bridge.c

5 years agonetwork: move CAN link related functions to networkd-can.c
Yu Watanabe [Thu, 9 May 2019 06:39:19 +0000 (15:39 +0900)] 
network: move CAN link related functions to networkd-can.c

5 years agonetwork: make BindCarrier= work with CAN devices
Yu Watanabe [Fri, 10 May 2019 21:21:40 +0000 (06:21 +0900)] 
network: make BindCarrier= work with CAN devices

If CAN device is set `BindCarrier=` then the interface could not be
down. This fixes the issue.

5 years agonetwork: make link_drop() can take custom handler
Yu Watanabe [Thu, 9 May 2019 06:53:01 +0000 (15:53 +0900)] 
network: make link_drop() can take custom handler

It will be used in the later commit.

5 years agonetwork: move sd_lldp related functions to networkd-lldp-rx.c
Yu Watanabe [Thu, 9 May 2019 05:21:55 +0000 (07:21 +0200)] 
network: move sd_lldp related functions to networkd-lldp-rx.c

5 years agoLLDP: Fix logs for LLDP
Susant Sahani [Fri, 10 May 2019 12:17:45 +0000 (17:47 +0530)] 
LLDP: Fix logs for LLDP

```
May 10 11:08:54 test systemd-networkd[447]: wwan0: Failed to stop LLDP: Success
May 10 11:08:54 test systemd-networkd[447]: wwan0: Gained carrier
May 10 11:08:54 test systemd-networkd[447]: wwan0: Failed to start LLDP: Success
```

5 years agonetwork: move link_lldp_emit_enabled() to networkd-lldp-tx.c
Yu Watanabe [Thu, 9 May 2019 05:21:06 +0000 (07:21 +0200)] 
network: move link_lldp_emit_enabled() to networkd-lldp-tx.c

5 years agorandom-util: eat up bad RDRAND values seen on AMD CPUs 12536/head
Lennart Poettering [Fri, 10 May 2019 19:16:16 +0000 (15:16 -0400)] 
random-util: eat up bad RDRAND values seen on AMD CPUs

An ugly, ugly work-around for #11810. And no, we shouldn't have to do
this. This is something for AMD, the firmware or the kernel to
fix/work-around, not us. But nonetheless, this should do it for now.

Fixes: #11810
5 years agoMerge pull request #12518 from keszybz/naming-scheme
Lennart Poettering [Fri, 10 May 2019 19:14:59 +0000 (15:14 -0400)] 
Merge pull request #12518 from keszybz/naming-scheme

Document our naming schemes properly

5 years agonetworkd: VXLAN support keyword 'inherit' for TTL
Susant Sahani [Fri, 10 May 2019 12:05:24 +0000 (17:35 +0530)] 
networkd: VXLAN support keyword 'inherit' for TTL

5 years agoMerge pull request #12520 from ssahani/geneve
Yu Watanabe [Fri, 10 May 2019 17:47:19 +0000 (19:47 +0200)] 
Merge pull request #12520 from ssahani/geneve

networkd: Geneve add DF feature and allow TTL to bechosen by kernel

5 years agoMerge pull request #12526 from keszybz/some-trivial-follow-ups-for-the-varlink-pr
Lennart Poettering [Fri, 10 May 2019 17:29:58 +0000 (13:29 -0400)] 
Merge pull request #12526 from keszybz/some-trivial-follow-ups-for-the-varlink-pr

Some trivial follow ups for the varlink PR

5 years agojournalctl: improve error messages 12526/head
Zbigniew Jędrzejewski-Szmek [Fri, 10 May 2019 07:57:59 +0000 (09:57 +0200)] 
journalctl: improve error messages

Follow-up for #12230.

5 years agoUse sd_event_source_disable_unref()
Zbigniew Jędrzejewski-Szmek [Wed, 8 May 2019 12:47:32 +0000 (14:47 +0200)] 
Use sd_event_source_disable_unref()

5 years agosd-event: add sd_event_source_disable_unrefp() too
Zbigniew Jędrzejewski-Szmek [Fri, 10 May 2019 07:54:10 +0000 (09:54 +0200)] 
sd-event: add sd_event_source_disable_unrefp() too

I do not have any immediate use for it, but let's add it for completeness.

5 years agosd-event: add sd_event_source_disable_unref() helper
Zbigniew Jędrzejewski-Szmek [Wed, 8 May 2019 12:39:57 +0000 (14:39 +0200)] 
sd-event: add sd_event_source_disable_unref() helper

5 years agoMerge pull request #12521 from mrc0mmand/test-functions-tweaks-for-sanitizers
Evgeny Vereshchagin [Fri, 10 May 2019 14:17:23 +0000 (17:17 +0300)] 
Merge pull request #12521 from mrc0mmand/test-functions-tweaks-for-sanitizers

test: don't preload libasan for systemd-remount-fs.service

5 years agonetworkd: Geneve Allow TTL to be zero. 12520/head
Susant Sahani [Fri, 10 May 2019 09:41:47 +0000 (15:11 +0530)] 
networkd: Geneve Allow TTL to be zero.

Also verify VNI is set

5 years agonetworkd: Geneve add support configure IP don't fragment
Susant Sahani [Thu, 9 May 2019 16:07:46 +0000 (21:37 +0530)] 
networkd: Geneve add support configure IP don't fragment

5 years agosd-netlink: Add supprt for geneve properties
Susant Sahani [Thu, 9 May 2019 16:06:35 +0000 (21:36 +0530)] 
sd-netlink: Add supprt for geneve properties

IFLA_GENEVE_TTL_INHERIT and
IFLA_GENEVE_DF

5 years agoMerge pull request #12480 from ssahani/proxy-arp
Yu Watanabe [Fri, 10 May 2019 13:30:41 +0000 (15:30 +0200)] 
Merge pull request #12480 from ssahani/proxy-arp

network: bridge add support to configure proxy ARP/WIFI

5 years agonetworkd: Add support for blacklisting servers
Susant Sahani [Tue, 30 Apr 2019 22:47:41 +0000 (04:17 +0530)] 
networkd: Add support for blacklisting servers

closes #6260

fuzzer: Add DHCP support for blacklisting servers

5 years agoudev: drop "en" prefix from ID_NET_NAME_ONBOARD 12518/head
Zbigniew Jędrzejewski-Szmek [Thu, 9 May 2019 10:41:52 +0000 (12:41 +0200)] 
udev: drop "en" prefix from ID_NET_NAME_ONBOARD

The comment in udev-builtin-net_id.c (removed in grandparent commit) showed the
property without the prefix. I assume that was always the intent, because it
doesn't make much sense to concatenate anything to an arbitrary user-specified
field.

5 years agoudev: fix various comments
Zbigniew Jędrzejewski-Szmek [Thu, 9 May 2019 10:35:20 +0000 (12:35 +0200)] 
udev: fix various comments

In particular: "re-renaming" was just a copy-paste error.

5 years agoman: describe naming schemes in a new man page
Zbigniew Jędrzejewski-Szmek [Thu, 9 May 2019 10:34:30 +0000 (12:34 +0200)] 
man: describe naming schemes in a new man page

I decided to make this a separate man page because it is freakin' long.
This content could equally well go in systemd-udevd.service(8), systemd.link(5),
or a new man page for the net_id builtin.

v2:
- rename to systemd.net-naming-scheme
- add udevadm test-builtin net_id example

5 years agotest-alloc-util: add "test" that cleanup functions are done in expected order
Zbigniew Jędrzejewski-Szmek [Wed, 8 May 2019 11:34:41 +0000 (13:34 +0200)] 
test-alloc-util: add "test" that cleanup functions are done in expected order

5 years agoMerge pull request #12230 from poettering/varlink-minimal
Zbigniew Jędrzejewski-Szmek [Fri, 10 May 2019 07:40:49 +0000 (09:40 +0200)] 
Merge pull request #12230 from poettering/varlink-minimal

add simple varlink implementation + allow to move journald logging back from /var to /run

5 years agonetworkd: Log error if LLDP fails to start/stop
Susant Sahani [Thu, 9 May 2019 18:24:29 +0000 (23:54 +0530)] 
networkd: Log error if LLDP fails to start/stop

Now LLDP does not log anything why it failed which
is hard to debug. Let's just add some logs.

https://github.com/systemd/systemd/issues/10881

5 years agopo: minor fixes to Italian translation (#12500)
Daniele Medri [Thu, 9 May 2019 18:50:18 +0000 (20:50 +0200)] 
po: minor fixes to Italian translation (#12500)

5 years agoupdate TODO 12230/head
Lennart Poettering [Fri, 12 Apr 2019 12:13:17 +0000 (14:13 +0200)] 
update TODO

5 years agoman: document the two new journalctl commands
Lennart Poettering [Fri, 5 Apr 2019 16:59:25 +0000 (18:59 +0200)] 
man: document the two new journalctl commands

5 years agounits: automatically revert to /run logging on shutdown if necessary
Lennart Poettering [Fri, 5 Apr 2019 16:22:31 +0000 (18:22 +0200)] 
units: automatically revert to /run logging on shutdown if necessary

Fixes: #867
5 years agojournalctl: add new --relinquish and --smart-relinquish options
Lennart Poettering [Fri, 5 Apr 2019 16:21:02 +0000 (18:21 +0200)] 
journalctl: add new --relinquish and --smart-relinquish options

The latter is identical to the former, but becomes a NOP if
/var/log/journal is on the same mount as /, and thus during shutdown
unmounting /var is not necessary and hence we can keep logging until the
very end.

5 years agojournald: add API to move logging from /var to /run again
Lennart Poettering [Fri, 5 Apr 2019 16:20:25 +0000 (18:20 +0200)] 
journald: add API to move logging from /var to /run again

We now have this nice little Varlink API, let's beef it up a bit.

5 years agojournalctl: port --flush/--sync/--rotate to use varlink method calls
Lennart Poettering [Thu, 4 Apr 2019 17:41:33 +0000 (19:41 +0200)] 
journalctl: port --flush/--sync/--rotate to use varlink method calls

5 years agojournald: also offer flush/rotate/sync as varlink method calls
Lennart Poettering [Thu, 4 Apr 2019 17:38:18 +0000 (19:38 +0200)] 
journald: also offer flush/rotate/sync as varlink method calls

This makes the operations previously available via asynchronous signals
also available as regular varlink method calls, i.e. with sane
completion.

5 years agofuzzer: add varlink fuzzer
Lennart Poettering [Thu, 11 Apr 2019 16:42:37 +0000 (18:42 +0200)] 
fuzzer: add varlink fuzzer

5 years agotests: add varlink test
Lennart Poettering [Thu, 11 Apr 2019 16:47:10 +0000 (18:47 +0200)] 
tests: add varlink test