Skip to content

Comments

Add a Match section for systemd to not ignore .network files#16

Merged
sayanchowdhury merged 1 commit intoflatcar-masterfrom
sayan/upgrade-systemd-to-v245
Jul 21, 2020
Merged

Add a Match section for systemd to not ignore .network files#16
sayanchowdhury merged 1 commit intoflatcar-masterfrom
sayan/upgrade-systemd-to-v245

Conversation

@sayanchowdhury
Copy link
Member

@sayanchowdhury sayanchowdhury commented Jul 20, 2020

Add a Match section for systemd to not ignore

systemd 245 ignores .link and .network files if the Match section is empty. More details in the NEWS entry.

This should be merged with flatcar-archive/coreos-overlay#448

Signed-off-by: Sayan Chowdhury sayan.chowdhury2012@gmail.com

How to use

emerge-amd54-usr sys-kernel/bootengine

Testing done

Without these options, the SSH to the machine was broken, and no packets were received by the machine. This fixes the issue.

@sayanchowdhury sayanchowdhury requested a review from a team July 20, 2020 07:51
Copy link
Member

@pothos pothos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good, I think it would even make sense to add Name=* to dracut/03flatcar-network/yy-pxe.network as well – I don't know yet if it is required but the match section has nothing interface-specific and in the spirit of this patch I expect it to be made explicit, too.

systemd ignores .link and .network files if the Match  section is empty

Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
@sayanchowdhury sayanchowdhury merged commit 317c304 into flatcar-master Jul 21, 2020
@sayanchowdhury sayanchowdhury deleted the sayan/upgrade-systemd-to-v245 branch July 21, 2020 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants