[packages/gitlab-ce] fix user detect in background_jobs

glen glen at pld-linux.org
Sat Nov 11 16:26:18 CET 2017


commit 7cfd4c0b32bc55d36f0b7f833a2a152ae0f5ca10
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Nov 11 17:17:28 2017 +0200

    fix user detect in background_jobs
    
    it checks for file owner of config.ru, which is root in our packaging.
    duh

 pld.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/pld.patch b/pld.patch
index 668937f..8a1c616 100644
--- a/pld.patch
+++ b/pld.patch
@@ -97,3 +97,14 @@
    # host: localhost
    # socket: /tmp/mysql.sock
  
+--- gitlab-ce-10.1.2/bin/background_jobs~	2017-11-08 11:49:53.000000000 +0200
++++ gitlab-ce-10.1.2/bin/background_jobs	2017-11-11 17:17:02.489424129 +0200
+@@ -5,7 +5,7 @@
+ sidekiq_pidfile="$app_root/tmp/pids/sidekiq.pid"
+ sidekiq_logfile="$app_root/log/sidekiq.log"
+ sidekiq_config="$app_root/config/sidekiq_queues.yml"
+-gitlab_user=$(ls -l config.ru | awk '{print $3}')
++gitlab_user=git
+ 
+ warn()
+ {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/c4fb95eb8b3c5bf51c349d62f48521ccaff20788



More information about the pld-cvs-commit mailing list