[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svnadmin recover and setlog curiosities

From: Nathaniel Irons <ndi-l_at_bumppo.net>
Date: 2004-08-19 19:41:09 CEST

Is it kosher for "svnadmin recover" to modify DB permissions? Trac
started throwing up permission errors, apparently because group write
access is stripped from the "__db.xxx" files after I run recover.

I ran recover the first time after being told to do so while attempting
to run "svnadmin setlog":

$ svnadmin setlog /Library/svnrepo/ -r 204 newlogfile
svn: Berkeley DB error while opening environment for filesystem
DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: PANIC: fatal region error detected; run recovery

I can't repeat that, so I don't have any real reason to think that
setlog caused the DB problem. However, I can repeat the unrelated
problem that cropped up when I tried to run setlog again:

$ svnadmin setlog /Library/svnrepo/ -r204 newlogfile
svn: Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook

I'm the administrator, and I don't need any hooks at this point, so I
haven't set any up. Running setlog a third time with "--bypass-hooks"
works successfully, but if I don't include that argument, setlog
consistently fails with the above error.

I'm using 1.1.0rc2 on Mac OS X 10.3.5.



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 19 19:42:47 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.