Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 2008 11:03:30 -0700
From:      David Newman <dnewman@networktest.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: freebsd-update says -p3, but i've got -p2
Message-ID:  <48822C72.1060703@networktest.com>
In-Reply-To: <48821B43.6000104@infracaninophile.co.uk>
References:  <20080714233542.GA59789@root.ucsc.edu>	<487BE866.2000309@gmail.com>	<488188C2.5090705@gmail.com>	<4882038F.6060805@networktest.com> <488208A0.8040004@gmail.com> <48821B43.6000104@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/19/08 9:50 AM, Matthew Seaman wrote:
> Manolis Kiagias wrote:
> 
>> This is not a problem with freebsd-update. The kernel has not changed
>>  between -p2 and -p3, so freebsd-update will not get you an updated
>> one. If you recompile the kernel afterwards, it will show -p3 because
>> of the change in /usr/src/sys/conf/newvers.sh (this changes everytime
>>  freebsd-update gets new updates, regardless of whether the kernel is
>>  updated or not). So, simply by recompiling the kernel you will get
>> the -p3 indication, though nothing much else in this case.
> 
> I had a thought the other day that it should be possible to to provide
> the system patch level as data within a very small KLD module.  That way 
> freebsd-update could change the value without having to supply a whole
> new kernel and without having to reboot.

Something showing what's currently running would be a useful addition 
IMO. Yes, the user can grep /usr/src/sys/conf/newvers.sh to get the 
kernel patch level, but:

1. the user doesn't know if that patch level is currently installed and 
running; and

2. the user may not know version numbers for other pieces of code 
altered by freebsd-update. For example, someone else already pointed out 
that 'named -v' returns '9.4.2', the same version as before running 
freebsd-update.

Port maintenance tools such as portmaster and portupgrade indicate which 
version they're upgrading to; a similar facility in freebsd-update would 
be nice-to-have too.

thanks

dn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48822C72.1060703>