Message from discussion
getting the running patch level
Received: by 10.66.88.7 with SMTP id bc7mr1292371pab.2.1344888549461;
Mon, 13 Aug 2012 13:09:09 -0700 (PDT)
Path: p10ni56966657pbh.1!nntp.google.com!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!panix!bofh.sebastian.fl.us!reflector!not-for-mail
From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <d...@des.no>
Newsgroups: mpc.lists.freebsd.security,muc.lists.freebsd.security
Subject: Re: getting the running patch level
Date: Mon, 13 Aug 2012 22:07:05 +0200
Message-ID: <867gt27dzq.fsf@ds4.des.no>
References: <0B65D7562F9DA04FAC3F15C508BF67136B90E09E1F@ESESSCMS0355.eemea.ericsson.se>
<001701cd7648$c2520350$46f609f0$@com>
<5024f984.45ca320a.1838.4155SMTPIN_ADDED@mx.google.com>
<CAC8HS2FU1hrbh_m4P6h+SpUAJREfCeynHPD3QnNx6XuzSb3T-g@mail.gmail.com>
<86pq6xs0zb.fsf@ds4.des.no> <20120812163448.GA88577@DataIX.net>
<86vcgm7fsw.fsf@ds4.des.no> <50295C95.7020301@gmail.com>
In-Reply-To: <50295C95.7020301@gmail.com> (Manolis Kiagias's message of "Mon,
13 Aug 2012 22:59:17 +0300")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix)
MIME-Version: 1.0
X-BeenThere: freebsd-secur...@freebsd.org
X-Mailman-Version: 2.1.5
List-Post: <mailto:freebsd-secur...@freebsd.org>
Errors-To: owner-freebsd-secur...@freebsd.org
Approved: one-way reflector at bofh.sebastian.fl.us
X-Gateway: reflector by hg (at) queue.to
NNTP-Posting-Host: news.queue.to
NNTP-Posting-Date: Mon, 13 Aug 2012 20:08:49 -0000
Lines: 27
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Manolis Kiagias <sonic200...@gmail.com> writes:
> One could also set the environment variable UNAME_r to the correct
> value (either in system wide e.g. /etc/profile or to a specific user
> dot files).
If your goal is to have uname(1) return the correct value, yes, except
it won't always work. For instance, sudo(1) (and probably also su(1),
but I never use it) will strip it from the environment and will *not*
run /etc/profile before the requested command.
> Or, since the correct value is always in newvers.sh, if src is present
> in the system a periodic script could update it automatically.
We can't assume that src is present.
> The manual updating will cause more confusion in the long run -
> people tend to forget these things...
Nobody suggested manually updating anything.
DES
--=20
Dag-Erling Sm=C3=B8rgrav - d...@des.no
_______________________________________________
freebsd-secur...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"