Actions:
|
2008-02-15 03:15 AEST by Glen Starrett - Customer sent me a trace that shows the ENUM protocol crashing mid-output from a
SLES9 - 64 server (executed on the server):
>>>>
cvstdevc@nssd2cvsd001:/opt/cvstdevc> cvs -ttt info -r nssd2cvsd001
08:13:09: -> Tracelevel set to 3. PID is 12213
08:13:09: -> Session ID is 2fb547b43e6530ea
08:13:09: -> Session time is Thu Feb 14 13:13:09 2008
08:13:09: -> Client locale is en_US.UTF-8
08:13:09: -> Client was compiled with GNU C/C++ 30303 (3.3.3 (SuSE Linux))
08:13:09: -> Client build platform is unknown-linux-gnu-x86_64
08:13:09: -> From remote: Version: Concurrent Versions System (CVSNT) 2.5.03
(Scorpio) Build 2757
08:13:09: -> From remote: ServerName: nssd2cvsd001
08:13:09: -> From remote: Protocol: pserver
08:13:09: -> From remote: Format = Returning protocol :%s:
08:13:09: -> From remote: Argument 1 is null
08:13:09: -> From remote: cvsnt: cvs_string.cpp:158: bool
cvs::str_prescan(const char*, __va_list_tag*): Assertion `s' failed.
08:13:09: -> From remote: cvsnt [server aborted]: received abort signal
08:13:09: -> From remote: error
Couldn't enumerate remote server. Server does not support enum protocol.
08:13:09: -> Unloading - about to clear list
08:13:09: -> Unloading - cleared list
cvstdevc@nssd2cvsd001:/opt/cvstdevc>
<<<<
I'm having the customer send in their config files, I'll attach them to this
report when I get them. |
|
2008-02-15 11:42 AEST by Arthur Barrett -
I can only reproduce it on our suse system here if I have ServerTraceFile set -
so it's a debugging error I think - the customer should delete the line from
the Pserver file:
ServerTraceFile=/var/log/pserver.trace.log
I am reducing to priority to P4 and severity to 'trivial' - I will promote it
higher if the problem still occurs with debugging switched off.
The provided /etc/cvsnt/PServer configuration file has many incorrec settings.
1) repository name should obfuscate the 'real' path, so setting them identical
is a security risk:
Repository0=/var/cvsnt/repository/test
Repository0Name=/var/cvsnt/repository/test
Repository1=/var/cvsnt/repository/test2
Repository1Name=/var/cvsnt/repository/test2
Repository2=/fire/repo/2cvs
Repository2Name=/fire/repo/2cvs
Repository3=/fire/repo/-p
Repository3Name=/fire/repo/-p
2)
The compatibility options are incorrectly set - they should be deleted:
Compat0_OldVersion=0
Compat5_OldVersion=0
Compat4_OldVersion=0
Compat14_OldVersion=0
Compat15_OldVersion=0
Compat8_OldVersion=0
Compat0_HideStatus=0
Compat5_HideStatus=0
Compat14_HideStatus=0
Compat15_HideStatus=0
Compat8_HideStatus=0
Compat0_OldCheckout=0
Compat5_OldCheckout=0
Compat14_OldCheckout=0
Compat15_OldCheckout=0
Compat8_OldCheckout=0
Compat0_IgnoreWrappers=0
Compat5_IgnoreWrappers=0
Compat14_IgnoreWrappers=0
Compat15_IgnoreWrappers=0
Compat8_IgnoreWrappers=0
The only valid numbers are 0 and 1:
# Compatibility levels - currently:
# 0 = Legacy cvs (cvshome.org cvs, eclipse)
# 1 = cvsnt (cvsnt client, wincvs, tortoisecvs, etc.)
3) the following settings are the defaults and should not be specified since it
is the default they want:
EncryptionLevel=0
LockServer=localhost:2402
LockServerLocal=1
|