From owner-freebsd-questions@FreeBSD.ORG Fri Mar 23 12:47:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5B1E16A403 for ; Fri, 23 Mar 2007 12:47:32 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from gabriella.ber.rewt.org.uk (gabriella.ber.rewt.org.uk [87.106.72.109]) by mx1.freebsd.org (Postfix) with ESMTP id 6243913C4D1 for ; Fri, 23 Mar 2007 12:47:32 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from localhost (localhost [127.0.0.1]) by gabriella.ber.rewt.org.uk (Postfix) with ESMTP id AF36B2DE83; Fri, 23 Mar 2007 12:47:30 +0000 (GMT) X-Virus-Scanned: amavisd-new at gabriella.ber.rewt.org.uk Received: from gabriella.ber.rewt.org.uk ([127.0.0.1]) by localhost (gabriella.ber.rewt.org.uk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qdt1BZC6RoUR; Fri, 23 Mar 2007 12:47:20 +0000 (GMT) Received: from joanna.lon.rewt.org.uk (dsl172-67.as6911.net [62.84.172.67]) by gabriella.ber.rewt.org.uk (Postfix) with ESMTP id C505A2DE88; Fri, 23 Mar 2007 12:47:20 +0000 (GMT) Received: from [192.168.10.147] (jwh.local [192.168.10.147]) by joanna.lon.rewt.org.uk (Postfix) with ESMTP id ADBDD5C6F; Fri, 23 Mar 2007 12:47:39 +0000 (GMT) Message-ID: <4603CC3D.7040503@joeholden.co.uk> Date: Fri, 23 Mar 2007 12:46:53 +0000 From: Joe Holden User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Robin Becker References: <4603C8EF.1020104@chamonix.reportlab.co.uk> In-Reply-To: <4603C8EF.1020104@chamonix.reportlab.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ezjail ip conflicts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 12:47:32 -0000 Robin Becker wrote: > I'm getting these ip conflicts whilst trying to create a jail > > ezjail-admin create ....xxx.xxx.xxx.27 > > Warning: IP xxx.xxx.xxx.27 not configured on a local interface. > Warning: Some services already seem to be listening on all IP, > (including xxx.xxx.xxx.27) > This may cause some confusion, here they are: > mysql mysqld 505 10 tcp4 *:3306 *:* > root syslogd 291 6 udp4 *:514 *:* > > > my rc.conf has > > ifconfig_fxp0="inet xxx.xxx.xxx.26 netmask 255.255.255.248" > defaultrouter="xxx.xxx.xxx.25" > inetd_flags="-wW -a xxx.xxx.xxx.26" > > > so I believe the xxx.xxx.xxx.27 address is OK, but I guess I need to > make mysqld and syslogd listen only on xxx.xxx.xxx.26. I don't actually > understand what's preventing sshd from listening on all the addresses in > range unless it's the inetd flags, but I thought sshd is started by init > nowadays. > > Anyhow I think I can fix the mysqld problem by having > > mysql_args="--bind-address=xxx.xxx.xxx.26" > > in the rc.conf, but I don't see any easy way to configure syslogd to > start with a -b xxx.xxx.xxx.26 > > how do I fix this or perhaps I don't need to? syslogd_flags="-ss" in rc.conf sshd is configured in /etc/ssh/sshd_config. Ta, Joe