Merge lp:~ubuntu-branches/ubuntu/precise/lxc/precise-201203141828 into lp:ubuntu/precise/lxc

Proposed by Ubuntu Package Importer
Status: Rejected
Rejected by: James Westby
Proposed branch: lp:~ubuntu-branches/ubuntu/precise/lxc/precise-201203141828
Merge into: lp:ubuntu/precise/lxc
Diff against target: 1401 lines (+1371/-0) (has conflicts)
5 files modified
.pc/0057-update-manpages/doc/lxc-create.sgml.in (+166/-0)
.pc/0057-update-manpages/doc/lxc-destroy.sgml.in (+111/-0)
.pc/0057-update-manpages/doc/lxc-start.sgml.in (+200/-0)
.pc/0057-update-manpages/doc/lxc.conf.sgml.in (+700/-0)
debian/patches/0057-update-manpages (+194/-0)
Conflict adding file .pc/0057-update-manpages.  Moved existing file to .pc/0057-update-manpages.moved.
Conflict adding file debian/patches/0057-update-manpages.  Moved existing file to debian/patches/0057-update-manpages.moved.
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/precise/lxc/precise-201203141828
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+97485@code.launchpad.net

Description of the change

The package importer has detected a possible inconsistency between the package history in the archive and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/precise/lxc reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/precise/lxc/precise-201203141828. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.

Unmerged revisions

77. By Serge Hallyn

