diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2005-08-25 13:59:48 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2005-08-25 13:59:48 +0000 |
commit | 53b7a2191ecc3ae4bbf95ed4da42f52475c2ccaa (patch) | |
tree | 86f068b85bc9fdc0bacdc101f4272776607c630f /dev-util/subversion | |
parent | add ~ia64 #103250 (diff) | |
download | gentoo-2-53b7a2191ecc3ae4bbf95ed4da42f52475c2ccaa.tar.gz gentoo-2-53b7a2191ecc3ae4bbf95ed4da42f52475c2ccaa.tar.bz2 gentoo-2-53b7a2191ecc3ae4bbf95ed4da42f52475c2ccaa.zip |
Change the svnserve init script's working dir to /
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-util/subversion')
-rw-r--r-- | dev-util/subversion/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/subversion/files/svnserve.initd | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-util/subversion/ChangeLog b/dev-util/subversion/ChangeLog index d5d66133278d..5783868c5101 100644 --- a/dev-util/subversion/ChangeLog +++ b/dev-util/subversion/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/subversion # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/ChangeLog,v 1.168 2005/08/25 13:47:37 pauldv Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/ChangeLog,v 1.169 2005/08/25 13:59:48 pauldv Exp $ + + 25 Aug 2005; <pauldv@gentoo.org> files/svnserve.initd: + Fix the init script to change its working directory to the root to + prevent unmounting and hook script problems. See bug #97926 25 Aug 2005; <pauldv@gentoo.org> subversion-1.1.3.ebuild, subversion-1.2.1.ebuild: diff --git a/dev-util/subversion/files/svnserve.initd b/dev-util/subversion/files/svnserve.initd index 7c43cc1ca83a..7b7c4c84416d 100644 --- a/dev-util/subversion/files/svnserve.initd +++ b/dev-util/subversion/files/svnserve.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/files/svnserve.initd,v 1.1 2004/11/12 18:48:59 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/files/svnserve.initd,v 1.2 2005/08/25 13:59:48 pauldv Exp $ depend() { need net @@ -9,6 +9,9 @@ depend() { start() { ebegin "Starting svnserve" + # Ensure that we run from a readable working dir, and that we do not + # lock filesystems when being run from such a location. + cd / start-stop-daemon --start --quiet --background --make-pidfile \ --pidfile /var/run/svnserve.pid --exec /usr/bin/svnserve \ --chuid ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \ |