gitlab-pages daemon can't find /dev/urandom for TLS
When running gitlab-pages from omnibus gitlab-ee-8.6.4-ee.0.el7.x86_64, I get
2016-04-12_20:04:11.60988 2016/04/12 20:04:11 http: TLS handshake error from 10.20.33.74:65452: open /dev/urandom: no such file or directory
2016-04-12_20:04:11.60991 2016/04/12 20:04:11 http: TLS handshake error from 10.20.33.74:65453: open /dev/urandom: no such file or directory
2016-04-12_20:04:11.71681 2016/04/12 20:04:11 http: TLS handshake error from 10.20.33.74:65454: open /dev/urandom: no such file or directory
in the gitlab-pages log. The gitlab-pages chroots itself in /var/opt/gitlab/gitlab-rails/shared/pages
.... where the urandom
device doesn't exist. The solution for me was to
mknod -m666 urandom c 1 9
B.