Your message dated Tue, 05 Apr 2016 17:49:49 +0000
with message-id <[email protected]>
and subject line Bug#819907: fixed in gitlab 8.5.8+dfsg-4
has caused the Debian Bug report #819907,
regarding gitlab: builds fails, /usr/share/gitlab/builds is not writeable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
819907: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819907
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gitlab
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,
builds seems to fail, because it has no dir to write to

Errno::EACCES (Permission denied @ dir_s_mkdir - /usr/share/gitlab/builds):
  /usr/lib/ruby/2.3.0/fileutils.rb:253:in `mkdir'
  /usr/lib/ruby/2.3.0/fileutils.rb:253:in `fu_mkdir'
  /usr/lib/ruby/2.3.0/fileutils.rb:227:in `block (2 levels) in mkdir_p'
  /usr/lib/ruby/2.3.0/fileutils.rb:225:in `reverse_each'
  /usr/lib/ruby/2.3.0/fileutils.rb:225:in `block in mkdir_p'
  /usr/lib/ruby/2.3.0/fileutils.rb:211:in `each'
  /usr/lib/ruby/2.3.0/fileutils.rb:211:in `mkdir_p'
  /usr/share/gitlab/app/models/ci/build.rb:229:in `trace='

etc...

Here is (untested) patch to build system, to create /var/lib/gitlab/builds and 
create symlink to /usr/share/gitlab/builds

Libor

