You are not logged in.

#1 2008-08-11 01:43:15

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

[SOLVED] subversion through xinetd not functioning

Hi,

I can't decide if this is entirely subversion related, so I figured I'd start the question here and move it to the subversion mailing list later if necessary.

I set up my own subversion repository at /var/svn/repo/personal. I have a file /etc/xinetd.d/svn which controls how xinetd should handle the svnserve daemon. It is this:

service svn
{
    flags           = REUSE
    socket_type     = stream
    wait            = no
    user            = svn
    server          = /usr/bin/svnserve
    server_args     = -i
    log_on_failure  += USERID
    disable         = no
}

The command I run to test the server and the result of running the command (An error):

[robert@server ~]$ svn ls svn://localhost/personal
svn: Connection closed unexpectedly

And the /var/log/messages.log details on the error:

Aug 11 01:30:38 server xinetd[2679]: xinetd Version 2.3.14 started with libwrap options compiled in.
Aug 11 01:30:38 server xinetd[2679]: Started working: 1 available service
Aug 11 01:30:46 server xinetd[2682]: libwrap refused connection to svn (libwrap=svnserve) from 127.0.0.1

I'm not sure what's wrong. Can anyone help?

Last edited by void.pointer (2008-08-12 23:13:21)

Offline

#2 2008-08-12 16:13:27

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] subversion through xinetd not functioning

Does no one have anything to suggest? There has to be something I can try...

Offline

#3 2008-08-12 23:13:07

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] subversion through xinetd not functioning

Problem solved:

Apparently xinetd uses hosts.allow to determine what daemons are allowed. All I had to do was add the following to my /etc/hosts.allow:

svnserve: ALL

Works great now!

Offline

Board footer

Powered by FluxBB