Date: Sun, 2 Jul 2006 04:58:24 -0400 From: "David Stanford" <dthomas53@gmail.com> To: "Anders Troback" <freebsd@troback.com>, janos.mohacsi@bsd.hu, FreeBSD <freebsd-ports@freebsd.org> Subject: Re: FreeBSD Port: security/denyhosts Message-ID: <f2c91f770607020158k664387a3va7c0f6fbb079db1b@mail.gmail.com> In-Reply-To: <20060630205555.GA78209@icarus.home.lan> References: <20060630223225.026a79c4@devil.troback.com> <20060630205555.GA78209@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/30/06, Jeremy Chadwick <freebsd@jdc.parodius.com> wrote: > > On Fri, Jun 30, 2006 at 10:32:25PM +0200, Anders Troback wrote: > > Hi there! > > > > Just installed the denyhost port but when I fire it up it's complains > > about the missing config file: > > > > # /usr/local/etc/rc.d/denyhosts start > > Starting denyhosts. > > Error reading file: /usr/local/etc/denyhosts.conf > > [Errno 2] No such file or directory: '/usr/local/etc/denyhosts.conf' > > > > The config file supplied by the port are denyhosts.cfg! > > > > A simple mv did the trick but I just have to tell you:-) > > > > Thanks for your time!!! > > This was answered in another thread of the exact same type (might be > worth it if you searched the mailing list first): > > >> From: David Stanford <dthomas53@gmail.com> > >> To: Andrei Kolu <antik@bsd.ee> > >> Date: Tue, 27 Jun 2006 04:34:21 -0400 > >> Cc: ports@freebsd.org, janos.mohacsi@bsd.hu > >> Subject: Re: FreeBSD Port: denyhosts-2.4.b > >> > >> On 6/27/06, Andrei Kolu <antik@bsd.ee> wrote: > >> > > >> >denyhosts start > >> >Starting denyhosts. > >> >Error reading file: /usr/local/etc/denyhosts.conf > >> >[Errno 2] No such file or directory: '/usr/local/etc/denyhosts.conf' > >> > > >> > >------------------------------------------------------------------------------ > >> > > >> >I can't find any denyhosts.conf file. Where is it? > >> >_______________________________________________ > >> >freebsd-ports@freebsd.org mailing list > >> >http://lists.freebsd.org/mailman/listinfo/freebsd-ports > >> >To unsubscribe, send any mail to > >> >"freebsd-ports-unsubscribe@freebsd.org" > >> > > >> > >> # cp /usr/local/share/denyhosts/denyhosts.cfg-dist > >> /usr/local/etc/denyhosts.cfg > >> > >> -David > > -- > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > The maintainer now installs the config file into /usr/local/etc as of the most recent updated port (denyhosts-2.5). Just to note a minor fix which would resolve the OP problem (that I myself had as well): ============= [root@jonathan /usr/ports/security/denyhosts/files]# diff -ruN denyhosts.in.orig denyhosts.in --- denyhosts.in.orig Sun Jul 2 04:18:04 2006 +++ denyhosts.in Sun Jul 2 04:18:15 2006 @@ -13,7 +13,7 @@ command="%%PREFIX%%/bin/denyhosts.py" command_interpreter="/usr/local/bin/python" -command_args="--config %%PREFIX%%/etc/denyhosts.conf --daemon" +command_args="--config %%PREFIX%%/etc/denyhosts.cfg --daemon" pidfile="/var/run/${name}.pid" load_rc_config $name ============= Thanks! :) -David -- [root@fbsd ~]# fortune Happiness is just an illusion, filled with sadness and confusion.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2c91f770607020158k664387a3va7c0f6fbb079db1b>