Subversion Repositories svn LFS-FR

Rev

Rev 7165 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7164 jlepiller 1
msgid ""
2
msgstr ""
3
 
4
#. type: Content of the systemd-download-http entity
5
#: blfs-en/general/sysutils/systemd.xml:7
6
msgid "http://anduin.linuxfromscratch.org/sources/other/systemd/systemd-&systemd-version;.tar.xz"
7
msgstr ""
8
 
9
#. type: Content of the systemd-md5sum entity
10
#: blfs-en/general/sysutils/systemd.xml:9
11
msgid "2647855c8f9cdf824953f1091db2d2b2"
12
msgstr ""
13
 
14
#. type: Content of the systemd-size entity
15
#: blfs-en/general/sysutils/systemd.xml:10
16
msgid "3,840 KB"
17
msgstr ""
18
 
19
#. type: Content of the systemd-buildsize entity
20
#: blfs-en/general/sysutils/systemd.xml:11
21
msgid "447 MB"
22
msgstr ""
23
 
24
#. type: Content of the systemd-time entity
25
#: blfs-en/general/sysutils/systemd.xml:12
26
msgid "6.4 SBU"
27
msgstr ""
28
 
29
#. type: Content of: <sect1><sect1info>
30
#: blfs-en/general/sysutils/systemd.xml:20
31
msgid ""
32
"<othername>$LastChangedBy: igor $</othername> <date>$Date: 2016-08-28 "
33
"11:28:15 +0200 (Sun, 28 Aug 2016) $</date>"
34
msgstr ""
35
 
36
#. type: Content of: <sect1><title>
37
#: blfs-en/general/sysutils/systemd.xml:24
38
msgid "Systemd-&systemd-version;"
39
msgstr ""
40
 
41
#. type: Content of: <sect1><indexterm><primary>
42
#: blfs-en/general/sysutils/systemd.xml:27
43
msgid "systemd"
44
msgstr ""
45
 
46
#. type: Content of: <sect1><sect2><title>
47
#: blfs-en/general/sysutils/systemd.xml:31
48
msgid "Introduction to systemd"
49
msgstr ""
50
 
51
#. type: Content of: <sect1><sect2><para>
52
#: blfs-en/general/sysutils/systemd.xml:34
53
msgid ""
54
"While <application>systemd</application> was installed when building LFS, "
55
"there are many features provided by the package that were not included in "
56
"the initial installation because <application>Linux-PAM</application> was "
57
"not yet installed.  The <application>systemd</application> package needs to "
58
"be rebuilt to provide a working <command>systemd-logind</command> service, "
59
"which provides many additional features for dependent packages."
60
msgstr ""
61
 
62
#. type: Content of: <sect1><sect2><bridgehead>
63
#: blfs-en/general/sysutils/systemd.xml:45
64
msgid "Package Information"
65
msgstr ""
66
 
67
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
68
#: blfs-en/general/sysutils/systemd.xml:48
69
msgid "Download (HTTP): <ulink url=\"&systemd-download-http;\"/>"
70
msgstr ""
71
 
72
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
73
#: blfs-en/general/sysutils/systemd.xml:51
74
msgid "Download (FTP): <ulink url=\"&systemd-download-ftp;\"/>"
75
msgstr ""
76
 
77
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
78
#: blfs-en/general/sysutils/systemd.xml:54
79
msgid "Download MD5 sum: &systemd-md5sum;"
80
msgstr ""
81
 
82
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
83
#: blfs-en/general/sysutils/systemd.xml:57
84
msgid "Download size: &systemd-size;"
85
msgstr ""
86
 
87
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
88
#: blfs-en/general/sysutils/systemd.xml:60
89
msgid "Estimated disk space required: &systemd-buildsize;"
90
msgstr ""
91
 
92
#. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
93
#: blfs-en/general/sysutils/systemd.xml:63
94
msgid "Estimated build time: &systemd-time;"
95
msgstr ""
96
 
97
#. type: Content of: <sect1><sect2><bridgehead>
98
#: blfs-en/general/sysutils/systemd.xml:67
99
msgid "systemd Dependencies"
100
msgstr ""
101
 
102
#. type: Content of: <sect1><sect2><bridgehead>
103
#: blfs-en/general/sysutils/systemd.xml:69
104
msgid "Required"
105
msgstr ""
106
 
107
#. type: Content of: <sect1><sect2><para>
108
#: blfs-en/general/sysutils/systemd.xml:71
109
msgid "<xref linkend=\"linux-pam\"/>"
110
msgstr ""
111
 
112
#. type: Content of: <sect1><sect2><bridgehead>
113
#: blfs-en/general/sysutils/systemd.xml:74
114
msgid "Recommended Runtime Dependency"
115
msgstr ""
116
 
117
#. type: Content of: <sect1><sect2><para>
118
#: blfs-en/general/sysutils/systemd.xml:76
119
msgid "<xref linkend=\"polkit\"/>"
120
msgstr ""
121
 
122
#. type: Content of: <sect1><sect2><bridgehead>
123
#: blfs-en/general/sysutils/systemd.xml:79
124
msgid "Optional"
125
msgstr ""
126
 
127
#. type: Content of: <sect1><sect2><para>
128
#: blfs-en/general/sysutils/systemd.xml:81
129
msgid ""
130
"<xref linkend=\"cacerts\"/>, <xref linkend=\"curl\"/>, <xref "
131
"linkend=\"elfutils\"/>, <xref linkend=\"gnutls\"/>, <xref "
132
"linkend=\"iptables\"/>, <xref linkend=\"libgcrypt\"/>, <xref "
133
"linkend=\"libidn\"/>, <xref linkend=\"libxkbcommon\"/>, <xref "
134
"linkend=\"python2\"/> or <xref linkend=\"python3\"/>, <xref "
135
"linkend=\"qemu\"/>, <xref linkend=\"valgrind\"/>, <xref linkend=\"zsh\"/> "
136
"(for the zsh completions), <ulink "
137
"url=\"https://www.kernel.org/pub/linux/utils/cryptsetup/\">cryptsetup</ulink>, "
138
"<ulink url=\"http://sourceforge.net/projects/gnu-efi/\">gnu-efi</ulink>, "
139
"<ulink "
140
"url=\"https://www.kernel.org/pub/linux/utils/kernel/kexec/\">kexec-tools</ulink>, "
141
"<ulink "
142
"url=\"https://www.gnu.org/software/libmicrohttpd/\">libmicrohttpd</ulink>, "
143
"<ulink "
144
"url=\"http://sourceforge.net/projects/libseccomp/\">libseccomp</ulink>, "
145
"<ulink url=\"http://lxml.de/\">lxml</ulink> (Python Module), <ulink "
146
"url=\"https://github.com/Cyan4973/lz4\">lz4</ulink>, <ulink "
147
"url=\"http://fukuchi.org/works/qrencode/\">qrencode</ulink>, <ulink "
148
"url=\"http://sourceforge.net/projects/linuxquota/\">quota-tools</ulink> and "
149
"<ulink url=\"https://pypi.python.org/pypi/Sphinx\">Sphinx</ulink>"
150
msgstr ""
151
 
152
#. type: Content of: <sect1><sect2><note><para>
153
#: blfs-en/general/sysutils/systemd.xml:108
154
msgid ""
155
"In order to build the <application>systemd</application> "
156
"<application>Python</application> module, the "
157
"<application>lxml</application> package needs to be installed for the "
158
"corresponding <application>Python</application> version (2 or 3).  Note that "
159
"<command>configure</command> defaults to <application>Python "
160
"2</application>. In order to build the module for <application>Python "
161
"3</application>, make sure you pass the <envar>PYTHON=python3</envar> "
162
"environment variable to the <command>configure</command> command below."
163
msgstr ""
164
 
