1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY bubblewrap-download-http "https://github.com/projectatomic/bubblewrap/releases/download/v&bubblewrap-version;/bubblewrap-&bubblewrap-version;.tar.xz">
|
---|
8 | <!ENTITY bubblewrap-download-ftp " ">
|
---|
9 | <!ENTITY bubblewrap-md5sum "a1b802c8381527bf6acbeed7e5ceac3a">
|
---|
10 | <!ENTITY bubblewrap-size "136 KB">
|
---|
11 | <!ENTITY bubblewrap-buildsize "2.2 MB">
|
---|
12 | <!ENTITY bubblewrap-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="bubblewrap" xreflabel="bubblewrap-&bubblewrap-version;">
|
---|
16 | <?dbhtml filename="bubblewrap.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>Bubblewrap-&bubblewrap-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="bubblewrap">
|
---|
25 | <primary sortas="a-bubblewrap">bubblewrap</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to Bubblewrap</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | <application>Bubblewrap</application> is a setuid implementation of user
|
---|
33 | namespaces, or sandboxing, that provides access to a subset of kernel
|
---|
34 | user namespace features. Bubblewrap allows user owned processes to run in
|
---|
35 | an isolated environment with limited access to the underlying filesystem.
|
---|
36 | <!-- Thanks for the reword DJ -->
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs110a_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&bubblewrap-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&bubblewrap-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &bubblewrap-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &bubblewrap-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &bubblewrap-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &bubblewrap-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">Bubblewrap Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Optional (to generate manual pages)</bridgehead>
|
---|
78 | <para role="optional">
|
---|
79 | <xref linkend="libxslt"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <para condition="html" role="usernotes">
|
---|
83 | User Notes: <ulink url="&blfs-wiki;/bubblewrap"/>
|
---|
84 | </para>
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <!-- NOTE: There is a possiblity of kernel configuration being required (see Xi's comment in #11090).
|
---|
88 | So far, I have not observed this, but that doesn't mean that it still might not be needed in practice. -->
|
---|
89 |
|
---|
90 | <sect2 role="installation">
|
---|
91 | <title>Installation of Bubblewrap</title>
|
---|
92 |
|
---|
93 | <para>
|
---|
94 | Install <application>Bubblewrap</application> by running the following
|
---|
95 | commands:
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <screen><userinput>./configure --prefix=/usr &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | Next, if you desire to run the test suite, fix an issue caused by the
|
---|
103 | merged-/usr configuration in LFS:
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <screen><userinput remap="pre">sed 's@symlink usr/lib64@ro-bind-try /lib64@' -i tests/libtest.sh</userinput></screen>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | To test the results, issue: <command>make check</command>
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="content">
|
---|
120 | <title>Contents</title>
|
---|
121 |
|
---|
122 | <segmentedlist>
|
---|
123 | <segtitle>Installed Program</segtitle>
|
---|
124 | <segtitle>Installed Libraries</segtitle>
|
---|
125 | <segtitle>Installed Directories</segtitle>
|
---|
126 |
|
---|
127 | <seglistitem>
|
---|
128 | <seg>
|
---|
129 | bwrap
|
---|
130 | </seg>
|
---|
131 | <seg>
|
---|
132 | None
|
---|
133 | </seg>
|
---|
134 | <seg>
|
---|
135 | None
|
---|
136 | </seg>
|
---|
137 | </seglistitem>
|
---|
138 | </segmentedlist>
|
---|
139 |
|
---|
140 | <variablelist>
|
---|
141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
142 | <?dbfo list-presentation="list"?>
|
---|
143 | <?dbhtml list-presentation="table"?>
|
---|
144 |
|
---|
145 | <varlistentry id="bwrap">
|
---|
146 | <term><command>bwrap</command></term>
|
---|
147 | <listitem>
|
---|
148 | <para>
|
---|
149 | generates a sandbox for a program to run in
|
---|
150 | </para>
|
---|
151 | <indexterm zone="bubblewrap bwrap">
|
---|
152 | <primary sortas="b-bwrap">bwrap</primary>
|
---|
153 | </indexterm>
|
---|
154 | </listitem>
|
---|
155 | </varlistentry>
|
---|
156 | </variablelist>
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | </sect1>
|
---|