From owner-freebsd-questions@FreeBSD.ORG Tue May 15 23:05:16 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 07E3316A404 for ; Tue, 15 May 2007 23:05:16 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.101.21]) by mx1.freebsd.org (Postfix) with ESMTP id DC77813C459 for ; Tue, 15 May 2007 23:05:15 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from hexahedron.daemonology.net (cperciva@fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.13.6/8.13.4/SFU-5.0H) with SMTP id l4FN5DCc013205 for ; Tue, 15 May 2007 16:05:14 -0700 (PDT) X-Spam-Level: Spam-Level Received: (qmail 1449 invoked from network); 15 May 2007 23:04:59 -0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost.127.in-addr.arpa with SMTP; 15 May 2007 23:04:59 -0000 Message-ID: <464A3C9B.5080906@freebsd.org> Date: Tue, 15 May 2007 16:04:59 -0700 From: Colin Percival User-Agent: Thunderbird 2.0.0.0 (X11/20070511) MIME-Version: 1.0 To: Zbigniew Szalbot References: <63779.192.168.11.7.1178700443.squirrel@lists.lc-words.com> In-Reply-To: <63779.192.168.11.7.1178700443.squirrel@lists.lc-words.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by antibody.sfu.ca running antivirus scanner Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update and locally modfied files 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: Tue, 15 May 2007 23:05:16 -0000 Zbigniew Szalbot wrote: > Can you help me by suggesting what I need to do when I want to use > freebsd-update fetch (FBSD 6.2) but get the following message: > > The following files are affected by updates, but no changes have > been downloaded because the files have been modified locally: > /etc/rc.d/jail Probably what happened is that you installed a patched FreeBSD (e.g., 6.2-RELEASE-p2) in which /etc/rc.d/jail was already updated. As a result of CVS modifying $FreeBSD$ tags when commits happen, this makes the /etc/rc.d/jail file which you get by installing from the source code very slightly different from what you get by using FreeBSD Update (since the FreeBSD Update patches are built before the CVS commits are done, this is unavoidable); consequently, FreeBSD Update doesn't recognize the file and thinks that you modified it locally. > Now, I do not recall ever playing with jail. Anyway, how do I update the > system (and keep changes to /etc/rc.d/jail (if any))? The easiest solution is to remove /etc/ from the UpdateIfUnmodified line in /etc/freebsd-update.conf and run freebsd-update again. Make sure that you add /etc/ back afterwards. Colin Percival