[3.3 backport] pkg/fileutil: fix constant for linux locking#12552
[3.3 backport] pkg/fileutil: fix constant for linux locking#12552ptabor merged 1 commit intoetcd-io:release-3.3from
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 <[email protected]>
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 <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <[email protected]>
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 <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit ffd5a20) Signed-off-by: Sebastiaan van Stijn <[email protected]>
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.