-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
void pointer wrote:
> 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? 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_group
> ----------------------------------------------------------
> 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
> }
>
Add a bind directive with your external IP to /etc/xinetd.d/svn, without
it it's binding to all available IPs.
- --
Thanks,
Josh Paetzel
PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAklrjBcACgkQJvkB8SevrsvCVQCfVWRTMJV6U1fY42M6Mz0zzifs
hZgAn3oD9TiWHU0TMr4PyViZE3vrOoO1
=zg+e
-----END PGP SIGNATURE-----
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1019705
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-12 19:31:05 CET