165
#. type: Content of: <sect1><sect2><bridgehead>
166
#: blfs-en/general/sysutils/systemd.xml:122
167
msgid "Optional (to rebuild the manual pages)"
168
msgstr ""
169
 
170
#. type: Content of: <sect1><sect2><para>
171
#: blfs-en/general/sysutils/systemd.xml:124
172
msgid ""
173
"<xref linkend=\"DocBook\"/>, <xref linkend=\"docbook-xsl\"/> and <xref "
174
"linkend=\"libxslt\"/>"
175
msgstr ""
176
 
177
#. type: Content of: <sect1><sect2><para>
178
#: blfs-en/general/sysutils/systemd.xml:129
179
msgid "User Notes: <ulink url=\"&blfs-wiki;/systemd\"/>"
180
msgstr ""
181
 
182
#. type: Content of: <sect1><sect2><title>
183
#: blfs-en/general/sysutils/systemd.xml:135
184
msgid "Installation of systemd"
185
msgstr ""
186
 
187
#. type: Content of: <sect1><sect2><para>
188
#: blfs-en/general/sysutils/systemd.xml:147
189
msgid "Disable two tests that always fail:"
190
msgstr ""
191
 
192
#. type: Content of: <sect1><sect2><screen>
193
#: blfs-en/general/sysutils/systemd.xml:150
194
#, no-wrap
195
msgid ""
196
"<userinput>sed -e 's:test/udev-test.pl ::g'  \\\n"
197
"    -e 's:test-copy$(EXEEXT) ::g' \\\n"
198
"    -i Makefile.in</userinput>"
199
msgstr ""
200
 
201
#. type: Content of: <sect1><sect2><para>
202
#: blfs-en/general/sysutils/systemd.xml:155
203
msgid ""
204
"Rebuild <application>systemd</application> by running the following "
205
"commands:"
206
msgstr ""
207
 
208
#. type: Content of: <sect1><sect2><screen>
209
#: blfs-en/general/sysutils/systemd.xml:159
210
#, no-wrap
211
msgid ""
212
"<userinput>cc_cv_CFLAGS__flto=no               \\\n"
213
"XSLTPROC=\"/usr/bin/xsltproc\"         \\\n"
214
"./configure --prefix=/usr            \\\n"
215
"            --sysconfdir=/etc        \\\n"
216
"            --localstatedir=/var     \\\n"
217
"            --with-rootprefix=       \\\n"
218
"            --with-rootlibdir=/lib   \\\n"
219
"            --enable-split-usr       \\\n"
220
"            --disable-firstboot      \\\n"
221
"            --disable-ldconfig       \\\n"
222
"            --disable-sysusers       \\\n"
223
"            --without-python         \\\n"
224
"            --with-default-dnssec=no \\\n"
225
"            --docdir=/usr/share/doc/systemd-&systemd-version; &amp;&amp;\n"
226
"make</userinput>"
227
msgstr ""
228
 
229
#. type: Content of: <sect1><sect2><note><para>
230
#: blfs-en/general/sysutils/systemd.xml:177
231
msgid ""
232
"For the best results, make sure you run the testsuite from a system that is "
233
"booted by the same <application>systemd</application> version you are "
234
"rebuilding."
235
msgstr ""
236
 
237
#. type: Content of: <sect1><sect2><para>
238
#: blfs-en/general/sysutils/systemd.xml:184
239
msgid "To test the results, issue: <command>make -k check</command>."
240
msgstr ""
241
 
242
#. type: Content of: <sect1><sect2><warning><para>
243
#: blfs-en/general/sysutils/systemd.xml:189
244
msgid ""
245
"Installing the package will overwrite all files installed by "
246
"<application>systemd</application> in LFS. It is critical that nothing uses "
247
"either <application>systemd</application> or <application>Udev</application> "
248
"libraries during the installation.  The best way to ensure that these "
249
"libraries are not being used is to run the installation in rescue mode. To "
250
"switch to rescue mode, run the following command as the <systemitem "
251
"class=\"username\">root</systemitem> user (from a TTY):"
252
msgstr ""
253
 
