<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/regression/usr.sbin/etcupdate, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.</title>
<updated>2014-03-16T04:09:22+00:00</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-16T04:09:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d14afb2adcbf0db6625f582abf0c7154e4e005bd'/>
<id>d14afb2adcbf0db6625f582abf0c7154e4e005bd</id>
<content type='text'>
This change was originally going to only migrate the usr.sbin tests but, as
it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/
so it's better to just also migrate the latter at the same time.  The other
usr.bin tests will be moved separately.

To make these tests work within the test suite, some of them have required
changes to prevent modifying the source directory and instead just rely on
the current directory for file manipulation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change was originally going to only migrate the usr.sbin tests but, as
it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/
so it's better to just also migrate the latter at the same time.  The other
usr.bin tests will be moved separately.

To make these tests work within the test suite, some of them have required
changes to prevent modifying the source directory and instead just rely on
the current directory for file manipulation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change etcupdate tests to return 1 on test failures.</title>
<updated>2014-03-16T02:27:27+00:00</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-16T02:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5bc38acbf67be47b5ed898f96bceb0f998a4e1d1'/>
<id>5bc38acbf67be47b5ed898f96bceb0f998a4e1d1</id>
<content type='text'>
This is a prerequisite for hooking these tests into the test suite.  And,
fortunately, all tests seem to pass!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a prerequisite for hooking these tests into the test suite.  And,
fortunately, all tests seem to pass!
</pre>
</div>
</content>
</entry>
<entry>
<title>- Refresh /etc/localtime after each update using tzsetup -r.</title>
<updated>2013-12-09T19:31:30+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-12-09T19:31:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e920822b72919723f11ff07b1454bd750c20673'/>
<id>3e920822b72919723f11ff07b1454bd750c20673</id>
<content type='text'>
- Regenerate /var/db/services.db when /etc/services changes.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Regenerate /var/db/services.db when /etc/services changes.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a couple of issues with -F:</title>
<updated>2013-11-15T20:01:07+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-11-15T20:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8cc81f38e9421d6b7eb4849a8f52cbc224bdd772'/>
<id>8cc81f38e9421d6b7eb4849a8f52cbc224bdd772</id>
<content type='text'>
- Fix ALWAYS_INSTALL to take precedence over the FreeBSD ID checks.
  In particular, always install a file where the only change was
  the FreeBSD ID even if -F is specified.
- Fix the -F option in the case that the only upstream change is a
  change in the FreeBSD ID and the local file is removed.
- Add tests for these two cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fix ALWAYS_INSTALL to take precedence over the FreeBSD ID checks.
  In particular, always install a file where the only change was
  the FreeBSD ID even if -F is specified.
- Fix the -F option in the case that the only upstream change is a
  change in the FreeBSD ID and the local file is removed.
- Add tests for these two cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a pre-world mode of updating similar to the -p option that can be</title>
<updated>2013-11-12T19:44:18+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-11-12T19:44:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=21d1f635ee3417c03af5c81d10eae4c084734e0a'/>
<id>21d1f635ee3417c03af5c81d10eae4c084734e0a</id>
<content type='text'>
passed to mergemaster.  In this mode, only changes to /etc/master.passwd
and /etc/group are merged to /etc.  In addition, it uses a temporary
tree to stage these changes rather than overwriting the existing
'current' and 'previous' trees so that a full update can be run after
a normal installworld has completed.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
passed to mergemaster.  In this mode, only changes to /etc/master.passwd
and /etc/group are merged to /etc.  In addition, it uses a temporary
tree to stage these changes rather than overwriting the existing
'current' and 'previous' trees so that a full update can be run after
a normal installworld has completed.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an -s option that specifies a path to an alternate etcupdate.sh script</title>
<updated>2013-11-12T19:15:06+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-11-12T19:15:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c387a450ac7cfc23dabd082ceda256a7bff4a5f4'/>
<id>c387a450ac7cfc23dabd082ceda256a7bff4a5f4</id>
<content type='text'>
to test.  This allows a non-installed version of the script to be tested
more easily.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to test.  This allows a non-installed version of the script to be tested
more easily.
</pre>
</div>
</content>
</entry>
<entry>
<title>The etcupdate utility is a tool for managing updates to files that are</title>
<updated>2012-07-13T13:23:48+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2012-07-13T13:23:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6f9cd2a9dc84b8309f19939ccfb1ada88ca07905'/>
<id>6f9cd2a9dc84b8309f19939ccfb1ada88ca07905</id>
<content type='text'>
not updated as part of `make installworld' such as files in /etc.  It
manages updates by doing a three-way merge of changes made to these files
against the local versions.  It is also designed to minimize the amount
of user intervention with the goal of simplifying upgrades for clusters
of machines.

The primary difference from mergemaster is that etcupdate requires less
manual work.  The primary difference from etcmerge is that etcupdate
updates files in-place similar to mergemaster rather than building a
separate /etc tree.

Requested by:	obrien, kib, theraven, joeld (among others)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
not updated as part of `make installworld' such as files in /etc.  It
manages updates by doing a three-way merge of changes made to these files
against the local versions.  It is also designed to minimize the amount
of user intervention with the goal of simplifying upgrades for clusters
of machines.

The primary difference from mergemaster is that etcupdate requires less
manual work.  The primary difference from etcmerge is that etcupdate
updates files in-place similar to mergemaster rather than building a
separate /etc tree.

Requested by:	obrien, kib, theraven, joeld (among others)
</pre>
</div>
</content>
</entry>
</feed>
