Here:
|
if [[ "$XDG_RUNTIME_DIR" == /run/* ]] ; then |
the section checks if the XDG_RUNTIME_DIR variable is set to /run/* but in some configurations the env variable might be set, but the mount not actually be available.
This is surely a misconfiguration, but nevertheless it might be more resilient to actually check if the directory exists before adding it to the EXTRA_OPTIONS.
Here:
container-env/bin/cenv
Line 370 in 8884dfc
the section checks if the XDG_RUNTIME_DIR variable is set to
/run/*but in some configurations the env variable might be set, but the mount not actually be available.This is surely a misconfiguration, but nevertheless it might be more resilient to actually check if the directory exists before adding it to the EXTRA_OPTIONS.