254
#. type: Content of: <sect1><sect2><warning><screen>
255
#: blfs-en/general/sysutils/systemd.xml:199
256
#, no-wrap
257
msgid "<userinput>systemctl start rescue.target</userinput>"
258
msgstr ""
259
 
260
#. type: Content of: <sect1><sect2><para>
261
#: blfs-en/general/sysutils/systemd.xml:203
262
msgid "Now, as the <systemitem class=\"username\">root</systemitem> user:"
263
msgstr ""
264
 
265
#. type: Content of: <sect1><sect2><screen>
266
#: blfs-en/general/sysutils/systemd.xml:206
267
#, no-wrap
268
msgid "<userinput>make install</userinput>"
269
msgstr ""
270
 
271
#. type: Content of: <sect1><sect2><para>
272
#: blfs-en/general/sysutils/systemd.xml:209
273
msgid ""
274
"Move the NSS libraries to <filename class=\"directory\">/lib</filename> by "
275
"running the following command as the <systemitem "
276
"class=\"username\">root</systemitem> user:"
277
msgstr ""
278
 
279
#. type: Content of: <sect1><sect2><screen>
280
#: blfs-en/general/sysutils/systemd.xml:214
281
#, no-wrap
282
msgid ""
283
"<userinput>mv -v /usr/lib/libnss_{myhostname,mymachines,resolve}.so.2 "
284
"/lib</userinput>"
285
msgstr ""
286
 
287
#. type: Content of: <sect1><sect2><para>
288
#: blfs-en/general/sysutils/systemd.xml:217
289
msgid ""
290
"Remove an unnecessary directory by running the following command as the "
291
"<systemitem class=\"username\">root</systemitem> user:"
292
msgstr ""
293
 
294
#. type: Content of: <sect1><sect2><screen>
295
#: blfs-en/general/sysutils/systemd.xml:221
296
#, no-wrap
297
msgid "<userinput>rm -rfv /usr/lib/rpm</userinput>"
298
msgstr ""
299
 
300
#. type: Content of: <sect1><sect2><title>
301
#: blfs-en/general/sysutils/systemd.xml:226
302
msgid "Configuring systemd"
303
msgstr ""
304
 
305
#. type: Content of: <sect1><sect2><para>
306
#: blfs-en/general/sysutils/systemd.xml:229
307
msgid ""
308
"The <filename>/etc/pam.d/system-sesion</filename> file needs to be modified "
309
"and a new file needs to be created in order for "
310
"<command>systemd-logind</command> to work correctly. Run the following "
311
"commands as the <systemitem class=\"username\">root</systemitem> user:"
312
msgstr ""
313
 
314
#. type: Content of: <sect1><sect2><screen>
315
#: blfs-en/general/sysutils/systemd.xml:235
316
#, no-wrap
317
msgid ""
318
"<userinput>cat &gt;&gt; /etc/pam.d/system-session &lt;&lt; \"EOF\"\n"
319
"<literal># Begin Systemd addition\n"
320
"    \n"
321
"session   required    pam_loginuid.so\n"
322
"session   optional    pam_systemd.so\n"
323
"\n"
324
"# End Systemd addition</literal>\n"
325
"EOF\n"
326
"\n"
327
"cat &gt; /etc/pam.d/systemd-user &lt;&lt; \"EOF\"\n"
328
"<literal># Begin /etc/pam.d/systemd-user\n"
329
"\n"
330
"account  required pam_access.so\n"
331
"account  include  system-account\n"
332
"\n"
333
"session  required pam_env.so\n"
334
"session  required pam_limits.so\n"
335
"session  include  system-session\n"
336
"\n"
337
"auth     required pam_deny.so\n"
338
"password required pam_deny.so\n"
339
"\n"
340
"# End /etc/pam.d/systemd-user</literal>\n"
341
"EOF</userinput>"
342
msgstr ""
343
 
