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

ensure-sysext: drop daemon-reload command #96

Draft
wants to merge 2 commits into
base: flatcar-master
Choose a base branch
from

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Apr 17, 2023

systemd-sysext will perform a daemon-reload for each merge / unmerge / refresh action.


Related to: flatcar/Flatcar#984

⚠️ this needs a systemd upgrade to bring the reload mechanism from the extension

@@ -11,7 +11,6 @@ ConditionDirectoryNotEmpty=|/usr/lib/extensions
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/systemctl daemon-reload
ExecStart=/usr/bin/systemctl restart --no-block sockets.target timers.target multi-user.target
Copy link
Member

Choose a reason for hiding this comment

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

Most things are also converted to use Upholds=, I think we should also drop this line here (and call it out in the changelog).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we drop this line too we can actually drop this unit.

@pothos
Copy link
Member

pothos commented Apr 18, 2024

I think we can use this now

systemd-sysext will perform a daemon-reload for each merge / unmerge /
refresh action.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1
Copy link
Contributor Author

I think we can use this now

Oh yes - 1y later! Rebased and kicked off a CI, let's see how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants