From 71b5c8c0a235249b4dca1ab0997b29525e819a8a Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 23 Oct 2020 21:59:37 +0200 Subject: [PATCH] cmd/create: Don't set up org.freedesktop.Flatpak.SessionHelper It's no longer used to keep /etc/localtime and /etc/timezone synchronized with the host. https://github.com/containers/toolbox/issues/267 --- src/cmd/create.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/cmd/create.go b/src/cmd/create.go index 660a862..9acc612 100644 --- a/src/cmd/create.go +++ b/src/cmd/create.go @@ -216,13 +216,6 @@ func createContainer(container, image, release string, showCommandToEnter bool) dbusSystemSocketMountArg := dbusSystemSocket + ":" + dbusSystemSocket - flatpakHelperMonitorPath, err := utils.CallFlatpakSessionHelper() - if err != nil { - return err - } - - flatpakHelperMonitorMountArg := flatpakHelperMonitorPath + ":/run/host/monitor" - homeDirEvaled, err := filepath.EvalSymlinks(currentUser.HomeDir) if err != nil { return fmt.Errorf("failed to canonicalize %s", currentUser.HomeDir) @@ -371,7 +364,6 @@ func createContainer(container, image, release string, showCommandToEnter bool) "--volume", "/tmp:/run/host/tmp:rslave", "--volume", "/var:/run/host/var:rslave", "--volume", dbusSystemSocketMountArg, - "--volume", flatpakHelperMonitorMountArg, "--volume", homeDirMountArg, "--volume", toolboxPathMountArg, "--volume", usrMountArg,