344
#. type: Content of: <sect1><sect2><para>
345
#: blfs-en/general/sysutils/systemd.xml:261
346
msgid ""
347
"At this point, you should reload the systemd daemon, and reenter multi-user "
348
"mode with the following commands (as the <systemitem "
349
"class=\"username\">root</systemitem> user):"
350
msgstr ""
351
 
352
#. type: Content of: <sect1><sect2><screen>
353
#: blfs-en/general/sysutils/systemd.xml:266
354
#, no-wrap
355
msgid ""
356
"<userinput>systemctl daemon-reload\n"
357
"systemctl start multi-user.target</userinput>"
358
msgstr ""
359
 
360
#. type: Content of: <sect1><sect2><warning><para>
361
#: blfs-en/general/sysutils/systemd.xml:269
362
msgid ""
363
"If upgrading from a previous version of systemd and an initrd is used for "
364
"system boot, you should generate a new initrd before rebooting the system."
365
msgstr ""
366
 
367
#. type: Content of: <sect1><sect2><title>
368
#: blfs-en/general/sysutils/systemd.xml:276
369
msgid "Contents"
370
msgstr ""
371
 
372
#. type: Content of: <sect1><sect2><para>
373
#: blfs-en/general/sysutils/systemd.xml:279
374
msgid ""
375
"A list of the installed files, along with their short descriptions can be "
376
"found at <ulink "
377
"url=\"&lfs-root;/chapter06/systemd.html#contents-systemd\"/>."
378
msgstr ""
379
 
380
#. type: Content of: <sect1><sect2><para>
381
#: blfs-en/general/sysutils/systemd.xml:285
382
msgid ""
383
"Listed below are the newly installed libraries and directories along with "
384
"short descriptions."
385
msgstr ""
386
 
387
#. type: Content of: <sect1><sect2><segmentedlist><segtitle>
388
#: blfs-en/general/sysutils/systemd.xml:290
389
msgid "Installed Programs"
390
msgstr ""
391
 
392
#. type: Content of: <sect1><sect2><segmentedlist><segtitle>
393
#: blfs-en/general/sysutils/systemd.xml:291
394
msgid "Installed Libraries"
395
msgstr ""
396
 
397
#. type: Content of: <sect1><sect2><segmentedlist><segtitle>
398
#: blfs-en/general/sysutils/systemd.xml:292
399
msgid "Installed Directories"
400
msgstr ""
401
 
402
#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
403
#: blfs-en/general/sysutils/systemd.xml:296 blfs-en/general/sysutils/systemd.xml:303
404
msgid "None"
405
msgstr ""
406
 
407
#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
408
#: blfs-en/general/sysutils/systemd.xml:299
409
msgid "pam_systemd.so (in <filename class=\"directory\">/lib/security</filename>)"
410
msgstr ""
411
 
412
#. type: Content of: <sect1><sect2><variablelist><bridgehead>
413
#: blfs-en/general/sysutils/systemd.xml:309
414
msgid "Short Descriptions"
415
msgstr ""
416
 
417
#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
418
#: blfs-en/general/sysutils/systemd.xml:314
419
msgid "<filename class=\"libraryfile\">pam_systemd.so</filename>"
420
msgstr ""
421
 
422
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
423
#: blfs-en/general/sysutils/systemd.xml:317
424
msgid ""
425
"is a PAM module used to register user sessions with the "
426
"<application>systemd</application> login manager, "
427
"<command>systemd-logind</command>."
428
msgstr ""
429
 
430
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
431
#: blfs-en/general/sysutils/systemd.xml:322
432
msgid "pam_systemd.so"
433
msgstr ""