I am currently trying to configure Singularity (2.4.2) and HTCondor (8.6.10) on a CentOS7 WN (7.4, kernel 3.10.0-693.21.1).
I've followed the instructions in
and rebooted the machine.
For testing I run everything in the "/cvmfs/cernvm-prod.cern.ch/cvm3" image.
I can execute all examples on the node as both root and local user, HTCondor jobs work under native CentOS7, but enabling singularity leads to
ERROR : Home directory is not owned by calling user: /srv
ABORT : Retval = 255
I assume that singularity is started by the condor user but /srv is owned by the submitting user (?).
Has anyone seen this before and does know the solution?
# tried both OASIS and local installation, same result
SINGULARITY = /cvmfs/oasis.opensciencegrid.org/mis/singularity/el7-x86_64/bin/singularity
SINGULARITY_BIND_EXPR = "/hdfs,/software,/condor/condor,/usr/libexec/condor"
SINGULARITY_IMAGE_EXPR = "/cvmfs/cernvm-prod.cern.ch/cvm3"
SINGULARITY_JOB = true
SINGULARITY_TARGET_DIR = /srv
STARTER_JOB_ENVIRONMENT = "SINGULARITY_HOME=/srv"