Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udev: Add rule for /dev/ptp_hyperv systemd unit #116

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

jepio
Copy link
Member

@jepio jepio commented Mar 25, 2024

This allows services (such as chrony) to have a dependency on /dev/ptp_hyperv being present.

Inspired by: microsoft/azurelinux#6234.

This allows services (such as chrony) to have a dependency on
/dev/ptp_hyperv being present.

Inspired by: microsoft/azurelinux#6234.

Signed-off-by: Jeremi Piotrowski <[email protected]>
@jepio jepio requested a review from a team March 25, 2024 16:54
@@ -0,0 +1 @@
ACTION=="add", SUBSYSTEM=="ptp", ATTR{clock_name}=="hyperv", TAG+="systemd"
Copy link
Member

Choose a reason for hiding this comment

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

Is there no upstream place where this rule could live?

Copy link
Member Author

Choose a reason for hiding this comment

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

unfortunately not

Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't this be something for the systemd repo?

Copy link
Member Author

Choose a reason for hiding this comment

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

i think not - it's specific to our chronyd configuration.

but if this comes up again or we want to upstream this to other distros we'll find a place then.

@jepio jepio merged commit 3298243 into flatcar-master Mar 26, 2024
@jepio jepio deleted the ptp-hyperv-rule branch March 26, 2024 14:25
@jepio
Copy link
Member Author

jepio commented Apr 5, 2024

@pothos this rule is actually unnecessary since systemd v255: https://github.com/systemd/systemd/pull/28973/files

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.

2 participants