[Bug 1181130] New: gitolite: add nginx to group git
http://bugzilla.opensuse.org/show_bug.cgi?id=1181130 Bug ID: 1181130 Summary: gitolite: add nginx to group git Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: openSUSE Leap 15.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: cunix@mail.de QA Contact: qa-bugs@suse.de CC: chris@computersalat.de, ngompa13@gmail.com Found By: --- Blocker: --- As beginner I tried to setup pagure with nginx on Leap 15.2 following [1]. nginx produced error log containing: connect() to unix:/srv/gitolite/.pagure_web.sock failed (13: Permission denied) while connecting to upstream For me it looks as nginx is not allowed to access directory /srv/gitolite . Adding user "nginx" to group "git" worked for me. Perhaps what is done in [2] to "wwwrun" should be replicated for "nginx"? CC to maintainers of gitolite and pagure who probably know much better and might be able to tell what I did wrong or misunderstood. [1] https://build.opensuse.org/package/view_file/openSUSE:Leap:15.2/pagure/pagur... [2] https://build.opensuse.org/package/view_file/devel:tools:scm/gitolite/gitoli... line 81-83 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181130 http://bugzilla.opensuse.org/show_bug.cgi?id=1181130#c1 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #1 from Christian Wittmer <chris@computersalat.de> --- ongoing work -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181130 http://bugzilla.opensuse.org/show_bug.cgi?id=1181130#c2 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS CC| |cunix@mail.de Flags| |needinfo?(cunix@mail.de) --- Comment #2 from Christian Wittmer <chris@computersalat.de> --- there is an updated build here: home:computersalat:devel:scm/gitolite can you please check if it is fixed ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181130 http://bugzilla.opensuse.org/show_bug.cgi?id=1181130#c3 c unix <cunix@mail.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(cunix@mail.de) | --- Comment #3 from c unix <cunix@mail.de> --- Thank you for working on this issue! I'm willing to help but my box runs Leap 15.2 For this target your repository reports: unresolvable: nothing provides user(nginx) Looking at the rdiff as a non expert i would assume your changes will probably fix the problem. Additonally have to mention that I already added user "nginx" to group "git" manually here as a workaround. To simulate a complete new install I should probably have to reverse this? Having user "nginx" in group "git" does not throw the error any more for me. Do you have more ideas what i can help with - without having to install Tumbleweed ;) ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181130 http://bugzilla.opensuse.org/show_bug.cgi?id=1181130#c4 --- Comment #4 from c unix <cunix@mail.de> --- Just an idea to restrict this Requires: %if 0%{?suse_version} > 1500 Requires(pre): user(nginx) %endif -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181130 http://bugzilla.opensuse.org/show_bug.cgi?id=1181130#c5 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #5 from Christian Wittmer <chris@computersalat.de> --- fixed -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com