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
ConditionNeedsUpdate=
(systemd unit) will never trigger
#1538
Comments
Investigation for
By default, if unchanged, |
Investigation for
From
so this is not great. Should be safe to "just" remove this condition an run on all boots. |
Investigation for
This means that files added to |
One 'option' to fix some of those would be to add more to "ostree finalize staged" like we did for SELinux. |
On a freshly booted system:
Not sure how related: https://www.freedesktop.org/software/systemd/man/systemd-update-done.service.html The comment in the ostree code does not match the behavior described in the man page. |
We talked about this in today's meeting. Removing meeting label. |
@travier has asked the rpm-ostree/ostree folks to look at this. |
The PR in ostreedev/ostree#1631 links to ostreedev/ostree#1628 This is probably best tracked against ostree, but I can't transfer the issue there. |
I'll make a new issue as I can't transfer it either. |
Moved to ostreedev/ostree#3069. Locking the discussion here to keep it in a single place. |
Closing as this is not an issue (already fixed). See ostreedev/ostree#3069 & coreos/fedora-coreos-config#2725 |
Describe the bug
As we keep timestamp of files at 0 (UNIX Epoch) in our ostree commits (https://ostreedev.github.io/ostree/repo/#content-objects), this condition in systemd unit will never trigger.
A quick grep on my system show the following potentially impacted services:
More investigation is needed to see if that's an issue or just a quirk.
Reproduction steps
N/A
Expected behavior
ConditionNeedsUpdate=
"works"Actual behavior
ConditionNeedsUpdate=
"doesn't work"System details
N/A
Butane or Ignition config
N/A
Additional information
See https://bugzilla.redhat.com/show_bug.cgi?id=2230187
The text was updated successfully, but these errors were encountered: