You are not logged in.

#1 2009-01-11 15:38:22

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

xinetd & svn problem

Hi,

Currently I'm trying to setup 2 xinetd scripts:

/etc/xinetd.d/svn
/etc/xinetd.d/svn_private

The 'svn' configuration is for my public repositories accessible to the WAN. The 'svn_private' configuration is for repositories accessible only to the LAN. However, the svn_private fails because the bind fails (Address already in use). How would I set this up? The goal here is to have access to some private repositories on my LAN and have other repositories be accessible via the Internet. Am I going about this the correct way? I'll post my xinetd configurations below:

/etc/xinetd.d/svn:

service svn
{
    socket_type     = stream
    port            = 3690
    wait            = no
    user            = svn
    group           = svn_group
    server          = /usr/bin/svnserve
    server_args     = -i -r /srv/svn/repo
    log_on_failure  += USERID
    disable         = no
}

/etc/xinetd.d/svn_private:

service svn
{
    socket_type     = stream
    port            = 3690
    bind            = 192.168.10.150
    wait            = no
    user            = svn
    group           = svn_group
    server          = /usr/bin/svnserve
    server_args     = -i -r /srv/svn/repo_private
    log_on_failure  += USERID
    disable         = no
}

Offline

Board footer

Powered by FluxBB