mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Fix various integration test issues with SQLite state
Two main changes: - The transient state tests relied on BoltDB paths, change to make them agnostic - The volume code in SQLite wasn't retrieving and setting the volume plugin for volumes that used one. Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
@ -2745,7 +2745,7 @@ func (c *Container) fixVolumePermissions(v *ContainerNamedVolume) error {
|
||||
|
||||
// Volumes owned by a volume driver are not chowned - we don't want to
|
||||
// mess with a mount not managed by us.
|
||||
if vol.state.NeedsChown && !vol.UsesVolumeDriver() {
|
||||
if vol.state.NeedsChown && (!vol.UsesVolumeDriver() && vol.config.Driver != "image") {
|
||||
vol.state.NeedsChown = false
|
||||
|
||||
uid := int(c.config.Spec.Process.User.UID)
|
||||
|
Reference in New Issue
Block a user