source: general/sysutils/bubblewrap.xml@ 1a7ca39c

lazarus trunk
Last change on this file since 1a7ca39c was 6df435ba, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Update to bubblewrap-0.9.0.

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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/containers/bubblewrap/releases/download/v&bubblewrap-version;/bubblewrap-&bubblewrap-version;.tar.xz">
8 <!ENTITY bubblewrap-download-ftp " ">
9 <!ENTITY bubblewrap-md5sum "adcbd7c08ac068a9328ec93cd83716e5">
10 <!ENTITY bubblewrap-size "120 KB">
11 <!ENTITY bubblewrap-buildsize "3.3 MB (with tests)">
12 <!ENTITY bubblewrap-time "less than 0.1 SBU (with tests)">
13]>
14
15<sect1 id="bubblewrap" xreflabel="bubblewrap-&bubblewrap-version;">
16 <?dbhtml filename="bubblewrap.html"?>
17
18
19 <title>Bubblewrap-&bubblewrap-version;</title>
20
21 <indexterm zone="bubblewrap">
22 <primary sortas="a-bubblewrap">bubblewrap</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Bubblewrap</title>
27
28 <para>
29 <application>Bubblewrap</application> is a setuid implementation of user
30 namespaces, or sandboxing, that provides access to a subset of kernel
31 user namespace features. Bubblewrap allows user owned processes to run in
32 an isolated environment with limited access to the underlying filesystem.
33 <!-- Thanks for the reword DJ -->
34 </para>
35
36 &lfs121_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&bubblewrap-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&bubblewrap-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &bubblewrap-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &bubblewrap-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &bubblewrap-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &bubblewrap-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Bubblewrap Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Optional</bridgehead>
75 <para role="optional">
76 <xref linkend="libxslt"/> (to generate manual pages) and
77 <xref linkend="libseccomp"/> (built with python bindings, for tests)
78 </para>
79
80 </sect2>
81
82 <sect2 role="kernel" id="bubblewrap-kernel">
83 <title>Kernel Configuration</title>
84
85 <para>
86 When this package began, upstream expected it could be installed
87 suid-root. That was a long time ago, suid-root is generally considered
88 a bad idea. As well as the default namespaces, this package requires the
89 optional User namespace to be enabled. If that has not yet been enabled,
90 select the following option in the kernel configuration and recompile the
91 kernel:
92 </para>
93
94 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
95 href="bubblewrap-kernel.xml"/>
96
97 <indexterm zone="bubblewrap bubblewrap-kernel">
98 <primary sortas="d-bubblewrap">bubblewrap</primary>
99 </indexterm>
100 </sect2>
101
102 <sect2 role="installation">
103 <title>Installation of Bubblewrap</title>
104
105 <para>
106 Install <application>Bubblewrap</application> by running the following
107 commands:
108 </para>
109
110<screen><userinput>mkdir build &amp;&amp;
111cd build &amp;&amp;
112
113meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
114ninja</userinput></screen>
115
116 <para>
117 Next, if you desire to run the test suite, fix an issue caused by the
118 merged-/usr configuration in LFS:
119 </para>
120
121<screen remap="test"><userinput>sed 's@symlink usr/lib64@ro-bind-try /lib64@' -i ../tests/libtest.sh</userinput></screen>
122
123 <para>
124 To test the results, issue (as a user other than the
125 <systemitem class="username">root</systemitem> user):
126 <command>ninja test</command>
127 </para>
128
129 <para>
130 Now, as the <systemitem class="username">root</systemitem> user:
131 </para>
132
133<screen role="root"><userinput>ninja install</userinput></screen>
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
140 href="../../xincludes/meson-buildtype-release.xml"/>
141 </sect2>
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Program</segtitle>
148 <segtitle>Installed Libraries</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <seglistitem>
152 <seg>
153 bwrap
154 </seg>
155 <seg>
156 None
157 </seg>
158 <seg>
159 None
160 </seg>
161 </seglistitem>
162 </segmentedlist>
163
164 <variablelist>
165 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
166 <?dbfo list-presentation="list"?>
167 <?dbhtml list-presentation="table"?>
168
169 <varlistentry id="bwrap">
170 <term><command>bwrap</command></term>
171 <listitem>
172 <para>
173 generates a sandbox for a program to run in
174 </para>
175 <indexterm zone="bubblewrap bwrap">
176 <primary sortas="b-bwrap">bwrap</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180 </variablelist>
181 </sect2>
182
183</sect1>
Note: See TracBrowser for help on using the repository browser.