[Serge Hallyn]
* 0057-update-manpages: update manual pages to reflect some new options.
[Gary Poster]
* lxc-start-ephemeral: fix broken use of '-- command' (LP: #954632)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.pc/0057-update-manpages'
2=== renamed directory '.pc/0057-update-manpages' => '.pc/0057-update-manpages.moved'
3=== added file '.pc/0057-update-manpages/.timestamp'
4=== added directory '.pc/0057-update-manpages/doc'
5=== added file '.pc/0057-update-manpages/doc/lxc-create.sgml.in'
6--- .pc/0057-update-manpages/doc/lxc-create.sgml.in 1970-01-01 00:00:00 +0000
7+++ .pc/0057-update-manpages/doc/lxc-create.sgml.in 2012-03-14 18:33:20 +0000
8@@ -0,0 +1,166 @@
9+<!--
10+
11+lxc: linux Container library
12+
13+(C) Copyright IBM Corp. 2007, 2008
14+
15+Authors:
16+Daniel Lezcano <dlezcano at fr.ibm.com>
17+
18+This library is free software; you can redistribute it and/or
19+modify it under the terms of the GNU Lesser General Public
20+License as published by the Free Software Foundation; either
21+version 2.1 of the License, or (at your option) any later version.
22+
23+This library is distributed in the hope that it will be useful,
24+but WITHOUT ANY WARRANTY; without even the implied warranty of
25+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+Lesser General Public License for more details.
27+
28+You should have received a copy of the GNU Lesser General Public
29+License along with this library; if not, write to the Free Software
30+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31+
32+-->
33+
34+<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
35+
36+<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
37+<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
38+]>
39+
40+<refentry>
41+
42+ <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
43+
44+ <refmeta>
45+ <refentrytitle>lxc-create</refentrytitle>
46+ <manvolnum>1</manvolnum>
47+ </refmeta>
48+
49+ <refnamediv>
50+ <refname>lxc-create</refname>
51+
52+ <refpurpose>
53+ creates a container
54+ </refpurpose>
55+ </refnamediv>
56+
57+ <refsynopsisdiv>
58+ <cmdsynopsis>
59+ <command>lxc-create <replaceable>-n name</replaceable>
60+ <optional>-f config_file</optional>
61+ <optional>-t template</optional></command>
62+ </cmdsynopsis>
63+ </refsynopsisdiv>
64+
65+ <refsect1>
66+ <title>Description</title>
67+
68+ <para>
69+ <command>lxc-create</command> creates a system object where is
70+ stored the configuration informations and where can be stored
71+ user information. The identifier <replaceable>name</replaceable>
72+ is used to specify the container to be used with the different
73+ lxc commands.
74+ </para>
75+ <para>
76+ The object is a directory created in <filename>@LXCPATH@</filename>
77+ and identified by its name.
78+ </para>
79+
80+ <para>
81+ The object is the definition of the different resources an
82+ application can use or can see. The more the configuration file
83+ contains informations, the more the container is isolated and
84+ the more the application is jailed.
85+ </para>
86+
87+ <para>
88+ If the configuration file <replaceable>config_file</replaceable>
89+ is not specified, the container will be created with the default
90+ isolation: processes, sysv ipc and mount points.
91+ </para>
92+ </refsect1>
93+
94+ <refsect1>
95+ <title>Options</title>
96+ <variablelist>
97+
98+ <varlistentry>
99+ <term>
100+ <option>-f <replaceable>config_file</replaceable></option>
101+ </term>
102+ <listitem>
103+ <para>
104+ Specify the configuration file to configure the virtualization
105+ and isolation functionalities for the container.
106+ </para>
107+ </listitem>
108+ </varlistentry>
109+
110+ <varlistentry>
111+ <term>
112+ <option>-t <replaceable>template</replaceable></option>
113+ </term>
114+ <listitem>
115+ <para>
116+ 'template' is the short name of an existing 'lxc-template'
117+ script that is called by lxc-create,
118+ eg. busybox, debian, fedora, ubuntu or sshd.
119+ Refer to the examples in <filename>@LXCTEMPLATEDIR@</filename>
120+ for details of the expected script structure.
121+ </para>
122+ </listitem>
123+ </varlistentry>
124+
125+ </variablelist>
126+
127+ </refsect1>
128+
129+ <refsect1>
130+ <title>Diagnostic</title>
131+
132+ <variablelist>
133+
134+ <varlistentry>
135+ <term>The container already exists</term>
136+ <listitem>
137+ <para>
138+ As the message mention it, you try to create a container
139+ but there is a container with the same name. You can use
140+ the <command>lxc-ls -l</command> command to list the
141+ available containers on the system.
142+ </para>
143+ </listitem>
144+ </varlistentry>
145+
146+ </variablelist>
147+
148+ </refsect1>
149+
150+ &seealso;
151+
152+ <refsect1>
153+ <title>Author</title>
154+ <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
155+ </refsect1>
156+
157+</refentry>
158+
159+<!-- Keep this comment at the end of the file
160+Local variables:
161+mode: sgml
162+sgml-omittag:t
163+sgml-shorttag:t
164+sgml-minimize-attributes:nil
165+sgml-always-quote-attributes:t
166+sgml-indent-step:2
167+sgml-indent-data:t
168+sgml-parent-document:nil
169+sgml-default-dtd-file:nil
170+sgml-exposed-tags:nil
171+sgml-local-catalogs:nil
172+sgml-local-ecat-files:nil
173+End:
174+-->
175
176=== added file '.pc/0057-update-manpages/doc/lxc-destroy.sgml.in'
177--- .pc/0057-update-manpages/doc/lxc-destroy.sgml.in 1970-01-01 00:00:00 +0000
178+++ .pc/0057-update-manpages/doc/lxc-destroy.sgml.in 2012-03-14 18:33:20 +0000
179@@ -0,0 +1,111 @@
180+<!--
181+
182+lxc: linux Container library
183+
184+(C) Copyright IBM Corp. 2007, 2008
185+
186+Authors:
187+Daniel Lezcano <dlezcano at fr.ibm.com>
188+
189+This library is free software; you can redistribute it and/or
190+modify it under the terms of the GNU Lesser General Public
191+License as published by the Free Software Foundation; either
192+version 2.1 of the License, or (at your option) any later version.
193+
194+This library is distributed in the hope that it will be useful,
195+but WITHOUT ANY WARRANTY; without even the implied warranty of
196+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
197+Lesser General Public License for more details.
198+
199+You should have received a copy of the GNU Lesser General Public
200+License along with this library; if not, write to the Free Software
201+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
202+
203+-->
204+
205+<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
206+
207+<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
208+<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
209+]>
210+
211+<refentry>
212+
213+ <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
214+
215+ <refmeta>
216+ <refentrytitle>lxc-destroy</refentrytitle>
217+ <manvolnum>1</manvolnum>
218+ </refmeta>
219+
220+ <refnamediv>
221+ <refname>lxc-destroy</refname>
222+
223+ <refpurpose>
224+ destroy a container.
225+ </refpurpose>
226+ </refnamediv>
227+
228+ <refsynopsisdiv>
229+ <cmdsynopsis>
230+ <command>lxc-destroy <replaceable>-n
231+ name</replaceable></command>
232+ </cmdsynopsis>
233+ </refsynopsisdiv>
234+
235+ <refsect1>
236+ <title>Description</title>
237+
238+ <para>
239+ <command>lxc-destroy</command> destroys the system object
240+ previously created by the <command>lxc-create</command> command.
241+ </para>
242+
243+ </refsect1>
244+
245+ <refsect1>
246+ <title>Diagnostic</title>
247+
248+ <variablelist>
249+
250+ <varlistentry>
251+ <term>The container was not found</term>
252+ <listitem>
253+ <para>
254+ The specified container for destruction was not found. It
255+ is probable it does not exists and was already
256+ destroyed.You can use the <command>lxc-ls -l</command>
257+ command to list the available containers on the system.
258+ </para>
259+ </listitem>
260+ </varlistentry>
261+
262+ </variablelist>
263+
264+ </refsect1>
265+
266+ &seealso;
267+
268+ <refsect1>
269+ <title>Author</title>
270+ <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
271+ </refsect1>
272+
273+</refentry>
274+
275+<!-- Keep this comment at the end of the file
276+Local variables:
277+mode: sgml
278+sgml-omittag:t
279+sgml-shorttag:t
280+sgml-minimize-attributes:nil
281+sgml-always-quote-attributes:t
282+sgml-indent-step:2
283+sgml-indent-data:t
284+sgml-parent-document:nil
285+sgml-default-dtd-file:nil
286+sgml-exposed-tags:nil
287+sgml-local-catalogs:nil
288+sgml-local-ecat-files:nil
289+End:
290+-->
291
292=== added file '.pc/0057-update-manpages/doc/lxc-start.sgml.in'
293--- .pc/0057-update-manpages/doc/lxc-start.sgml.in 1970-01-01 00:00:00 +0000
294+++ .pc/0057-update-manpages/doc/lxc-start.sgml.in 2012-03-14 18:33:20 +0000
295@@ -0,0 +1,200 @@
296+<!--
297+
298+lxc: linux Container library
299+
300+(C) Copyright IBM Corp. 2007, 2008
301+
302+Authors:
303+Daniel Lezcano <dlezcano at fr.ibm.com>
304+
305+This library is free software; you can redistribute it and/or
306+modify it under the terms of the GNU Lesser General Public
307+License as published by the Free Software Foundation; either
308+version 2.1 of the License, or (at your option) any later version.
309+
310+This library is distributed in the hope that it will be useful,
311+but WITHOUT ANY WARRANTY; without even the implied warranty of
312+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
313+Lesser General Public License for more details.
314+
315+You should have received a copy of the GNU Lesser General Public
316+License along with this library; if not, write to the Free Software
317+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
318+
319+-->
320+
321+<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
322+
323+<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
324+<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
325+]>
326+
327+<refentry>
328+
329+ <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
330+
331+ <refmeta>
332+ <refentrytitle>lxc-start</refentrytitle>
333+ <manvolnum>1</manvolnum>
334+ </refmeta>
335+
336+ <refnamediv>
337+ <refname>lxc-start</refname>
338+
339+ <refpurpose>
340+ run an application inside a container.
341+ </refpurpose>
342+ </refnamediv>
343+
344+ <refsynopsisdiv>
345+ <cmdsynopsis><command>lxc-start <replaceable>-n
346+ name</replaceable> <optional>-f
347+ config_file</optional> <optional>-c
348+ console_file</optional> <optional>-d</optional> <optional>-s
349+ KEY=VAL</optional>
350+ <optional>command</optional></command></cmdsynopsis>
351+ </refsynopsisdiv>
352+
353+ <refsect1>
354+ <title>Description</title>
355+
356+ <para>
357+ <command>lxc-start</command> runs the specified
358+ <replaceable>command</replaceable> inside the container
359+ specified by <replaceable>name</replaceable>.
360+ </para>
361+ <para>
362+ It will setup the container
363+ according to the configuration previously defined with the
364+ lxc-create command or with the configuration file parameter.
365+ If no configuration is
366+ defined, the default isolation is used.
367+ </para>
368+ <para>
369+ The orphan process group
370+ and daemon are not supported by this command, use
371+ the <command>lxc-execute</command> command instead.
372+ </para>
373+ <para>
374+ If no command is specified, <command>lxc-start</command> will
375+ use the default
376+ <command>"/sbin/init"</command> command to run a system
377+ container.
378+ </para>
379+
380+ </refsect1>
381+
382+ <refsect1>
383+
384+ <title>Options</title>
385+
386+ <variablelist>
387+
388+ <varlistentry>
389+ <term>
390+ <option>-d, --daemon</option>
391+ </term>
392+ <listitem>
393+ <para>
394+ Run the container as a daemon. As the container has no
395+ more tty, if an error occurs nothing will be displayed,
396+ the log file can be used to check the error.
397+ </para>
398+ </listitem>
399+ </varlistentry>
400+
401+ <varlistentry>
402+ <term>
403+ <option>-f, --rcfile <replaceable>config_file</replaceable></option>
404+ </term>
405+ <listitem>
406+ <para>
407+ Specify the configuration file to configure the virtualization
408+ and isolation functionalities for the container.
409+ </para>
410+ <para>
411+ This configuration file if present will be used even if there is
412+ already a configuration file present in the previously created
413+ container (via lxc-create).
414+ </para>
415+ </listitem>
416+ </varlistentry>
417+
418+ <varlistentry>
419+ <term>
420+ <option>-c,
421+ --console <replaceable>console_file</replaceable></option>
422+ </term>
423+ <listitem>
424+ <para>
425+ Specify a file to output the container console. If the
426+ option is not specified the output will go the terminal
427+ except if the <option>-d</option> is specified.
428+ </para>
429+ </listitem>
430+ </varlistentry>
431+
432+ <varlistentry>
433+ <term>
434+ <option>-s, --define <replaceable>KEY=VAL</replaceable></option>
435+ </term>
436+ <listitem>
437+ <para>
438+ Assign value <replaceable>VAL</replaceable> to configuration
439+ variable <replaceable>KEY</replaceable>. This overrides any
440+ assignment done in <replaceable>config_file</replaceable>.
441+ </para>
442+ </listitem>
443+ </varlistentry>
444+
445+ </variablelist>
446+
447+ </refsect1>
448+
449+ &commonoptions;
450+
451+ <refsect1>
452+ <title>Diagnostic</title>
453+
454+ <variablelist>
455+
456+ <varlistentry>
457+ <term>The container is busy</term>
458+ <listitem>
459+ <para>
460+ The specified container is already running an
461+ application. You should stop it before reuse this
462+ container or create a new one.
463+ </para>
464+ </listitem>
465+ </varlistentry>
466+
467+ </variablelist>
468+
469+ </refsect1>
470+
471+ &seealso;
472+
473+ <refsect1>
474+ <title>Author</title>
475+ <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
476+ </refsect1>
477+
478+</refentry>
479+
480+<!-- Keep this comment at the end of the file
481+Local variables:
482+mode: sgml
483+sgml-omittag:t
484+sgml-shorttag:t
485+sgml-minimize-attributes:nil
486+sgml-always-quote-attributes:t
487+sgml-indent-step:2
488+sgml-indent-data:t
489+sgml-parent-document:nil
490+sgml-default-dtd-file:nil
491+sgml-exposed-tags:nil
492+sgml-local-catalogs:nil
493+sgml-local-ecat-files:nil
494+End:
495+-->
496
497=== added file '.pc/0057-update-manpages/doc/lxc.conf.sgml.in'
498--- .pc/0057-update-manpages/doc/lxc.conf.sgml.in 1970-01-01 00:00:00 +0000
499+++ .pc/0057-update-manpages/doc/lxc.conf.sgml.in 2012-03-14 18:33:20 +0000
500@@ -0,0 +1,700 @@
501+<!--
502+
503+lxc: linux Container library
504+
505+(C) Copyright IBM Corp. 2007, 2008
506+
507+Authors:
508+Daniel Lezcano <dlezcano at fr.ibm.com>
509+
510+This library is free software; you can redistribute it and/or
511+modify it under the terms of the GNU Lesser General Public
512+License as published by the Free Software Foundation; either
513+version 2.1 of the License, or (at your option) any later version.
514+
515+This library is distributed in the hope that it will be useful,
516+but WITHOUT ANY WARRANTY; without even the implied warranty of
517+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
518+Lesser General Public License for more details.
519+
520+You should have received a copy of the GNU Lesser General Public
521+License along with this library; if not, write to the Free Software
522+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
523+
524+-->
525+
526+<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
527+
528+<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
529+]>
530+
531+<refentry>
532+
533+ <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
534+
535+ <refmeta>
536+ <refentrytitle>lxc.conf</refentrytitle>
537+ <manvolnum>5</manvolnum>
538+ </refmeta>
539+
540+ <refnamediv>
541+ <refname>lxc.conf</refname>
542+
543+ <refpurpose>
544+ linux container configuration file
545+ </refpurpose>
546+ </refnamediv>
547+
548+ <refsect1>
549+ <title>Description</title>
550+
551+ <para>
552+ The linux containers (<command>lxc</command>) are always created
553+ before being used. This creation defines a set of system
554+ resources to be virtualized / isolated when a process is using
555+ the container. By default, the pids, sysv ipc and mount points
556+ are virtualized and isolated. The other system resources are
557+ shared across containers, until they are explicitly defined in
558+ the configuration file. For example, if there is no network
559+ configuration, the network will be shared between the creator of
560+ the container and the container itself, but if the network is
561+ specified, a new network stack is created for the container and
562+ the container can no longer use the network of its ancestor.
563+ </para>
564+
565+ <para>
566+ The configuration file defines the different system resources to
567+ be assigned for the container. At present, the utsname, the
568+ network, the mount points, the root file system and the control
569+ groups are supported.
570+ </para>
571+
572+ <para>
573+ Each option in the configuration file has the form <command>key
574+ = value</command> fitting in one line. The '#' character means
575+ the line is a comment.
576+ </para>
577+
578+ <refsect2>
579+ <title>Architecture</title>
580+ <para>
581+ Allows to set the architecture for the container. For example,
582+ set a 32bits architecture for a container running 32bits
583+ binaries on a 64bits host. That fix the container scripts
584+ which rely on the architecture to do some work like
585+ downloading the packages.
586+ </para>
587+
588+ <variablelist>
589+ <varlistentry>
590+ <term>
591+ <option>lxc.arch</option>
592+ </term>
593+ <listitem>
594+ <para>
595+ Specify the architecture for the container.
596+ </para>
597+ <para>
598+ Valid options are
599+ <option>x86</option>,
600+ <option>i686</option>,
601+ <option>x86_64</option>,
602+ <option>amd64</option>
603+ </para>
604+ </listitem>
605+ </varlistentry>
606+ </variablelist>
607+
608+ </refsect2>
609+
610+ <refsect2>
611+ <title>Hostname</title>
612+ <para>
613+ The utsname section defines the hostname to be set for the
614+ container. That means the container can set its own hostname
615+ without changing the one from the system. That makes the
616+ hostname private for the container.
617+ </para>
618+ <variablelist>
619+ <varlistentry>
620+ <term>
621+ <option>lxc.utsname</option>
622+ </term>
623+ <listitem>
624+ <para>
625+ specify the hostname for the container
626+ </para>
627+ </listitem>
628+ </varlistentry>
629+ </variablelist>
630+ </refsect2>
631+
632+ <refsect2>
633+ <title>Network</title>
634+ <para>
635+ The network section defines how the network is virtualized in
636+ the container. The network virtualization acts at layer
637+ two. In order to use the network virtualization, parameters
638+ must be specified to define the network interfaces of the
639+ container. Several virtual interfaces can be assigned and used
640+ in a container even if the system has only one physical
641+ network interface.
642+ </para>
643+ <variablelist>
644+ <varlistentry>
645+ <term>
646+ <option>lxc.network.type</option>
647+ </term>
648+ <listitem>
649+ <para>
650+ specify what kind of network virtualization to be used
651+ for the container. Each time
652+ a <option>lxc.network.type</option> field is found a new
653+ round of network configuration begins. In this way,
654+ several network virtualization types can be specified
655+ for the same container, as well as assigning several
656+ network interfaces for one container. The different
657+ virtualization types can be:
658+ </para>
659+
660+ <para>
661+ <option>empty:</option> will create only the loopback
662+ interface.
663+ </para>
664+
665+ <para>
666+ <option>veth:</option> a peer network device is created
667+ with one side assigned to the container and the other
668+ side is attached to a bridge specified by
669+ the <option>lxc.network.link</option>. If the bridge is
670+ not specified, then the veth pair device will be created
671+ but not attached to any bridge. Otherwise, the bridge
672+ has to be setup before on the
673+ system, <command>lxc</command> won't handle any
674+ configuration outside of the container. By
675+ default <command>lxc</command> choose a name for the
676+ network device belonging to the outside of the
677+ container, this name is handled
678+ by <command>lxc</command>, but if you wish to handle
679+ this name yourself, you can tell <command>lxc</command>
680+ to set a specific name with
681+ the <option>lxc.network.veth.pair</option> option.
682+ </para>
683+
684+ <para>
685+ <option>vlan:</option> a vlan interface is linked with
686+ the interface specified by
687+ the <option>lxc.network.link</option> and assigned to
688+ the container. The vlan identifier is specified with the
689+ option <option>lxc.network.vlan.id</option>.
690+ </para>
691+
692+ <para>
693+ <option>macvlan:</option> a macvlan interface is linked
694+ with the interface specified by
695+ the <option>lxc.network.link</option> and assigned to
696+ the container.
697+ <option>lxc.network.macvlan.mode</option> specifies the
698+ mode the macvlan will use to communicate between
699+ different macvlan on the same upper device. The accepted
700+ modes are <option>private</option>, the device never
701+ communicates with any other device on the same upper_dev (default),
702+ <option>vepa</option>, the new Virtual Ethernet Port
703+ Aggregator (VEPA) mode, it assumes that the adjacent
704+ bridge returns all frames where both source and
705+ destination are local to the macvlan port, i.e. the
706+ bridge is set up as a reflective relay. Broadcast
707+ frames coming in from the upper_dev get flooded to all
708+ macvlan interfaces in VEPA mode, local frames are not
709+ delivered locallay, or <option>bridge</option>, it
710+ provides the behavior of a simple bridge between
711+ different macvlan interfaces on the same port. Frames
712+ from one interface to another one get delivered directly
713+ and are not sent out externally. Broadcast frames get
714+ flooded to all other bridge ports and to the external
715+ interface, but when they come back from a reflective
716+ relay, we don't deliver them again. Since we know all
717+ the MAC addresses, the macvlan bridge mode does not
718+ require learning or STP like the bridge module does.
719+ </para>
720+
721+ <para>
722+ <option>phys:</option> an already existing interface
723+ specified by the <option>lxc.network.link</option> is
724+ assigned to the container.
725+ </para>
726+ </listitem>
727+ </varlistentry>
728+
729+ <varlistentry>
730+ <term>
731+ <option>lxc.network.flags</option>
732+ </term>
733+ <listitem>
734+ <para>
735+ specify an action to do for the
736+ network.
737+ </para>
738+
739+ <para><option>up:</option> activates the interface.
740+ </para>
741+ </listitem>
742+ </varlistentry>
743+
744+ <varlistentry>
745+ <term>
746+ <option>lxc.network.link</option>
747+ </term>
748+ <listitem>
749+ <para>
750+ specify the interface to be used for real network
751+ traffic.
752+ </para>
753+ </listitem>
754+ </varlistentry>
755+
756+ <varlistentry>
757+ <term>
758+ <option>lxc.network.name</option>
759+ </term>
760+ <listitem>
761+ <para>
762+ the interface name is dynamically allocated, but if
763+ another name is needed because the configuration files
764+ being used by the container use a generic name,
765+ eg. eth0, this option will rename the interface in the
766+ container.
767+ </para>
768+ </listitem>
769+ </varlistentry>
770+
771+ <varlistentry>
772+ <term>
773+ <option>lxc.network.hwaddr</option>
774+ </term>
775+ <listitem>
776+ <para>
777+ the interface mac address is dynamically allocated by
778+ default to the virtual interface, but in some cases,
779+ this is needed to resolve a mac address conflict or to
780+ always have the same link-local ipv6 address
781+ </para>
782+ </listitem>
783+ </varlistentry>
784+
785+ <varlistentry>
786+ <term>
787+ <option>lxc.network.ipv4</option>
788+ </term>
789+ <listitem>
790+ <para>
791+ specify the ipv4 address to assign to the virtualized
792+ interface. Several lines specify several ipv4 addresses.
793+ The address is in format x.y.z.t/m,
794+ eg. 192.168.1.123/24. The broadcast address should be
795+ specified on the same line, right after the ipv4
796+ address.
797+ </para>
798+ </listitem>
799+ </varlistentry>
800+
801+ <varlistentry>
802+ <term>
803+ <option>lxc.network.ipv6</option>
804+ </term>
805+ <listitem>
806+ <para>
807+ specify the ipv6 address to assign to the virtualized
808+ interface. Several lines specify several ipv6 addresses.
809+ The address is in format x::y/m,
810+ eg. 2003:db8:1:0:214:1234:fe0b:3596/64
811+ </para>
812+ </listitem>
813+ </varlistentry>
814+
815+ <varlistentry>
816+ <term>
817+ <option>lxc.network.script.up</option>
818+ </term>
819+ <listitem>
820+ <para>
821+ add a configuration option to specify a script to be
822+ executed after creating and configuring the network used
823+ from the host side. The following arguments are passed
824+ to the script: container name and config section name
825+ (net) Additional arguments depend on the config section
826+ employing a script hook; the following are used by the
827+ network system: execution context (up), network type
828+ (empty/veth/macvlan/phys), Depending on the network
829+ type, other arguments may be passed:
830+ veth/macvlan/phys. And finally (host-sided) device name.
831+ </para>
832+ </listitem>
833+ </varlistentry>
834+ </variablelist>
835+ </refsect2>
836+
837+ <refsect2>
838+ <title>New pseudo tty instance (devpts)</title>
839+ <para>
840+ For stricter isolation the container can have its own private
841+ instance of the pseudo tty.
842+ </para>
843+ <variablelist>
844+ <varlistentry>
845+ <term>
846+ <option>lxc.pts</option>
847+ </term>
848+ <listitem>
849+ <para>
850+ If set, the container will have a new pseudo tty
851+ instance, making this private to it. The value specifies
852+ the maximum number of pseudo ttys allowed for a pts
853+ instance (this limitation is not implemented yet).
854+ </para>
855+ </listitem>
856+ </varlistentry>
857+ </variablelist>
858+ </refsect2>
859+
860+ <refsect2>
861+ <title>Container system console</title>
862+ <para>
863+ If the container is configured with a root filesystem and the
864+ inittab file is setup to use the console, you may want to specify
865+ where goes the output of this console.
866+ </para>
867+ <variablelist>
868+ <varlistentry>
869+ <term>
870+ <option>lxc.console</option>
871+ </term>
872+ <listitem>
873+ <para>
874+ Specify a path to a file where the console output will
875+ be written. The keyword 'none' will simply disable the
876+ console. This is dangerous once if have a rootfs with a
877+ console device file where the application can write, the
878+ messages will fall in the host.
879+ </para>
880+ </listitem>
881+ </varlistentry>
882+ </variablelist>
883+ </refsect2>
884+
885+ <refsect2>
886+ <title>Console through the ttys</title>
887+ <para>
888+ If the container is configured with a root filesystem and the
889+ inittab file is setup to launch a getty on the ttys. This
890+ option will specify the number of ttys to be available for the
891+ container. The number of getty in the inittab file of the
892+ container should not be greater than the number of ttys
893+ specified in this configuration file, otherwise the excess
894+ getty sessions will die and respawn indefinitly giving
895+ annoying messages on the console.
896+ </para>
897+ <variablelist>
898+ <varlistentry>
899+ <term>
900+ <option>lxc.tty</option>
901+ </term>
902+ <listitem>
903+ <para>
904+ Specify the number of tty to make available to the
905+ container.
906+ </para>
907+ </listitem>
908+ </varlistentry>
909+ </variablelist>
910+ </refsect2>
911+
912+ <refsect2>
913+ <title>Mount points</title>
914+ <para>
915+ The mount points section specifies the different places to be
916+ mounted. These mount points will be private to the container
917+ and won't be visible by the processes running outside of the
918+ container. This is useful to mount /etc, /var or /home for
919+ examples.
920+ </para>
921+ <variablelist>
922+ <varlistentry>
923+ <term>
924+ <option>lxc.mount</option>
925+ </term>
926+ <listitem>
927+ <para>
928+ specify a file location in
929+ the <filename>fstab</filename> format, containing the
930+ mount informations. If the rootfs is an image file or a
931+ device block and the fstab is used to mount a point
932+ somewhere in this rootfs, the path of the rootfs mount
933+ point should be prefixed with the
934+ <filename>@LXCROOTFSMOUNT@</filename> default path or
935+ the value of <option>lxc.rootfs.mount</option> if
936+ specified.
937+ </para>
938+ </listitem>
939+ </varlistentry>
940+
941+ <varlistentry>
942+ <term>
943+ <option>lxc.mount.entry</option>
944+ </term>
945+ <listitem>
946+ <para>
947+ specify a mount point corresponding to a line in the
948+ fstab format.
949+ </para>
950+ </listitem>
951+ </varlistentry>
952+
953+ </variablelist>
954+ </refsect2>
955+
956+ <refsect2>
957+ <title>Root file system</title>
958+ <para>
959+ The root file system of the container can be different than that
960+ of the host system.
961+ </para>
962+ <variablelist>
963+ <varlistentry>
964+ <term>
965+ <option>lxc.rootfs</option>
966+ </term>
967+ <listitem>
968+ <para>
969+ specify the root file system for the container. It can
970+ be an image file, a directory or a block device. If not
971+ specified, the container shares its root file system
972+ with the host.
973+ </para>
974+ </listitem>
975+ </varlistentry>
976+
977+ <varlistentry>
978+ <term>
979+ <option>lxc.rootfs.mount</option>
980+ </term>
981+ <listitem>
982+ <para>
983+ where to recursively bind <option>lxc.rootfs</option>
984+ before pivoting. This is to ensure success of the
985+ <citerefentry>
986+ <refentrytitle><command>pivot_root</command></refentrytitle>
987+ <manvolnum>8</manvolnum>
988+ </citerefentry>
989+ syscall. Any directory suffices, the default should
990+ generally work.
991+ </para>
992+ </listitem>
993+ </varlistentry>
994+
995+ <varlistentry>
996+ <term>
997+ <option>lxc.pivotdir</option>
998+ </term>
999+ <listitem>
1000+ <para>
1001+ where to pivot the original root file system under
1002+ <option>lxc.rootfs</option>, specified relatively to
1003+ that. The default is <filename>mnt</filename>.
1004+ It is created if necessary, and also removed after
1005+ unmounting everything from it during container setup.
1006+ </para>
1007+ </listitem>
1008+ </varlistentry>
1009+ </variablelist>
1010+ </refsect2>
1011+
1012+ <refsect2>
1013+ <title>Control group</title>
1014+ <para>
1015+ The control group section contains the configuration for the
1016+ different subsystem. <command>lxc</command> does not check the
1017+ correctness of the subsystem name. This has the disadvantage
1018+ of not detecting configuration errors until the container is
1019+ started, but has the advantage of permitting any future
1020+ subsystem.
1021+ </para>
1022+ <variablelist>
1023+ <varlistentry>
1024+ <term>
1025+ <option>lxc.cgroup.[subsystem name]</option>
1026+ </term>
1027+ <listitem>
1028+ <para>
1029+ specify the control group value to be set. The
1030+ subsystem name is the literal name of the control group
1031+ subsystem. The permitted names and the syntax of their
1032+ values is not dictated by LXC, instead it depends on the
1033+ features of the Linux kernel running at the time the
1034+ container is started,
1035+ eg. <option>lxc.cgroup.cpuset.cpus</option>
1036+ </para>
1037+ </listitem>
1038+ </varlistentry>
1039+ </variablelist>
1040+ </refsect2>
1041+
1042+ <refsect2>
1043+ <title>Capabilities</title>
1044+ <para>
1045+ The capabilities can be dropped in the container if this one
1046+ is run as root.
1047+ </para>
1048+ <variablelist>
1049+ <varlistentry>
1050+ <term>
1051+ <option>lxc.cap.drop</option>
1052+ </term>
1053+ <listitem>
1054+ <para>
1055+ Specify the capability to be dropped in the container. A
1056+ single line defining several capabilities with a space
1057+ separation is allowed. The format is the lower case of
1058+ the capability definition without the "CAP_" prefix,
1059+ eg. CAP_SYS_MODULE should be specified as
1060+ sys_module. See
1061+ <citerefentry>
1062+ <refentrytitle><command>capabilities</command></refentrytitle>
1063+ <manvolnum>7</manvolnum>
1064+ </citerefentry>,
1065+ </para>
1066+ </listitem>
1067+ </varlistentry>
1068+ </variablelist>
1069+ </refsect2>
1070+
1071+ </refsect1>
1072+
1073+ <refsect1>
1074+ <title>Examples</title>
1075+ <para>
1076+ In addition to the few examples given below, you will find
1077+ some other examples of configuration file in @DOCDIR@/examples
1078+ </para>
1079+ <refsect2>
1080+ <title>Network</title>
1081+ <para>This configuration sets up a container to use a veth pair
1082+ device with one side plugged to a bridge br0 (which has been
1083+ configured before on the system by the administrator). The
1084+ virtual network device visible in the container is renamed to
1085+ eth0.</para>
1086+ <programlisting>
1087+ lxc.utsname = myhostname
1088+ lxc.network.type = veth
1089+ lxc.network.flags = up
1090+ lxc.network.link = br0
1091+ lxc.network.name = eth0
1092+ lxc.network.hwaddr = 4a:49:43:49:79:bf
1093+ lxc.network.ipv4 = 10.2.3.5/24 10.2.3.255
1094+ lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3597
1095+ </programlisting>
1096+ </refsect2>
1097+
1098+ <refsect2>
1099+ <title>Control group</title>
1100+ <para>This configuration will setup several control groups for
1101+ the application, cpuset.cpus restricts usage of the defined cpu,
1102+ cpus.share prioritize the control group, devices.allow makes
1103+ usable the specified devices.</para>
1104+ <programlisting>
1105+ lxc.cgroup.cpuset.cpus = 0,1
1106+ lxc.cgroup.cpu.shares = 1234
1107+ lxc.cgroup.devices.deny = a
1108+ lxc.cgroup.devices.allow = c 1:3 rw
1109+ lxc.cgroup.devices.allow = b 8:0 rw
1110+ </programlisting>
1111+ </refsect2>
1112+
1113+ <refsect2>
1114+ <title>Complex configuration</title>
1115+ <para>This example show a complex configuration making a complex
1116+ network stack, using the control groups, setting a new hostname,
1117+ mounting some locations and a changing root file system.</para>
1118+ <programlisting>
1119+ lxc.utsname = complex
1120+ lxc.network.type = veth
1121+ lxc.network.flags = up
1122+ lxc.network.link = br0
1123+ lxc.network.hwaddr = 4a:49:43:49:79:bf
1124+ lxc.network.ipv4 = 10.2.3.5/24 10.2.3.255
1125+ lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3597
1126+ lxc.network.ipv6 = 2003:db8:1:0:214:5432:feab:3588
1127+ lxc.network.type = macvlan
1128+ lxc.network.flags = up
1129+ lxc.network.link = eth0
1130+ lxc.network.hwaddr = 4a:49:43:49:79:bd
1131+ lxc.network.ipv4 = 10.2.3.4/24
1132+ lxc.network.ipv4 = 192.168.10.125/24
1133+ lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
1134+ lxc.network.type = phys
1135+ lxc.network.flags = up
1136+ lxc.network.link = dummy0
1137+ lxc.network.hwaddr = 4a:49:43:49:79:ff
1138+ lxc.network.ipv4 = 10.2.3.6/24
1139+ lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3297
1140+ lxc.cgroup.cpuset.cpus = 0,1
1141+ lxc.cgroup.cpu.shares = 1234
1142+ lxc.cgroup.devices.deny = a
1143+ lxc.cgroup.devices.allow = c 1:3 rw
1144+ lxc.cgroup.devices.allow = b 8:0 rw
1145+ lxc.mount = /etc/fstab.complex
1146+ lxc.mount.entry = /lib /root/myrootfs/lib none ro,bind 0 0
1147+ lxc.rootfs = /mnt/rootfs.complex
1148+ lxc.cap.drop = sys_module mknod setuid net_raw
1149+ lxc.cap.drop = mac_override
1150+ </programlisting>
1151+ </refsect2>
1152+
1153+ </refsect1>
1154+
1155+ <refsect1>
1156+ <title>See Also</title>
1157+ <simpara>
1158+ <citerefentry>
1159+ <refentrytitle><command>chroot</command></refentrytitle>
1160+ <manvolnum>1</manvolnum>
1161+ </citerefentry>,
1162+
1163+ <citerefentry>
1164+ <refentrytitle><command>pivot_root</command></refentrytitle>
1165+ <manvolnum>8</manvolnum>
1166+ </citerefentry>,
1167+
1168+ <citerefentry>
1169+ <refentrytitle><filename>fstab</filename></refentrytitle>
1170+ <manvolnum>5</manvolnum>
1171+ </citerefentry>
1172+
1173+ </simpara>
1174+ </refsect1>
1175+
1176+ &seealso;
1177+
1178+ <refsect1>
1179+ <title>Author</title>
1180+ <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
1181+ </refsect1>
1182+
1183+</refentry>
1184+
1185+<!-- Keep this comment at the end of the file
1186+Local variables:
1187+mode: sgml
1188+sgml-omittag:t
1189+sgml-shorttag:t
1190+sgml-minimize-attributes:nil
1191+sgml-always-quote-attributes:t
1192+sgml-indent-step:2
1193+sgml-indent-data:t
1194+sgml-parent-document:nil
1195+sgml-default-dtd-file:nil
1196+sgml-exposed-tags:nil
1197+sgml-local-catalogs:nil
1198+sgml-local-ecat-files:nil
1199+End:
1200+-->
1201
1202=== added file 'debian/patches/0057-update-manpages'
1203--- debian/patches/0057-update-manpages 1970-01-01 00:00:00 +0000
1204+++ debian/patches/0057-update-manpages 2012-03-14 18:33:20 +0000
1205@@ -0,0 +1,194 @@
1206+From c774908818f8ab22175edf9015c3396a222c3fa8 Mon Sep 17 00:00:00 2001
1207+From: Ubuntu <ubuntu@server-6571.canonistack>
1208+Date: Wed, 14 Mar 2012 02:30:41 +0000
1209+Subject: [PATCH] Update manpages to reflect some updated options.
1210+
1211+Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
1212+---
1213+ doc/lxc-create.sgml.in | 45 ++++++++++++++++++++++++++++++++++++++++++++-
1214+ doc/lxc-destroy.sgml.in | 25 ++++++++++++++++++++++++-
1215+ doc/lxc-start.sgml.in | 17 ++++++++++++++++-
1216+ doc/lxc.conf.sgml.in | 29 +++++++++++++++++++++++++++++
1217+ 4 files changed, 113 insertions(+), 3 deletions(-)
1218+
1219+Index: lxc/doc/lxc-create.sgml.in
1220+===================================================================
1221+--- lxc.orig/doc/lxc-create.sgml.in 2012-03-14 10:32:06.659876000 -0500
1222++++ lxc/doc/lxc-create.sgml.in 2012-03-14 10:46:38.562522470 -0500
1223+@@ -50,7 +50,10 @@
1224+ <cmdsynopsis>
1225+ <command>lxc-create <replaceable>-n name</replaceable>
1226+ <optional>-f config_file</optional>
1227+- <optional>-t template</optional></command>
1228++ <optional>-t template</optional>
1229++ <optional>-B backingstore</optional>
1230++ <optional>-- template-options</optional>
1231++ </command>
1232+ </cmdsynopsis>
1233+ </refsynopsisdiv>
1234+
1235+@@ -114,6 +117,46 @@
1236+ </listitem>
1237+ </varlistentry>
1238+
1239++ <varlistentry>
1240++ <term>
1241++ <option>-B <replaceable>backingstore</replaceable></option>
1242++ </term>
1243++ <listitem>
1244++ <para>
1245++ 'backingstore' is one of 'none', 'lvm', or 'btrfs'. The
1246++ default is 'none', meaning that the container root filesystem
1247++ will be a directory under <filename>@LXCPATH@/container/rootfs</filename>.
1248++ The option 'btrfs' need not be specified as it will be used
1249++ automatically if the <filename>@LXCPATH@</filename> filesystem is found to
1250++ be btrfs. If backingstore is 'lvm', then an lvm block device will be
1251++ used and the following further options are available:
1252++ <replaceable>--lvname lvname1</replaceable> will create an LV
1253++ named <filename>lvname1</filename> rather than the default, which
1254++ is the container name. <replaceable>--vgname vgname1</replaceable>
1255++ will create the LV in volume group <filename>vgname1</filename>
1256++ rather than the default, <filename>lxc</filename>.
1257++ <replaceable>--fstype FSTYPE</replaceable> will create an FSTYPE
1258++ filesystem on the LV, rather than the default, which is ext4.
1259++ <replaceable>--fssize SIZE</replaceable> will create a LV (and
1260++ filesystem) of size SIZE rather than the default, which is 1G.
1261++ </para>
1262++ </listitem>
1263++
1264++ <varlistentry>
1265++ <term>
1266++ <option>-- <replaceable>template-options</replaceable></option>
1267++ </term>
1268++ <listitem>
1269++ <para>
1270++ This will pass <replaceable>template-options</replaceable> to the
1271++ template as arguments. To see the list of options supported by
1272++ the template, you can run
1273++ <command>lxc-create -t TEMPLATE -h</command>.
1274++ </para>
1275++ </listitem>
1276++ </varlistentry>
1277++ </varlistentry>
1278++
1279+ </variablelist>
1280+
1281+ </refsect1>
1282+Index: lxc/doc/lxc-destroy.sgml.in
1283+===================================================================
1284+--- lxc.orig/doc/lxc-destroy.sgml.in 2012-03-14 10:32:06.659876000 -0500
1285++++ lxc/doc/lxc-destroy.sgml.in 2012-03-14 10:46:38.562522470 -0500
1286+@@ -49,7 +49,9 @@
1287+ <refsynopsisdiv>
1288+ <cmdsynopsis>
1289+ <command>lxc-destroy <replaceable>-n
1290+- name</replaceable></command>
1291++ name</replaceable>
1292++ <optional>-f</optional>
1293++ </command>
1294+ </cmdsynopsis>
1295+ </refsynopsisdiv>
1296+
1297+@@ -63,6 +65,27 @@
1298+
1299+ </refsect1>
1300+
1301++ <refsect1>
1302++
1303++ <title>Options</title>
1304++
1305++ <variablelist>
1306++ <varlistentry>
1307++ <term>
1308++ <option>-f</option>
1309++ </term>
1310++ <listitem>
1311++ <para>
1312++ If a container is running, stop it first. If this option is
1313++ not specified and the container is running, then
1314++ <command>lxc-destroy</command> will be aborted.
1315++ </para>
1316++ </listitem>
1317++ </varlistentry>
1318++ </variablelist>
1319++
1320++ </refsect1>
1321++
1322+ <refsect1>
1323+ <title>Diagnostic</title>
1324+
1325+Index: lxc/doc/lxc-start.sgml.in
1326+===================================================================
1327+--- lxc.orig/doc/lxc-start.sgml.in 2012-03-14 10:32:06.659876000 -0500
1328++++ lxc/doc/lxc-start.sgml.in 2012-03-14 10:46:38.562522470 -0500
1329+@@ -51,7 +51,7 @@
1330+ name</replaceable> <optional>-f
1331+ config_file</optional> <optional>-c
1332+ console_file</optional> <optional>-d</optional> <optional>-s
1333+- KEY=VAL</optional>
1334++ KEY=VAL</optional> <optional>-C</optional>
1335+ <optional>command</optional></command></cmdsynopsis>
1336+ </refsynopsisdiv>
1337+
1338+@@ -146,6 +146,21 @@
1339+ </para>
1340+ </listitem>
1341+ </varlistentry>
1342++
1343++ <varlistentry>
1344++ <term>
1345++ <option>-C,
1346++ --close-all-fds</option>
1347++ </term>
1348++ <listitem>
1349++ <para>
1350++ If any file descriptors are inherited, close them. If this option
1351++ is not specified, then <command>lxc-start</command> will exit with
1352++ failure instead. Note: <replaceable>--daemon</replaceable> implies
1353++ <replaceable>--close-all-fds</replaceable>.
1354++ </para>
1355++ </listitem>
1356++ </varlistentry>
1357+
1358+ </variablelist>
1359+
1360+Index: lxc/doc/lxc.conf.sgml.in
1361+===================================================================
1362+--- lxc.orig/doc/lxc.conf.sgml.in 2012-03-14 10:32:06.659876000 -0500
1363++++ lxc/doc/lxc.conf.sgml.in 2012-03-14 10:46:38.562522470 -0500
1364+@@ -410,6 +410,35 @@
1365+ </refsect2>
1366+
1367+ <refsect2>
1368++ <title>Console devices location</title>
1369++ <para>
1370++ LXC consoles are provided through Unix98 PTYs created on the
1371++ host and bind-mounted over the expected devices in the container.
1372++ By default, they are bind-mounted over <filename>/dev/console</filename>
1373++ and <filename>/dev/ttyN</filename>. This can prevent package upgrades
1374++ in the guest. Therefore you can specify a directory location (under
1375++ <filename>/dev</filename> under which LXC will create the files and
1376++ bind-mount over them. These will then be symbolically linked to
1377++ <filename>/dev/console</filename> and <filename>/dev/ttyN</filename>.
1378++ A package upgrade can then succeed as it is able to remove and replace
1379++ the symbolic links.
1380++ </para>
1381++ <variablelist>
1382++ <varlistentry>
1383++ <term>
1384++ <option>lxc.devttydir</option>
1385++ </term>
1386++ <listitem>
1387++ <para>
1388++ Specify a directory under <filename>/dev</filename>
1389++ under which to create the container console devices.
1390++ </para>
1391++ </listitem>
1392++ </varlistentry>
1393++ </variablelist>
1394++ </refsect2>
1395++
1396++ <refsect2>
1397+ <title>Mount points</title>
1398+ <para>
1399+ The mount points section specifies the different places to be
1400
1401=== renamed file 'debian/patches/0057-update-manpages' => 'debian/patches/0057-update-manpages.moved'

Subscribers

People subscribed via source and target branches

to all changes: