Hello community, here is the log from the commit of package subversion for openSUSE:Factory checked in at Fri Nov 26 16:58:07 CET 2010. -------- --- subversion/subversion.changes 2010-10-02 23:21:47.000000000 +0200 +++ subversion/subversion.changes 2010-11-24 11:29:10.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Nov 24 11:28:51 CET 2010 - dmueller@suse.de + +- correct instructions on how to create the svn account (bnc#655094) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ subversion.spec ++++++ --- /var/tmp/diff_new_pack.IJq7g9/_old 2010-11-26 16:57:31.000000000 +0100 +++ /var/tmp/diff_new_pack.IJq7g9/_new 2010-11-26 16:57:31.000000000 +0100 @@ -42,7 +42,7 @@ Name: subversion Version: 1.6.13 -Release: 1 +Release: 2 # in-tree SWIG version to use for the build: %define swig_version 1.3.36 %define sqlite_version 3.6.13 ++++++ subversion.README.SuSE ++++++ --- /var/tmp/diff_new_pack.IJq7g9/_old 2010-11-26 16:57:32.000000000 +0100 +++ /var/tmp/diff_new_pack.IJq7g9/_new 2010-11-26 16:57:32.000000000 +0100 @@ -23,10 +23,11 @@ daemon and a special network protocol. svnserve should not run as root user. The startup script rcsvnserve expects a user/group named 'svn', configureable via /etc/sysconfig/svnserve. + But this user/group must be created before first use: - useradd svn groupadd svn + useradd -d /srv/svn -s /bin/false -g svn svn 3. mini-howto for 2 projects ++++++ subversion.rcsvnserve ++++++ --- /var/tmp/diff_new_pack.IJq7g9/_old 2010-11-26 16:57:32.000000000 +0100 +++ /var/tmp/diff_new_pack.IJq7g9/_new 2010-11-26 16:57:32.000000000 +0100 @@ -96,8 +96,16 @@ echo -n "Starting svnserve " ## Start daemon with startproc(8). If this fails ## the return value is set appropriately by startproc. - startproc -u "$SVNSERVE_USERID" -g "$SVNSERVE_GROUPID" -e $SVNSERVE_BIN $SVNSERVE_OPTIONS + if test -z "$SVNSERVE_USERID" || ! (/usr/bin/id $SVNSERVE_USERID &>/dev/null) \ + test -z "$SVNSERVE_GROUPID" || ! (/usr/bin/id $SVNSERVE_GROUPID; + then + echo "User $SVNSERVE_USERID does not exist." + echo "Please check $SVNSERVE_CONFIG before starting this service." + rc_failed + else + startproc -u "$SVNSERVE_USERID" -g "$SVNSERVE_GROUPID" -e $SVNSERVE_BIN $SVNSERVE_OPTIONS + fi # Remember status and be verbose rc_status -v ;; ++++++ subversion.sysconfig.svnserve ++++++ --- /var/tmp/diff_new_pack.IJq7g9/_old 2010-11-26 16:57:32.000000000 +0100 +++ /var/tmp/diff_new_pack.IJq7g9/_new 2010-11-26 16:57:32.000000000 +0100 @@ -16,7 +16,7 @@ # # svnserve should run as unprivileged user # the userid/groupid svn is not created during package install -# run 'useradd -d /srv/svn -s /bin/false svn ; groupadd svn' to create the userid/groupid +# run 'groupadd svn; useradd -d /srv/svn -s /bin/false -g svn svn' to create the userid/groupid # SVNSERVE_USERID="svn" @@ -25,6 +25,6 @@ # # svnserve should run as unprivileged user # the userid/groupid svn is not created during package install -# run 'useradd -d /srv/svn -s /bin/false svn ; groupadd svn' to create the userid/groupid +# run 'groupadd svn; useradd -d /srv/svn -s /bin/false -g svn svn' to create the userid/groupid # SVNSERVE_GROUPID="svn" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org