Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT] cvs server connection refused
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
schnelle
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 98

PostPosted: Sun Dec 07, 2003 10:35 am    Post subject: [OT] cvs server connection refused Reply with quote

Hallo ..
ich möchte mir einen CVS-Server einrichten den ich dann per SSH anspreche.
OK ich hab den CVS-Server installiert der auch local funktionier nur über das Netzwerk nicht.
ich habe die CVSROOT Variable auf

Code:

export CVSROOT=:pserver:markus@192.168.10.1:/home/cvsroot


gesetzt.
Nur wenn ich mich jetzt von einem anderem Rechner aus anmelden möchte kommt folgende Fehlermeldung.

Code:

# cvs login
Logging in to :pserver:markus@192.168.10.1:2401/data/CVSROOT
CVS password:
cvs [login aborted]: connect to 192.168.10.1(192.168.10.1):2401 failed: Connection refused


Der xinetd läuft und die Config sieht so aus.

Code:

service cvspserver
{
        disable         = yes
        socket_type     = stream
        wait            = no
        user            = cvs
        group           = cvs
        log_type        = FILE /var/log/cvspserver
        protocol        = tcp
        env             = '$HOME=/home/cvsroot
        log_on_failure  += USERID
        port            = 2401
        server          = /usr/bin/cvs
        server_args     = -f --allow-root=/home/cvsroot pserver
}



Danke für die hilfe

Gruß Markus
Back to top
View user's profile Send private message
stkn
Retired Dev
Retired Dev


Joined: 09 Jun 2003
Posts: 65
Location: Germany, 6.8° 47' 60" E / 51° 0' N

PostPosted: Sun Dec 07, 2003 5:20 pm    Post subject: Reply with quote

Quote:
disable = yes


auf "no" umstellen

Quote:
'$HOME=/home/cvsroot


da wird xinetd sicherlich wegen dem ' probleme machen ausserdem werden variablen mit HOME=/home/cvsroot gesetzt (ohne $)

anschliessend xinetd restarten
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Sun Dec 07, 2003 5:30 pm    Post subject: Reply with quote

Außerdem willst du dir eventuell diesen bug einmal anschauen:
https://bugs.gentoo.org/show_bug.cgi?id=25313

Aus meiner Sicht ist der Tatbestand dieses bugs klar erfüllt, mich verwirren jedoch die Kommentare in dem bug, der da verlinkt ist.
(Es sei denn, man argumentiert so, dass cvspserver standardmäßig als root laufen sollte).

Ich hoffe, dass ich in den nächsten Tagen mal mit woodchip darüber reden kann, damit das user/group Problem endlich zu einer Lösung kommt und auch, wie stkn schon sagte, das nicht ganz korrekte "env" zu verbessern.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9523
Location: beyond the rim

PostPosted: Sun Dec 07, 2003 6:03 pm    Post subject: Re: [OT] cvs server connection refused Reply with quote

Hmm, wenn du per SSH auf dein CVS zugreifen willst brauchst du doch den ganzen pserver/xinetd Kram nicht, da reicht ein gestarteter SSH Server.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum