From owner-freebsd-questions@FreeBSD.ORG Sat Jul 19 06:25:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBA041065670 for ; Sat, 19 Jul 2008 06:25:12 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 8A32E8FC19 for ; Sat, 19 Jul 2008 06:25:12 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so347010wfg.7 for ; Fri, 18 Jul 2008 23:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Y281LsYljSVbJXdlzflLXUpP9yQDbv9OpJjd++HlI+c=; b=V8siWQuk5sFY/h74CF5buzR8yUy5OoR1DHBG7R/GlHVSe6vtshvzc5CMOCegCRjAoN YPvQTiJwEBhIy6WFSFn1xHsKsQSAv1dgTkLylwyer2ezNPcdAMhgc4Z6WJbD88nqfsha Y4CXdSt5+r0tkaHozxE0w21ig2keYY47KWvOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=URqSMRwz2GZuxXy5dGJgZUl/pPqWziZIPFCZmrD+4LdRJUi48WGrConzR8srNsfc/v yoXxxHmYwJOkpRe89GISk6jRGf4W3KbRY8mniIXG7K4cSbTBb5J68m62YReNmc/yoe1b lwQgDMBeti8sD9Nc3VlYnH+SJ08QHul22zN6I= Received: by 10.142.225.11 with SMTP id x11mr357717wfg.101.1216448712207; Fri, 18 Jul 2008 23:25:12 -0700 (PDT) Received: from tim-judds-mac-mini.local ( [76.113.34.1]) by mx.google.com with ESMTPS id 22sm3381842wfd.7.2008.07.18.23.25.11 (version=SSLv3 cipher=RC4-MD5); Fri, 18 Jul 2008 23:25:11 -0700 (PDT) Message-ID: <488188C2.5090705@gmail.com> Date: Sat, 19 Jul 2008 00:25:06 -0600 From: Tim Judd User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Manolis Kiagias References: <20080714233542.GA59789@root.ucsc.edu> <487BE866.2000309@gmail.com> In-Reply-To: <487BE866.2000309@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: booloo@ucsc.edu, freebsd-questions@freebsd.org Subject: Re: freebsd-update says -p3, but i've got -p2 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: Sat, 19 Jul 2008 06:25:12 -0000 Manolis Kiagias wrote: > Mark Boolootian wrote: >> Hi folks, >> >> I've done a couple of fresh installs on 7.0-RELEASE today, and >> subsequently run freebsd-update. freebsd-update reports: >> >> The following files will be updated as part of updating to >> 7.0-RELEASE-p3: >> /boot/kernel/kernel >> /boot/kernel/kernel.symbols >> /usr/bin/dig >> /usr/bin/host >> /usr/bin/nslookup >> /usr/bin/nsupdate >> /usr/include/netinet/tcp.h >> /usr/lib/libssh.a >> /usr/lib/libssh.so.4 >> /usr/lib/libssh_p.a >> /usr/sbin/dnssec-signzone >> /usr/sbin/lwresd >> /usr/sbin/named >> /usr/sbin/named-checkconf >> /usr/sbin/named-checkzone >> /usr/sbin/named-compilezone >> /usr/sbin/sshd >> /usr/src/sys/conf/newvers.sh >> /usr/src/sys/netinet/tcp.h >> /usr/src/sys/netinet/tcp_output.c >> >> which leads me to conclude I've got -p3, including the BIND update. >> However 'uname -a' says something else: >> >> FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed >> Jun 18 07:33:20 UTC 2008 >> root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >> >> And although /usr/sbin/named has been updated, it appears not to have >> been upgraded: >> >> $ /usr/sbin/named -v >> BIND 9.4.2 >> >> Thoughts? >> >> > > You've got p3, don't worry. There was no kernel update in p3, hence > you got the p2 GENERIC kernel. If you want uname to actually show p3, > you will have to recompile your kernel, using something like this > (assuming you got the kernel sources installed and intend to keep > using GENERIC): > > cd /usr/src > make buildkernel installkernel KERNCONF=GENERIC > and then reboot > > However the only difference will be in the -p number, nothing else so > you don't have to do it. > > FWIW, the /usr/src/sys/conf/newvers.sh contains the -p number you see > in uname, and this changes everytime freebsd-update fetches updates - > whether they include kernel updates or not. Some people (especially > those responsible for large number of machines) will recompile the > kernel anyway, so they can easily see their patchlevel using uname. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Another way I'm TRYING to get into the habit of doing, to find the patches applied to a system is to make a dir, such as something like /root/updates In this directory I place all the *.asc and *.diff or *.patch files that apply to the updates. This way the uname can give me some very good information, but the patches and updates I've received (either via freebsd-update or via rebuilding world) have been recorded, and it's on a host-by-host basis this way too. I hope this helps anybody in their administration tasks. --Tim