mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
Switch references of /var/run -> /run
Systemd is now complaining or mentioning /var/run as a legacy directory. It has been many years where /var/run is a symlink to /run on all most distributions, make the change to the default. Partial fix for https://github.com/containers/podman/issues/8369 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -306,7 +306,7 @@ func WithDefaultMountsFile(mountsFile string) RuntimeOption {
|
||||
|
||||
// WithTmpDir sets the directory that temporary runtime files which are not
|
||||
// expected to survive across reboots will be stored.
|
||||
// This should be located on a tmpfs mount (/tmp or /var/run for example).
|
||||
// This should be located on a tmpfs mount (/tmp or /run for example).
|
||||
func WithTmpDir(dir string) RuntimeOption {
|
||||
return func(rt *Runtime) error {
|
||||
if rt.valid {
|
||||
|
Reference in New Issue
Block a user