mirror of
https://github.com/containers/podman.git
synced 2025-07-31 12:22:29 +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:
@ -120,7 +120,9 @@ func (r *Runtime) newVolume(ctx context.Context, noCreatePluginVolume bool, opti
|
||||
volume.config.StorageImageID = image.ID()
|
||||
|
||||
// Create a backing container in c/storage.
|
||||
storageConfig := storage.ContainerOptions{}
|
||||
storageConfig := storage.ContainerOptions{
|
||||
LabelOpts: []string{"filetype:container_file_t", "level:s0"},
|
||||
}
|
||||
if len(volume.config.MountLabel) > 0 {
|
||||
context, err := selinux.NewContext(volume.config.MountLabel)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user