Summary: | subversion: config assume user apache exists | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yuval Yaari (RETIRED) <yuval> |
Component: | New packages | Assignee: | Paul de Vrieze (RETIRED) <pauldv> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | ekevu |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild for 1.3.2 with creation of svn:svnusers if -apache2
confd file with svn:svnusers user and group ebuild for 1.4.0 with creation of svn:svnusers if -apache2 |
Description
Yuval Yaari (RETIRED)
2006-02-23 03:31:52 UTC
Hmm. perhaps without the apache useflag we should not change the ownership at all. Otherwise I could remove the whole config option. (In reply to comment #1) > Hmm. perhaps without the apache useflag we should not change the ownership at > all. Otherwise I could remove the whole config option. > svnserve seems to be set to run as apache by default, however. That needs to be changed as well. But svnserve should not run as root. That would mean creating a separate subversion user. Basically, there must be a user for subversion. When the apache module is used, this user should be apache. Otherwise it can be a different one. While other setups are possible, they are too complex for in the ebuild. Oh, I forgot to add this: # /etc/init.d/svnserve start * Starting svnserve ... start-stop-daemon: group `apache' not found Ideally, in the event of the USE flag apache being there, use apache:apache for user and group. With -apache, create an svn user and svn group. Created attachment 101741 [details]
ebuild for 1.3.2 with creation of svn:svnusers if -apache2
Hi,
This ebuild creates the svn:svnusers user if -apache2 is used, sets the permissions of /var/svn/repos accordingly and installs the following confd file.
Cheers,
Olivier
Created attachment 101742 [details]
confd file with svn:svnusers user and group
Created attachment 101743 [details]
ebuild for 1.4.0 with creation of svn:svnusers if -apache2
*** Bug 179175 has been marked as a duplicate of this bug. *** This bug seems to be fixed. |