From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 31 09:20:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 536571065672 for ; Tue, 31 Jan 2012 09:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1245B8FC18 for ; Tue, 31 Jan 2012 09:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0V9KAUV072232 for ; Tue, 31 Jan 2012 09:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0V9KAh9072231; Tue, 31 Jan 2012 09:20:10 GMT (envelope-from gnats) Resent-Date: Tue, 31 Jan 2012 09:20:10 GMT Resent-Message-Id: <201201310920.q0V9KAh9072231@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Fechner Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 398501065670 for ; Tue, 31 Jan 2012 09:14:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 24FD98FC12 for ; Tue, 31 Jan 2012 09:14:24 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0V9ENaM069793 for ; Tue, 31 Jan 2012 09:14:23 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q0V9ENou069760; Tue, 31 Jan 2012 09:14:23 GMT (envelope-from nobody) Message-Id: <201201310914.q0V9ENou069760@red.freebsd.org> Date: Tue, 31 Jan 2012 09:14:23 GMT From: Matthias Fechner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/164659: fail2ban overwrite config files X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2012 09:20:11 -0000 >Number: 164659 >Category: ports >Synopsis: fail2ban overwrite config files >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 31 09:20:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Matthias Fechner >Release: 9.0 >Organization: >Environment: FreeBSD server 9.0-STABLE FreeBSD 9.0-STABLE #7: Sat Jan 28 18:07:47 CET 2012 >Description: A reinstall of the port overwrites the existing self modified configuration files. >How-To-Repeat: Install the port, modify the /usr/local/etc/fail2ban/jail.conf and add new sections. Now reinstall the port e.g. with portupgrade -f fail2ban. The system overwrite all existing configuration files with the sample files. >Fix: Please install all sample config files as jail.conf.sample. The user must copy the file then to jail.conf and can edit it. This change will ensure that configurations are not overwritten by accident. >Release-Note: >Audit-Trail: >Unformatted: