Re: Disable svn service temporarily

2023-03-17 Thread Trent Fisher

On 3/14/2023 8:52 AM, Felix Natter wrote:


Dear subversion community,

I have setup an ALMA Linux 8 (~RH8) Server, to which I will migrate some
repositories from a Ubuntu 20.04 system. During the migration phase I 
would
like to disable the svn (svn+ssh://) service temporarily on the Ubuntu 
20.04

system.

Is there any easy way to do it? I would like to avoid modifying conf/* for
all of the ~100 repositories, making deep changes to the system and
shutting down the ssh service (because I need to pull the dumps to the new
system).

Later, I would also like to have this "maintenance mode" on the target 
ALMA8

system.

Do you have an idea?



You could move the "svnserve" command aside, that would block all 
svn+ssh access, but that could break a lot of other things, depending on 
your setup.


You could replace it with a shell wrapper which blocks access in certain 
situations, something like this:


if [ "$SSH_CONNECTION" -a -f /etc/BLACKOUT ]; then cat /etc/BLACKOUT; 
exit 1; fi


exec svnserve.real "$@"

So if they are coming in from SSH and you have a file called 
/etc/BLACKOUT that file would be sent to users (downtime notice). You 
might want to exempt the repository owner, so that any replication or 
migration efforts still work.


note: that script is off the top of my head, poorly written and 
untested; but it should give you the idea.


trent...




Re: Need Support for Error || serialized hash missing terminator

2023-03-17 Thread Bo Berglund
On Fri, 17 Mar 2023 10:06:18 +, "Kumar, Pradeep (Baker Hughes Contractor)
via users"  wrote:

>HI Support Team,
>
>Can someone please respond on this and help us on the below issue.
>
>Regards,
>Pradeep Kumar.
>

You will not get any help until you post a question in a readable way!
No unreadable screenshots for example...
And this is NOT a "Support Team"!
It is a user-to-user help mail list.


-- 
Bo Berglund
Developer in Sweden



RE: Need Support for Error || serialized hash missing terminator

2023-03-17 Thread Kumar, Pradeep (Baker Hughes Contractor) via users
HI Support Team,

Can someone please respond on this and help us on the below issue.

Regards,
Pradeep Kumar.

From: Pallapati, Raja (Baker Hughes Contractor) 
Sent: 16 March 2023 17:26
To: users@subversion.apache.org
Cc: Kumar, Pradeep (Baker Hughes Contractor) 
Subject: Need Support for Error || serialized hash missing terminator

Hi Team,

While doing a check-out in the SVN subversion working copy we are receiving 
"serialized hash missing terminator" error, and unable to update the content. 
This is delaying our work.

Kindly support on this to resolve the issue as early as possible.

[cid:image001.png@01D958E6.34CB95A0]

Thanks & Regards,
Raja Pallapati