Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 10:43:39 -0800
From:      Royce Williams <royce@tycho.org>
To:        "Michael W. Lucas" <mwlucas@michaelwlucas.com>
Cc:        Kurt Jaeger <lists@opsec.eu>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: freebsd-update to 9.2-RELEASE-p8 loop
Message-ID:  <CA%2BE3k91fgEWcKgEO_JQ0AG_DXs7SC9S_7suo8=J%2BKy%2BiVJhUBg@mail.gmail.com>
In-Reply-To: <20140610180515.GA2380@bewilderbeast.blackhelicopters.org>
References:  <20140610195025.af77561acbb2224539762600@mimar.rs> <20140610175315.GR2341@home.opsec.eu> <20140610180515.GA2380@bewilderbeast.blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 10, 2014 at 10:05 AM, Michael W. Lucas
<mwlucas@michaelwlucas.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BE3k91fgEWcKgEO_JQ0AG_DXs7SC9S_7suo8=J%2BKy%2BiVJhUBg>