source: trunk/confexport.8 @ 532

Revision 532, 4.1 KB checked in by blee, 9 months ago (diff)

Document the bug of incremental confexports not catching in-repository symlinks

See #140 and #144

  • Property svn:keywords set to Id
Line 
1.\" Copyright (c) 2008, Christopher Cowart and contributors
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" * Redistributions of source code must retain the above copyright
8.\"   notice, this list of conditions and the following disclaimer.
9.\" * Redistributions in binary form must reproduce the above copyright
10.\"   notice, this list of conditions and the following disclaimer in the
11.\"   documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
14.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
15.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
16.\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
17.\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
18.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
19.\" TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20.\" PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
21.\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
22.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\"
25.\" $Id$
26.\"
27.Dd May 06, 2009
28.Dt CONFEXPORT 8
29.Os
30.Sh NAME
31.Nm confexport
32.Nd configuration exporter
33.Sh SYNOPSIS
34.Nm
35.Op Fl d
36.Nm
37.Fl h
38.Sh DESCRIPTION
39The
40.Nm
41utility is designed to be run from
42.Xr cron 8
43to provide a dump of the
44.Xr confman 8
45repository for use by hosts running
46.Xr confsync 8 .
47.Pp
48If the system is already up to date,
49.Nm
50will exit without making any changes.  This behavior can be overridden with the
51.Fl f
52option, which will force
53.Nm
54to run even if the system revision equals the export revision.  Note that the
55.Fl f
56option cannot be used to export a revision less than the system revision.
57.Pp
58The
59.Fl d
60option can be used to print additional debugging information.
61.Pp
62When launched with
63.Fl h ,
64.Nm
65will display the usage statement and exit.
66.Pp
67The export generated by
68.Nm
69will be written to the file specified in CONF_EXPORT_FILE (See
70.Xr confman.conf 5) .
71.Pp
72A persistent working copy can be specified with CONF_EXPORT_WORK_PATH in
73.Xr confman.conf 5 .
74This eliminates the performance overhead of repeatedly creating and
75destroying temporary working copies.
76.Ss EXPORT STYLES
77The following export styles are supported by
78.Nm :
79.Bl -tag -width indent
80.It Cm repository
81When using repository-style exports,
82.Nm
83will generate a single tarball containing the entire
84.Xr confman 8
85repository.  The value of CONF_EXPORT_FILE in
86.Xr confman.conf 5
87is used to specify the name of the resulting tarball.
88.It Cm recipe
89When using recipe-style exports,
90.Nm
91will generate a tarball for every recipe in the
92.Xr confman 8
93repository.  The value of CONF_EXPORT_FILE in
94.Xr confman.conf 5
95is used to specify the name of the directory that will store these tarballs.
96.It Cm module
97When using module-style exports,
98.Nm
99will generate a tarball for each module in the
100.Xr confman 8
101repository.  The value of CONF_EXPORT_FILE in
102.Xr confman.conf 5
103is used to specify the name of the directory that will store these tarballs.
104.Sh SECURITY CONSIDERATIONS
105Because a tarball with all your configurations can potentially have sensitive
106data, it is recommended that the System Administrator take reasonable
107precautions for her environment. This certainly includes consideration of
108the owner and group of the export file as well as the intended means for
109distribution of and access to the file.
110.Sh SEE ALSO
111.Xr confman 8 ,
112.Xr confsync 8 ,
113.Xr confman.conf 5 ,
114.Xr cron 8
115.Sh BUGS
116When using
117.Nm
118with the CONF_EXPORT_INCREMENTAL option, changes to files that are
119referenced in other modules by in-repository symlinks do not cause
120all relevant exports to be regenerated.  This can be worked around by
121either disabling the CONF_EXPORT_INCREMENTAL option or running
122.Nm
123with the
124.Fl f
125flag when such changes are made.
126.Sh AUTHORS
127.An Chris Cowart Aq ccowart@timesinks.net
Note: See TracBrowser for help on using the repository browser.