-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
[3.3 backport] pkg/fileutil: fix constant for linux locking #12552
Conversation
The constant F_OFD_GETLK is 36, not 37, according to /usr/include/bits/fcntl-linux.h Credits go to joakim-tjernlund who digged deep enough to find this. Fixes #31182
@jingyih ptal 🤗 |
In 3.4 and master (e.g. bea35fd) the constant was replaced with usage of constant from: |
I think we can. The reason I did not do that is to minimize the code changes to a branch which is in maintenance mode. |
@ptabor are there plans to do a patch release for v3.3.x? I see two fixes were merged in the branch; v3.3.25...release-3.3 |
Yes, please do a release so we can close this 3 year old bug. |
@gyuho can you please cut a v3.3.26 release as per the comments above? |
Bump etcd to v3.3.25 + etcd-io/etcd#12552, to fix moby#31182 This adds 2 new and removes 1 unused package from vendor.conf. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Bump etcd to v3.3.27, which includes etcd-io/etcd#12552, to fix #31182 Full diff: etcd-io/etcd@v3.3.25...v3.3.27 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Bump etcd to v3.3.27, which includes etcd-io/etcd#12552, to fix moby#31182 Full diff: etcd-io/etcd@v3.3.25...v3.3.27 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Bump etcd to v3.3.27, which includes etcd-io/etcd#12552, to fix moby#31182 Full diff: etcd-io/etcd@v3.3.25...v3.3.27 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Bump etcd to v3.3.27, which includes etcd-io/etcd#12552, to fix moby/moby#31182 Full diff: etcd-io/etcd@v3.3.25...v3.3.27 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Bump etcd to v3.3.27, which includes etcd-io/etcd#12552, to fix moby/moby#31182 Full diff: etcd-io/etcd@v3.3.25...v3.3.27 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Bump etcd to v3.3.27, which includes etcd-io/etcd#12552, to fix moby/moby#31182 Full diff: etcd-io/etcd@v3.3.25...v3.3.27 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Bump etcd to v3.3.27, which includes etcd-io/etcd#12552, to fix moby/moby#31182 Full diff: etcd-io/etcd@v3.3.25...v3.3.27 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Bump etcd to v3.3.27, which includes etcd-io/etcd#12552, to fix moby/moby#31182 Full diff: etcd-io/etcd@v3.3.25...v3.3.27 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This is a backport of #12440 to release-3.3 branch, fixing the critical bug in pkg/fileutil. All credits to @moritzboth and @joakim-tjernlund. Original description follows.
The constant F_OFD_GETLK is 36, not 37, according to
/usr/include/bits/fcntl-linux.h
Credits go to joakim-tjernlund who digged deep enough
to find this.