-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix: skip the integrity check for nextcloud-init-sync.lock #48268
Conversation
/backport to stable30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine. Though I'm mystified: why this wasn't a problem previously? It should have been a problem all along. I guess now the integrity checker is behaving how I'd expect, but I'm not sure why. 😆 The main change was #46174.
EDIT: Comparison of v29 versus v30 behavior below (empty files seem to be getting treated differently for whatever reason)
'.rnd', | ||
'.webapp', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage web-apps. | ||
'Thumbs.db', // Microsoft Windows | ||
'nextcloud-init-sync.lock ' // Used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time: https://github.com/nextcloud/docker/issues/2299. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'nextcloud-init-sync.lock ' // Used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time: https://github.com/nextcloud/docker/issues/2299. | |
'nextcloud-init-sync.lock' // Used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time: https://github.com/nextcloud/docker/issues/2299. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, well spotted 🙏
Somehow in <30 the integrity checker seemed to skip empty files I guess? v29:
v30:
|
nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time. Ref: nextcloud/docker#2299. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
28ed5f7
to
6e870c0
Compare
The reason is another one, but yeah it skipped all empty ones. |
/backport to stable30 |
/backport to stable29 |
/backport to stable28 |
Summary
nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time.
TODO
Checklist