From owner-freebsd-stable@FreeBSD.ORG Tue Jun 10 18:44:02 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 604FDACB for ; Tue, 10 Jun 2014 18:44:02 +0000 (UTC) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC8E725C1 for ; Tue, 10 Jun 2014 18:44:01 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id b8so4246886lan.9 for ; Tue, 10 Jun 2014 11:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=vf9D47xj0x5WyI99DhNaHPnuM0NTxQjhZzJR+3dp1Gg=; b=CdS1SKcFfvb0UX4kgdNjPhuMZpSIdV3ZjUyPMrmRZ9QhmKeQ5Qdw7s6KrRu0TGU0ob /5epXlkWcc/x7k40auodQ+LAf1meOorFh61e3OUKQpMYEDbVI3gDoeEI0B9AKQUk+Mg5 c2KMyQp0Roiqub5Wy0yN04h9dEKBU9HdI/gpIYCiV0L1JaMPLHJsd1tqlsKaLb4DVrPa eaO6dDg0JuoJ/vaIhrYF70FJDVRxBedSaWcci1q1SOS49jaW+g3Ny9jx0yebDgpRmv4a HDG6wduYhmUcul+ZGUangC2U4LF+Q3lTxErk+5bBSMt9E3xElpNle4BnbOXdDMvh3a+n vhdg== X-Received: by 10.112.63.65 with SMTP id e1mr2302794lbs.81.1402425839872; Tue, 10 Jun 2014 11:43:59 -0700 (PDT) MIME-Version: 1.0 Sender: royce.williams@gmail.com Received: by 10.112.17.133 with HTTP; Tue, 10 Jun 2014 11:43:39 -0700 (PDT) In-Reply-To: <20140610180515.GA2380@bewilderbeast.blackhelicopters.org> References: <20140610195025.af77561acbb2224539762600@mimar.rs> <20140610175315.GR2341@home.opsec.eu> <20140610180515.GA2380@bewilderbeast.blackhelicopters.org> From: Royce Williams Date: Tue, 10 Jun 2014 10:43:39 -0800 X-Google-Sender-Auth: F6ngBGTU5W5m2rQCU_FBKC1oLBI Message-ID: Subject: Re: freebsd-update to 9.2-RELEASE-p8 loop To: "Michael W. Lucas" Content-Type: text/plain; charset=UTF-8 Cc: Kurt Jaeger , freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 18:44:02 -0000 On Tue, Jun 10, 2014 at 10:05 AM, Michael W. Lucas wrote: > On Tue, Jun 10, 2014 at 07:53:15PM +0200, Kurt Jaeger wrote: >> Hi! >> >> > I used freebsd-update to update from 9.2-RELEASE-p7 to 9.2-RELEASE-p8 >> > and rebooted. >> > >> > After reboot, uname -a shows 9.2-RELEASE-p7, but I've seen this before >> > and consider it normal. >> >> p8 did not touch the kernel, therefore there is no update in the uname output. >> >> Why it again and again updates linker.hints, I don't know. > > linker.hints should be added to /etc/freebsd-update.conf IgnoreFiles, i.e.: > > IgnorePaths /boot/kernel/linker.hints > > linker.hints is dynamically generated, and freebsd-update shouldn't > touch it. Yes, it's a bug. More background in this forums thread: https://forums.freebsd.org/viewtopic.php?&t=1362 Also, I've found that just adding the IgnorePaths line may be necessary, but is not sufficient. I have added that line, but freebsd-update continues to detect linker.hints as a needed update: $ grep linker /etc/freebsd-update.conf IgnorePaths /boot/kernel/linker.hints $ sudo freebsd-update fetch Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 8.4-RELEASE from update4.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 8.4-RELEASE-p12: /boot/kernel/linker.hints Royce