Runner Checking for jobs failed, only when run in service mode

When running gitlab-runner in service mode i get the error
‘checking for jobs failed, … POST against https://gitlab.com … permission denied’

However when running the runner directly (ie. type in the start command as it appears in the service file) it runs correctly.

Hi @bluespider42,

  1. Have you successfully registered the runner?
  2. Do you see that runner on your project’s Settings > CI/CD page? Does it have a green dot?

Hi, Yes the runner is registered.
I traced the problem down to selinux, it was blocking the whole runner service and then blocking the docker-in-docker socket access. Though this was being masked by some other oddities on my setup!

1 Like