summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2009-03-31 23:51:34 +0100
committerRoger Leigh <rleigh@debian.org>2009-03-31 23:51:34 +0100
commitf56b95ff7623018f37b5f1fece4571258e4cb8bf (patch)
treef05a9e4d69354fadca49716136eef8b3a0e9fbaa /bin
parentfb4c96f21bb7d833fde6668d7a66d680082590dd (diff)
downloadschroot-f56b95ff7623018f37b5f1fece4571258e4cb8bf.tar.gz
[schroot] Document chroot_directory directory property
Diffstat (limited to 'bin')
-rw-r--r--bin/schroot/schroot.conf9
-rw-r--r--bin/schroot/schroot.conf.5.in14
2 files changed, 15 insertions, 8 deletions
diff --git a/bin/schroot/schroot.conf b/bin/schroot/schroot.conf
index 4fc8968a..1c68f605 100644
--- a/bin/schroot/schroot.conf
+++ b/bin/schroot/schroot.conf
@@ -12,7 +12,7 @@
#
#[sid]
#description=Debian sid (unstable)
-#location=/srv/chroot/sid
+#directory=/srv/chroot/sid
#priority=3
#users=rleigh
#groups=sbuild
@@ -22,7 +22,6 @@
#[sid-snap]
#type=lvm-snapshot
#description=Debian sid snapshot
-##location=/srv/chroot/sid
#priority=3
#groups=sbuild,root
#root-users=rleigh
@@ -36,7 +35,7 @@
#
#[squeeze]
#description=Debian squeeze (stable) 32-bit
-#location=/srv/chroot/squeeze
+#directory=/srv/chroot/squeeze
#priority=3
#groups=sbuild-security
#aliases=stable
@@ -46,7 +45,7 @@
#
#[lenny]
#description=Debian lenny (oldstable)
-#location=/srv/chroot/lenny
+#directory=/srv/chroot/lenny
#priority=2
#groups=sbuild
#aliases=oldstable
@@ -59,7 +58,7 @@
#
#[lenny-secure]
#description=Debian lenny (oldstable)
-#location=/srv/chroot/lenny
+#directory=/srv/chroot/lenny
#priority=2
#groups=sbuild-security
#aliases=stable-security
diff --git a/bin/schroot/schroot.conf.5.in b/bin/schroot/schroot.conf.5.in
index 7e40583e..e6771719 100644
--- a/bin/schroot/schroot.conf.5.in
+++ b/bin/schroot/schroot.conf.5.in
@@ -153,7 +153,7 @@ that if \f[CI]run\-setup\-scripts\fP is set to \[oq]true\[cq] for
.PP
These chroot types have an additional (mandatory) configuration option:
.TP
-\f[CBI]location=\fP\f[CI]directory\fP
+\f[CBI]directory=\fP\f[CI]directory\fP
The directory containing the chroot environment. This is where the root will
be changed to when executing a login shell or a command. The directory must
exist and have read and execute permissions to allow users access to it. Note
@@ -163,6 +163,14 @@ option to
.BR mount (8),
while for \[oq]directory\[cq] chroots \fI\-\-bind\fP is used instead so that
sub-mounts are not preserved.
+.IP
+This option was previously named \f[CI]location\fP, but was renamed to avoid
+ambiguity with the option by the same name for \fBmountable chroot\fP options
+(see \[lq]\fIMountable chroot options\fP\[rq], below). The name
+\f[CI]location\fP is deprecated, but still valid; it will be obsoleted and
+removed in a future release. It is recommended to use \f[CI]directory\fP
+rather than \f[CI]location\fP. Note that it is an error to use both
+\f[CI]directory\fP and \f[CI]location\fP at the same time.
.SS
File chroots
.PP
@@ -307,7 +315,7 @@ this boils down to \fItrust\fP.
.br
\f[CR]description[fr_FR]=Debian instable\fP
.br
-\f[CR]location=/srv/chroot/sid\fP
+\f[CR]directory=/srv/chroot/sid\fP
.br
\f[CR]priority=3\fP
.br
@@ -392,7 +400,7 @@ this boils down to \fItrust\fP.
\f[CR]run\-exec\-scripts=true\fP
.SH FILES
.TP
-.I @SCHROOT_CONF@
+\f[BI]@SCHROOT_CONF@\fP
The system-wide chroot definition file. This file must be owned by the root
user, and not be writable by other.
.TP