Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 14:12:52 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, Roberto <robertot@redix.it>, "Simon L. B. Nielsen" <simon@FreeBSD.org>, freebsd-security@freebsd.org
Subject:   Re: getting the running patch level
Message-ID:  <503156D4.3020800@FreeBSD.org>
In-Reply-To: <20120819123313.GA72985@stack.nl>
References:  <0B65D7562F9DA04FAC3F15C508BF67136B90E09E1F@ESESSCMS0355.eemea.ericsson.se> <001701cd7648$c2520350$46f609f0$@com> <5024f984.45ca320a.1838.4155SMTPIN_ADDED@mx.google.com> <CAC8HS2FU1hrbh_m4P6h%2BSpUAJREfCeynHPD3QnNx6XuzSb3T-g@mail.gmail.com> <86pq6xs0zb.fsf@ds4.des.no> <20120819123313.GA72985@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/19/2012 05:33, Jilles Tjoelker wrote:
> I think the idea of having 'make installworld' create something is good,
> but we should not hard-code policy by writing the information into a
> file that may be shown to unauthenticated users (such as by getty).
> 
> A new file with a name=value format somewhat like /etc/lsb-release on
> Linux seems more appropriate. If the admin wants /etc/issue,
> /etc/rc.d/motd can create it.
> 
> The new file is not a configuration file and tools like mergemaster and
> freebsd-update must not bother the admin about it. If all files under
> /etc are considered "configuration files", then perhaps a different
> location is better.

The way that you avoid mergemaster dealing with a file is to avoid
installing it as part of the process that mergemaster uses to create the
temproot directory (you can see this easily enough in the script). If
the file doesn't end up in the temproot, mergemaster will have no
knowledge of it.

hth,

Doug

-- 

    I am only one, but I am one.  I cannot do everything, but I can do
    something.  And I will not let what I cannot do interfere with what
    I can do.
			-- Edward Everett Hale, (1822 - 1909)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503156D4.3020800>