source: general/sysutils/bubblewrap.xml@ 42ddc30

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 42ddc30 was cb594b6c, checked in by Xi Ruoyao <xry111@…>, 11 months ago

general: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 4.8 KB
Line 
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/containers/bubblewrap/releases/download/v&bubblewrap-version;/bubblewrap-&bubblewrap-version;.tar.xz">
8 <!ENTITY bubblewrap-download-ftp " ">
9 <!ENTITY bubblewrap-md5sum "fc0e14bc26df76225e8f8cc2df9fb657">
10 <!ENTITY bubblewrap-size "148 KB">
11 <!ENTITY bubblewrap-buildsize "3.4 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 &lfs113_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 <!-- NOTE: There is a possiblity of kernel configuration being required (see Xi's comment in #11090).
83 So far, I have not observed this, but that doesn't mean that it still might not be needed in practice. -->
84
85 <sect2 role="installation">
86 <title>Installation of Bubblewrap</title>
87
88 <para>
89 Install <application>Bubblewrap</application> by running the following
90 commands:
91 </para>
92
93<screen><userinput>mkdir build &amp;&amp;
94cd build &amp;&amp;
95
96meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
97ninja</userinput></screen>
98
99 <para>
100 Next, if you desire to run the test suite, fix an issue caused by the
101 merged-/usr configuration in LFS:
102 </para>
103
104<screen remap="test"><userinput>sed 's@symlink usr/lib64@ro-bind-try /lib64@' -i ../tests/libtest.sh</userinput></screen>
105
106 <para>
107 To test the results, issue (as a user other than the
108 <systemitem class="username">root</systemitem> user):
109 <command>ninja test</command>
110 </para>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>ninja install</userinput></screen>
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
123 href="../../xincludes/meson-buildtype-release.xml"/>
124 </sect2>
125
126 <sect2 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
130 <segtitle>Installed Program</segtitle>
131 <segtitle>Installed Libraries</segtitle>
132 <segtitle>Installed Directories</segtitle>
133
134 <seglistitem>
135 <seg>
136 bwrap
137 </seg>
138 <seg>
139 None
140 </seg>
141 <seg>
142 None
143 </seg>
144 </seglistitem>
145 </segmentedlist>
146
147 <variablelist>
148 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
149 <?dbfo list-presentation="list"?>
150 <?dbhtml list-presentation="table"?>
151
152 <varlistentry id="bwrap">
153 <term><command>bwrap</command></term>
154 <listitem>
155 <para>
156 generates a sandbox for a program to run in
157 </para>
158 <indexterm zone="bubblewrap bwrap">
159 <primary sortas="b-bwrap">bwrap</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163 </variablelist>
164 </sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.