Skip to content

Commit b8fde5c

Browse files
Merge pull request #12549 from mheon/bump_344
Bump to v3.4.4
2 parents 2d7c4be + d46a82d commit b8fde5c

File tree

7 files changed

+24
-9
lines changed

7 files changed

+24
-9
lines changed

RELEASE_NOTES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release Notes
22

3+
## 3.4.4
4+
### Bugfixes
5+
- Fixed a bug where the `podman exec` command would, under some circumstances, print a warning message about failing to move `conmon` to the appropriate cgroup ([#12535](https://github.com/containers/podman/issues/12535)).
6+
- Fixed a bug where named volumes created as part of container creation (e.g. `podman run --volume avolume:/a/mountpoint` or similar) would be mounted with incorrect permissions ([#12523](https://github.com/containers/podman/issues/12523)).
7+
- Fixed a bug where the `podman-remote create` and `podman-remote run` commands did not properly handle the `--entrypoint=""` option (to clear the container's entrypoint) ([#12521](https://github.com/containers/podman/issues/12521)).
8+
39
## 3.4.3
410
### Security
511
- This release addresses CVE-2021-4024, where the `podman machine` command opened the `gvproxy` API (used to forward ports to `podman machine` VMs) to the public internet on port 7777.

contrib/spec/podman.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Epoch: 99
3636
%else
3737
Epoch: 0
3838
%endif
39-
Version: 3.4.4
39+
Version: 3.4.5
4040
Release: #COMMITDATE#.git%{shortcommit0}%{?dist}
4141
Summary: Manage Pods, Containers and Container Images
4242
License: ASL 2.0

libpod/container_internal_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,7 @@ func (c *Container) fixVolumePermissions(v *ContainerNamedVolume) error {
26782678
return err
26792679
}
26802680
}
2681-
if err := os.Chmod(mountPoint, st.Mode()|0111); err != nil {
2681+
if err := os.Chmod(mountPoint, st.Mode()); err != nil {
26822682
return err
26832683
}
26842684
stat := st.Sys().(*syscall.Stat_t)

pkg/specgenutil/specgen.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,9 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *entities.ContainerCreateOptions
397397
s.WorkDir = c.Workdir
398398
if c.Entrypoint != nil {
399399
entrypoint := []string{}
400-
if ep := *c.Entrypoint; len(ep) > 0 {
401-
// Check if entrypoint specified is json
402-
if err := json.Unmarshal([]byte(*c.Entrypoint), &entrypoint); err != nil {
403-
entrypoint = append(entrypoint, ep)
404-
}
400+
// Check if entrypoint specified is json
401+
if err := json.Unmarshal([]byte(*c.Entrypoint), &entrypoint); err != nil {
402+
entrypoint = append(entrypoint, *c.Entrypoint)
405403
}
406404
s.Entrypoint = entrypoint
407405
}

test/e2e/run_entrypoint_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
103103
})
104104

105105
It("podman run user entrypoint overrides image entrypoint and image cmd", func() {
106-
SkipIfRemote("FIXME: podman-remote not handling passing --entrypoint=\"\" flag correctly")
107106
dockerfile := `FROM quay.io/libpod/alpine:latest
108107
CMD ["-i"]
109108
ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]

test/e2e/run_volume_test.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,18 @@ USER testuser`, fedoraMinimal)
691691

692692
})
693693

694+
It("podman run with named volume check if we honor permission of target dir", func() {
695+
session := podmanTest.Podman([]string{"run", "--rm", ALPINE, "stat", "-c", "%a %Y", "/var/tmp"})
696+
session.WaitWithDefaultTimeout()
697+
Expect(session).Should(Exit(0))
698+
perms := session.OutputToString()
699+
700+
session = podmanTest.Podman([]string{"run", "--rm", "-v", "test:/var/tmp", ALPINE, "stat", "-c", "%a %Y", "/var/tmp"})
701+
session.WaitWithDefaultTimeout()
702+
Expect(session).Should(Exit(0))
703+
Expect(session.OutputToString()).To(Equal(perms))
704+
})
705+
694706
It("podman volume with uid and gid works", func() {
695707
volName := "testVol"
696708
volCreate := podmanTest.Podman([]string{"volume", "create", "--opt", "o=uid=1000", volName})

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const (
2727
// NOTE: remember to bump the version at the top
2828
// of the top-level README.md file when this is
2929
// bumped.
30-
var Version = semver.MustParse("3.4.4-dev")
30+
var Version = semver.MustParse("3.4.5-dev")
3131

3232
// See https://docs.docker.com/engine/api/v1.40/
3333
// libpod compat handlers are expected to honor docker API versions

0 commit comments

Comments
 (0)