Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414855 - dev-vcs/subversion-1.6.17-r7: mismatch between config file doc and init script regarding user and group
Summary: dev-vcs/subversion-1.6.17-r7: mismatch between config file doc and init scrip...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-06 11:30 UTC by Roland Ramthun
Modified: 2013-01-07 17:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Ramthun 2012-05-06 11:30:00 UTC
From /etc/init.d/svnserve:

# The commented variables in this file are the defaults that are used
# in the init-script.  You don't need to uncomment them except to
# customize them to different values.

[...]

# User and group as which to run svnserve
#SVNSERVE_USER="svn"
#SVNSERVE_GROUP="svnusers"

From /etc/init.d/svnserve init script:
[...]
--user ${SVNSERVE_USER:-apache} --group ${SVNSERVE_GROUP:-apache} -- \
[...]

As you can see user and group are set to apache/apache in the init script and not to svn/svnusers as written in the header of the configuration file.

Consequently this leads to an error on my system, as I have no apache user and the subversion ebuild doesn't create one:
# /etc/init.d/svnserve start
 * Caching service dependencies  ...                                                                                                                                                                                                    [ ok ]
 * Starting svnserve ...
 * start-stop-daemon: user `apache' not found                                                                                                                                                                                          [ !! ]
 * ERROR: svnserve failed to start

Reproducible: Always




I think we should match the documentation and the actual behaviour.
Comment 1 Thomas Sachau gentoo-dev 2012-08-21 19:37:53 UTC
This has been fixed in 1.7.2 and newer versions. I will keep this bug open for the records until a newer version becomes stable.
Comment 2 Thomas Sachau gentoo-dev 2013-01-07 17:56:45 UTC
subversion-1.7.7 is stable now, so that version should be used instead. If you have issues with it, please open a new bug against it.