- -- System Information:
Debian Release: stretch/sid
  APT prefers experimental
  APT policy: (700, 'experimental'), (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXAWX+AAoJEPDvjG7Cn0eOUpEQAJeqzWih80/WgbZvVkfSFG3W
+7eYJQth/M7vA3tcAGd0mr1Uh8yETILltyW3jB5BoDs0xenHI+WbiL6gfXU+U2aW
MDm9+QjPOFJrq/aq9nea5DYxcQkjdEuiyoZU8Q1EJM+iDfqGo1JUtxpXIthBIKxA
rg4aH382btXc9xlnOZPijtWi2Ba84O7Lj6gpXPg6ZntCXkLpos3KUmXMVM0wQOJB
VNgHf2Eue8Ldp2UC9xjtoHTSxHHg4j/u5ZkqPfvQhcS76dpj9Odal5fKiKMrLdtJ
uzS8mmRlNoNIu0xOMmQrTihJO15TPcLQSHdCaGQ1lavR8XGiFRUbv+mafvWfTBqZ
tVmAy3veFRp6c6CP60AroTY/qTDp6o2GCOvNkNskXGlJsu0TyNlKlb4AvT/OsnLI
5ZabfPIScSLA25RZ72VTr5896ghm0ndKd7BwQqvCYfLXj8C0Ea22pXmwKXKAHNpD
qfqVP/na81dwmCnWPO3IBjgCxUaTxIx9KA6Pjt6Z1Ga3ti4KnuYsQ/SRRa6+KEK0
O7ea/kXc2iSh1J2pjjX+12ZVuvhWDU1l3eVub53ZkznBGnRgxcfNnSTvleLd3xET
6LjbA8uj9mKLvPi7Cf0W1B9yIHr6KlEZnLsMVuVVGW8YS7x6pXI/kBCubGVIZwmy
WWXR6AWTwI1AdI1t4hrA
=qPhr
-----END PGP SIGNATURE-----
diff -ur a/debian/gitlab.links b/debian/gitlab.links
--- a/debian/gitlab.links	2016-03-13 07:21:05.000000000 +0100
+++ b/debian/gitlab.links	2016-04-03 20:46:49.909653752 +0200
@@ -1,3 +1,4 @@
+var/lib/gitlab/builds usr/share/gitlab/builds
 var/lib/gitlab/public usr/share/gitlab/public
 var/lib/gitlab/cache usr/share/gitlab/shared/cache
 var/log/gitlab usr/share/gitlab/log
diff -ur a/debian/postinst b/debian/postinst
--- a/debian/postinst	2016-02-18 18:12:11.000000000 +0100
+++ b/debian/postinst	2016-04-03 20:46:29.941259066 +0200
@@ -40,11 +40,12 @@
     . /usr/lib/gitlab/scripts/adduser.sh
 
     gitlab_repo_path=${gitlab_data_dir}/repositories
+    gitlab_builds_path=${gitlab_data_dir}/builds
     gitlab_cache_path=${gitlab_data_dir}/cache
     gitlab_uploads_path=${gitlab_data_dir}/public/uploads
 
     # Create directories and change ownership
-    for i in ${gitlab_repo_path} ${gitlab_cache_path} ${gitlab_uploads_path}\
+    for i in ${gitlab_repo_path} ${gitlab_builds_path} ${gitlab_cache_path} ${gitlab_uploads_path}\
     ${gitlab_pid_path} ${gitlab_log_dir} ${gitlab_shell_log}; do
       mkdir -p $i
       chown -R ${gitlab_user}: $i

--- End Message ---
--- Begin Message ---
Source: gitlab
Source-Version: 8.5.8+dfsg-4

We believe that the bug you reported is fixed in the latest version of
gitlab, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pirate Praveen <[email protected]> (supplier of updated gitlab package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 05 Apr 2016 22:55:36 +0530
Source: gitlab
Binary: gitlab
Architecture: source
Version: 8.5.8+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Pirate Praveen <[email protected]>
Description:
 gitlab     - git powered software platform to collaborate on code
Closes: 819412 819907
Changes:
 gitlab (8.5.8+dfsg-4) unstable; urgency=medium
 .
   * Tighten version requirements for dependencies
   * Fix permissions for uploads
   * Run db:migrate when db exist
   * Restrict file permissions for secret files (Closes: #819412)
   * Move db to /var/lib/gitlab (fix migrations)
 .
   [ Libor Klepáč ]
   * Create builds directory in /var/log (Closes: #819907)
Checksums-Sha1:
 48fac423c2ef4a48403876377640a4c9e7b88786 2054 gitlab_8.5.8+dfsg-4.dsc
 a20b55f4a6a9d0f3bd8079abe542c2f834c389c8 35888 
gitlab_8.5.8+dfsg-4.debian.tar.xz
Checksums-Sha256:
 4c429ee9cdd58290cb09239a3cfe292fa504119c22689754f011466020b701ee 2054 
gitlab_8.5.8+dfsg-4.dsc
 65e9608d90bbeaf9c5cd1a30cf870b109f0a52ce38d9403ddf9a8e6d9edac1d4 35888 
gitlab_8.5.8+dfsg-4.debian.tar.xz
Files:
 9653ad377326144c7ccceda9d742972b 2054 ruby optional gitlab_8.5.8+dfsg-4.dsc
 5f69abd28dbaaa8f98953904232bb898 35888 ruby optional 
gitlab_8.5.8+dfsg-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXA/cBAAoJEM4fnGdFEsIqU4AP/A8Dkmk6T97/us5eDQGREZnC
wWH3RV7mxajUdha/5rngQNEdr+9T4PgxFIq9COiWsMpH3jEZA8soOxcwxTyBabWl
M3dTxSTzeY8UcyzJfWzcQ97Thz9P5ja+Trgcg5qY35miV4UwLrhluPKzhK+QuKbf
YhQ6Q8C86dfyhxMyOIvCm24Fghd1BON40wayN0enyMKhkaCvwid1Rn+DODcRHur8
yx/pKDBX/ujqzQmbp8gII8e7ZIgUSG/4thmTECy+BSxlQf+1ECnFH6lP0o6MRyWk
2gl5MYQdRNH4GMunMwkvlwJnY5AHaovHZ2pAFZo1+Qa/ovXuybhATC+325Xsx0Fs
/NNgWyZY6ifLC7mnlpjdFaCdAMdDGyMpRLXI6blKBTN5pXodzaPRJGAZgZKynLTZ
NB/GE/8OTLWFVfaGZQkFHvUaIxbcZyseXkjQfMRkdNCjzYNEhs1XwiOnWyetSCVq
7k6+rBJt+u+zJZuhRR+Mqn3AmD54pxGvbPQXrAPxHa38zM2okS5duGYM2Ca++J+z
T1+AC+qi4Ae5YScLtJQ/BKUj7B1zd7QhHL6Ce0vcchyKWT6211HWJSRLXQakq5d0
//Gx7/eRsCTIXHSASjYFgK+DlG4ZYz255RvOJhFjfdUqCTgTgEtZTN/FYGbt+fkE
KeFtYp2K3cQEdPNwL/TX
=LafS
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to