[DRE-maint] Bug#827100: gitlab-shell/bin/check cannot find /usr/share/gitlab-shell/config.yml

Johannes Schauer josch at debian.org
Sun Jun 12 09:31:21 UTC 2016


Hi,

On Sun, 12 Jun 2016 10:23:26 +0100 Johannes Schauer <josch at debian.org> wrote:
> investigating this further, it seems that /usr/share/gitlab-shell/config.yml
> has been replaced by a symbolic link to /etc/gitlab-shell/config.yml. The
> content of /usr/share/gitlab-shell/config.yml has been deleted.
> 
> How should I fill my /etc/gitlab-shell/config.yml?

also, when trying to clone from my repositories I now get:

/usr/lib/ruby/2.3.0/logger.rb:703:in `initialize': Permission denied @ rb_sysopen - /var/log/gitlab-shell/gitlab-shell.log (Errno::EACCES)
	from /usr/lib/ruby/2.3.0/logger.rb:703:in `open'
	from /usr/lib/ruby/2.3.0/logger.rb:703:in `open_logfile'
	from /usr/lib/ruby/2.3.0/logger.rb:695:in `set_dev'
	from /usr/lib/ruby/2.3.0/logger.rb:635:in `initialize'
	from /usr/lib/ruby/2.3.0/logger.rb:353:in `new'
	from /usr/lib/ruby/2.3.0/logger.rb:353:in `initialize'
	from /usr/lib/ruby/vendor_ruby/gitlab_logger.rb:15:in `new'
	from /usr/lib/ruby/vendor_ruby/gitlab_logger.rb:15:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/gitlab_net.rb:7:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/gitlab_net.rb:7:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/gitlab_shell.rb:3:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/gitlab_shell.rb:3:in `<top (required)>'

The permissions of this path are:

root at 22gitlab:~# ls -lha /var/log/gitlab-shell/
total 12K
drwxr-xr-x 2 gitlab gitlab 4.0K Jun 12 11:19 .
drwxr-xr-x 9 root   root   4.0K Jun  1 06:25 ..
-rw-r--r-- 1 root   root    802 Jun 12 11:22 gitlab-shell.log

These are probably wrong?

How should they be?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160612/0f064f4f/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list