Debian Codegraph @

templates/man7/systemd.generator.7.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:46+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "SYSTEMD\\&.GENERATOR"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux
28 #, no-wrap
29 msgid "systemd 260.2"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
34 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
35 #, no-wrap
36 msgid "systemd.generator"
37 msgstr ""
38
39 #. -----------------------------------------------------------------
40 #. * MAIN CONTENT STARTS HERE *
41 #. -----------------------------------------------------------------
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr ""
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "systemd.generator - systemd unit generators"
53 msgstr ""
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "SYNOPSIS"
60 msgstr ""
61
62 #. type: Plain text
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "B</path/to/generator> I<normal-dir> [I<early-dir>] [I<late-dir>]"
66 msgstr ""
67
68 #. type: Plain text
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 msgid "/run/systemd/system-generators/*"
72 msgstr ""
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 msgid "/etc/systemd/system-generators/*"
78 msgstr ""
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 msgid "/usr/local/lib/systemd/system-generators/*"
84 msgstr ""
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 msgid "/usr/lib/systemd/system-generators/*"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid "/run/systemd/user-generators/*"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid "/etc/systemd/user-generators/*"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid "/usr/local/lib/systemd/user-generators/*"
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid "/usr/lib/systemd/user-generators/*"
114 msgstr ""
115
116 #. type: SH
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid "DESCRIPTION"
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "Generators are small executables placed in /usr/lib/systemd/system-"
128 "generators/ and other directories listed above\\&. B<systemd>(1) will "
129 "execute these binaries very early at bootup and at configuration reload time "
130 "\\(em before unit files are loaded\\&. Their main purpose is to convert "
131 "configuration and execution context parameters that are not native to the "
132 "service manager into dynamically generated unit files, symlinks or unit file "
133 "drop-ins, so that they can extend the unit file hierarchy the service "
134 "manager subsequently loads and operates on\\&."
135 msgstr ""
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "B<systemd> will call each generator with three directory paths that are to "
142 "be used for generator output\\&. In these three directories, generators may "
143 "dynamically generate unit files (regular ones, instances, as well as "
144 "templates), unit file \\&.d/ drop-ins, and create symbolic links to unit "
145 "files to add additional dependencies, create aliases, or instantiate "
146 "existing templates\\&. Those directories are included in the unit load path, "
147 "allowing generated configuration to extend or override existing "
148 "definitions\\&. For tests, generators may be called with just one argument; "
149 "the generator should assume that all three paths are the same in that "
150 "case\\&."
151 msgstr ""
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "Generators executed by the system manager are invoked in a sandbox with a "
158 "private writable /tmp/ directory and where most of the file system is read-"
159 "only except for the generator output directories\\&."
160 msgstr ""
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "Directory paths for generator output differ by priority: \\&.../"
167 "generator\\&.early has priority higher than the admin configuration in /"
168 "etc/, while \\&.../generator has lower priority than /etc/ but higher than "
169 "vendor configuration in /usr/, and \\&.../generator\\&.late has priority "
170 "lower than all other configuration\\&. See the next section and the "
171 "discussion of unit load paths and unit overriding in B<systemd.unit>(5)\\&."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "Generators are loaded from a set of paths determined during compilation, as "
179 "listed above\\&. System and user generators are loaded from directories with "
180 "names ending in system-generators/ and user-generators/, respectively\\&. "
181 "Generators found in directories listed earlier override the ones with the "
182 "same name in directories lower in the list \\&\\s-2\\u[1]\\d\\s+2\\&. A "
183 "symlink to /dev/null or an empty file can be used to mask a generator, "
184 "thereby preventing it from running\\&. Please note that the order of the two "
185 "directories with the highest priority is reversed with respect to the unit "
186 "load path, and generators in /run/ overwrite those in /etc/\\&."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "After installing new generators or updating the configuration, B<systemctl "
194 "daemon-reload> may be executed\\&. This will delete the previous "
195 "configuration created by generators, re-run all generators, and cause "
196 "B<systemd> to reload units from disk\\&. See B<systemctl>(1) for more "
197 "information\\&."
198 msgstr ""
199
200 #. type: SH
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "OUTPUT DIRECTORIES"
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "Generators are invoked with three arguments: paths to directories where "
212 "generators can place their generated unit files or symlinks\\&. By default, "
213 "those paths are runtime directories that are included in the search path of "
214 "B<systemd>, but a generator may be called with different paths for debugging "
215 "purposes\\&. If only one argument is provided, the generator should use the "
216 "same directory as the three output paths\\&."
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid "I<normal-dir>"
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "In normal use this is /run/systemd/generator in case of the system "
230 "generators and $XDG_RUNTIME_DIR/systemd/generator in case of the user "
231 "generators\\&. Unit files placed in this directory take precedence over "
232 "vendor unit configuration but not over native user/administrator unit "
233 "configuration\\&."
234 msgstr ""
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 msgid "I<early-dir>"
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "In normal use this is /run/systemd/generator\\&.early in case of the system "
247 "generators and $XDG_RUNTIME_DIR/systemd/generator\\&.early in case of the "
248 "user generators\\&. Unit files placed in this directory override unit files "
249 "in /usr/, /run/ and /etc/\\&. This means that unit files placed in this "
250 "directory take precedence over all normal configuration, both vendor and "
251 "user/administrator\\&."
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid "I<late-dir>"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid ""
264 "In normal use this is /run/systemd/generator\\&.late in case of the system "
265 "generators and $XDG_RUNTIME_DIR/systemd/generator\\&.late in case of the "
266 "user generators\\&. This directory may be used to extend the unit file tree "
267 "without overriding any other unit files\\&. Any native configuration files "
268 "supplied by the vendor or user/administrator take precedence\\&."
269 msgstr ""
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid ""
275 "Note: generators I<must not> write to other locations or otherwise make "
276 "changes to system state\\&. Generator output is supposed to last only until "
277 "the next B<daemon-reload> or B<daemon-reexec>; if the generator is replaced "
278 "or masked, its effects should vanish\\&."
279 msgstr ""
280
281 #. type: SH
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "ENVIRONMENT"
286 msgstr ""
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid ""
292 "The service manager sets a number of environment variables when invoking "
293 "generator executables\\&. They carry information about the execution context "
294 "of the generator, in order to simplify conditionalizing generators to "
295 "specific environments\\&. The following environment variables are set:"
296 msgstr ""
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid "I<$SYSTEMD_SCOPE>"
302 msgstr ""
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 msgid ""
308 "If the generator is invoked from the system service manager this variable is "
309 "set to \"system\"; if invoked from the per-user service manager it is set to "
310 "\"user\"\\&."
311 msgstr ""
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid "Added in version 251\\&."
317 msgstr ""
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid "I<$SYSTEMD_IN_INITRD>"
323 msgstr ""
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "If the generator is run as part of an initrd this is set to \"1\"\\&. If it "
330 "is run from the regular host (i\\&.e\\&. after the transition from initrd to "
331 "host) it is set to \"0\"\\&. This environment variable is only set for "
332 "system generators\\&."
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid "I<$SYSTEMD_SOFT_REBOOTS_COUNT>"
339 msgstr ""
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid ""
345 "If the system has soft-rebooted, this variable is set to the count of soft-"
346 "reboots\\&. This environment variable is only set for system generators\\&."
347 msgstr ""
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid "Added in version 257\\&."
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid "I<$SYSTEMD_FIRST_BOOT>"
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 msgid ""
365 "If this boot-up cycle is considered a \"first boot\", this is set to \"1\"; "
366 "if it is a subsequent, regular boot it is set to \"0\"\\&. For details see "
367 "the documentation of I<ConditionFirstBoot=> in B<systemd.unit>(5)\\&. This "
368 "environment variable is only set for system generators\\&."
369 msgstr ""
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid "I<$SYSTEMD_VIRTUALIZATION>"
375 msgstr ""
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "If the service manager is run in a virtualized environment, "
382 "I<$SYSTEMD_VIRTUALIZATION> is set to a pair of strings, separated by a "
383 "colon\\&. The first string is either \"vm\" or \"container\", categorizing "
384 "the type of virtualization\\&. The second string identifies the "
385 "implementation of the virtualization technology\\&. If no virtualization is "
386 "detected this variable will not be set\\&. This data is identical to what "
387 "B<systemd-detect-virt>(1) detects and reports, and uses the same vocabulary "
388 "of virtualization implementation identifiers\\&."
389 msgstr ""
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 msgid "I<$SYSTEMD_ARCHITECTURE>"
395 msgstr ""
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 msgid ""
401 "This variable is set to a short identifier of the reported architecture of "
402 "the system\\&. For details about defined values, see documentation of "
403 "I<ConditionArchitecture=> in B<systemd.unit>(5)\\&."
404 msgstr ""
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid "I<$CREDENTIALS_DIRECTORY>, I<$ENCRYPTED_CREDENTIALS_DIRECTORY>"
410 msgstr ""
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "If set, refers to the directory system credentials have been placed in\\&. "
417 "Credentials passed into the system in plaintext form will be placed in "
418 "I<$CREDENTIALS_DIRECTORY>, and those passed in in encrypted form will be "
419 "placed in I<$ENCRYPTED_CREDENTIALS_DIRECTORY>\\&. Use the B<systemd-"
420 "creds>(1) command to automatically decrypt/authenticate credentials passed "
421 "in, if needed\\&. Specifically, use the B<systemd-creds --system cat> "
422 "command\\&."
423 msgstr ""
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid "Added in version 254\\&."
429 msgstr ""
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid "I<$SYSTEMD_CONFIDENTIAL_VIRTUALIZATION>"
435 msgstr ""
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "If the service manager is run in a confidential virtualized environment, "
442 "I<$SYSTEMD_CONFIDENTIAL_VIRTUALIZATION> is set to a string that identifies "
443 "the confidential virtualization hardware technology\\&. If no confidential "
444 "virtualization is detected this variable will not be set\\&. This data is "
445 "identical to what B<systemd-detect-virt>(1) detects and reports, and uses "
446 "the same vocabulary of confidential virtualization technology identifiers\\&."
447 msgstr ""
448
449 #. type: SH
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "NOTES ABOUT WRITING GENERATORS"
454 msgstr ""
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 msgid ""
460 "All generators are executed in parallel\\&. That means all executables are "
461 "started at the very same time and need to be able to cope with this "
462 "parallelism\\&."
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "Generators are run very early at boot and cannot rely on any external "
470 "services\\&. They may not talk to any other process\\&. That includes simple "
471 "things such as logging to B<syslog>(3), or B<systemd> itself (this means: no "
472 "B<systemctl>(1))! Non-essential file systems like /var/ and /home/ are "
473 "mounted after generators have run\\&. Generators can however rely on the "
474 "most basic kernel functionality to be available, as well as mounted /sys/, /"
475 "proc/, /dev/, /usr/ and /run/ file systems\\&."
476 msgstr ""
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "Units written by generators are removed when the configuration is "
483 "reloaded\\&. That means the lifetime of the generated units is closely bound "
484 "to the reload cycles of B<systemd> itself\\&."
485 msgstr ""
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid ""
491 "Generators should only be used to generate unit files, \\&.d/*\\&.conf drop-"
492 "ins for them and symlinks to them, not any other kind of non-unit related "
493 "configuration\\&. Due to the lifecycle logic mentioned above, generators are "
494 "not a good fit to generate dynamic configuration for other services\\&. If "
495 "you need to generate dynamic configuration for other services, do so in "
496 "normal services you order before the service in question\\&."
497 msgstr ""
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "Note that using the I<StandardInputData=>/I<StandardInputText=> settings of "
504 "service unit files (see B<systemd.exec>(5)), it is possible to make "
505 "arbitrary input data (including daemon-specific configuration) part of the "
506 "unit definitions, which often might be sufficient to embed data or "
507 "configuration for other programs into unit files in a native fashion\\&."
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid ""
514 "Since B<syslog>(3) is not available (see above), log messages have to be "
515 "written to /dev/kmsg instead\\&."
516 msgstr ""
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid ""
522 "The generator should always include its own name in a comment at the top of "
523 "the generated file, so that the user can easily figure out which component "
524 "created or amended a particular unit\\&."
525 msgstr ""
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid ""
531 "The I<SourcePath=> directive should be used in generated files to specify "
532 "the source configuration file they are generated from\\&. This makes things "
533 "more easily understood by the user and also has the benefit that systemd can "
534 "warn the user about configuration files that changed on disk but have not "
535 "been read yet by systemd\\&. The I<SourcePath=> value does not have to be a "
536 "file in a physical filesystem\\&. For example, in the common case of the "
537 "generator looking at the kernel command line, B<SourcePath=/proc/cmdline> "
538 "should be used\\&."
539 msgstr ""
540
541 #. type: Plain text
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 msgid ""
545 "Generators may write out dynamic unit files or just hook unit files into "
546 "other units with the usual \\&.wants/ or \\&.requires/ symlinks\\&. Often, "
547 "it is nicer to simply instantiate a template unit file from /usr/ with a "
548 "generator instead of writing out entirely dynamic unit files\\&. Of course, "
549 "this works only if a single parameter is to be used\\&."
550 msgstr ""
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "If you are careful, you can implement generators in shell scripts\\&. We do "
557 "recommend C code however, since generators are executed synchronously and "
558 "hence delay the entire boot if they are slow\\&."
559 msgstr ""
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid ""
565 "Regarding overriding semantics: there are two rules we try to follow when "
566 "thinking about the overriding semantics:"
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid ""
573 "User configuration should override vendor configuration\\&. This (mostly) "
574 "means that stuff from /etc/ should override stuff from /usr/\\&."
575 msgstr ""
576
577 #. type: Plain text
578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
580 msgid ""
581 "Native configuration should override non-native configuration\\&. This "
582 "(mostly) means that stuff you generate should never override native unit "
583 "files for the same purpose\\&."
584 msgstr ""
585
586 #. type: Plain text
587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
589 msgid ""
590 "Of these two rules the first rule is probably the more important one and "
591 "breaks the second one sometimes\\&. Hence, when deciding whether to use "
592 "argv[1], argv[2], or argv[3], your default choice should probably be "
593 "argv[1]\\&."
594 msgstr ""
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 msgid ""
600 "Instead of heading off now and writing all kind of generators for legacy "
601 "configuration file formats, please think twice! It is often a better idea to "
602 "just deprecate old stuff instead of keeping it artificially alive\\&."
603 msgstr ""
604
605 #. type: SH
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, no-wrap
609 msgid "EXAMPLES"
610 msgstr ""
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid "B<Example\\ \\&1.\\ \\&systemd-fstab-generator>"
616 msgstr ""
617
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 msgid ""
622 "B<systemd-fstab-generator>(8) converts /etc/fstab into native mount "
623 "units\\&. It uses argv[1] as location to place the generated unit files in "
624 "order to allow the user to override /etc/fstab with their own native unit "
625 "files, but also to ensure that /etc/fstab overrides any vendor default from /"
626 "usr/\\&."
627 msgstr ""
628
629 #. type: Plain text
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 msgid ""
633 "After editing /etc/fstab, the user should invoke B<systemctl daemon-"
634 "reload>\\&. This will re-run all generators and cause B<systemd> to reload "
635 "units from disk\\&. To actually mount new directories added to fstab, "
636 "B<systemctl start >I</path/to/mountpoint> or B<systemctl start local-"
637 "fs\\&.target> may be used\\&."
638 msgstr ""
639
640 #. type: Plain text
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 msgid "B<Example\\ \\&2.\\ \\&systemd-system-update-generator>"
644 msgstr ""
645
646 #. type: Plain text
647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
649 msgid ""
650 "B<systemd-system-update-generator>(8) temporarily redirects "
651 "default\\&.target to system-update\\&.target, if a system update is "
652 "scheduled\\&. Since this needs to override the default user configuration "
653 "for default\\&.target, it uses argv[2]\\&. For details about this logic, see "
654 "B<systemd.offline-updates>(7)\\&."
655 msgstr ""
656
657 #. type: Plain text
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 msgid "B<Example\\ \\&3.\\ \\&Debugging a generator>"
661 msgstr ""
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 #, no-wrap
667 msgid ""
668 "dir=$(mktemp -d)\n"
669 "SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/system-generators/systemd-fstab-generator \\e\n"
670 " \"$dir\" \"$dir\" \"$dir\"\n"
671 "find $dir\n"
672 msgstr ""
673
674 #. type: SH
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 #, no-wrap
678 msgid "SEE ALSO"
679 msgstr ""
680
681 #. type: Plain text
682 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
683 msgid ""
684 "B<systemd>(1), B<systemd-cryptsetup-generator>(8), B<systemd-debug-"
685 "generator>(8), B<systemd-fstab-generator>(8), B<fstab>(5), B<systemd-getty-"
686 "generator>(8), B<systemd-gpt-auto-generator>(8), B<systemd-hibernate-resume-"
687 "generator>(8), B<systemd-system-update-generator>(8), B<systemd-xdg-"
688 "autostart-generator>(8), B<systemd.unit>(5), B<systemctl>(1), "
689 "B<systemd.environment-generator>(7)"
690 msgstr ""
691
692 #. type: SH
693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
695 #, no-wrap
696 msgid "NOTES"
697 msgstr ""
698
699 #. type: IP
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 #, no-wrap
703 msgid " 1."
704 msgstr ""
705
706 #. type: Plain text
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 msgid ""
710 "💣💥🧨💥💥💣 Please note that those configuration files must be available at "
711 "all times. If /usr/local/ is a separate partition, it may not be available "
712 "during early boot, and must not be used for configuration."
713 msgstr ""
714
715 #. type: TH
716 #: debian-trixie opensuse-leap-16-1
717 #, no-wrap
718 msgid "systemd 257.13"
719 msgstr ""
720
721 #. type: Plain text
722 #: debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1
723 msgid ""
724 "B<systemd>(1), B<systemd-cryptsetup-generator>(8), B<systemd-debug-"
725 "generator>(8), B<systemd-fstab-generator>(8), B<fstab>(5), B<systemd-getty-"
726 "generator>(8), B<systemd-gpt-auto-generator>(8), B<systemd-hibernate-resume-"
727 "generator>(8), B<systemd-rc-local-generator>(8), B<systemd-system-update-"
728 "generator>(8), B<systemd-sysv-generator>(8), B<systemd-xdg-autostart-"
729 "generator>(8), B<systemd.unit>(5), B<systemctl>(1), B<systemd.environment-"
730 "generator>(7)"
731 msgstr ""
732
733 #. type: TH
734 #: debian-unstable
735 #, no-wrap
736 msgid "systemd 261~rc3"
737 msgstr ""
738
739 #. type: TH
740 #: fedora-44
741 #, no-wrap
742 msgid "systemd 259.5"
743 msgstr ""
744
745 #. type: TH
746 #: fedora-rawhide
747 #, no-wrap
748 msgid "systemd 261~rc2"
749 msgstr ""
750
751 #. type: TH
752 #: mageia-cauldron
753 #, no-wrap
754 msgid "systemd 258.7"
755 msgstr ""
756
757 #. type: TH
758 #: opensuse-tumbleweed
759 #, no-wrap
760 msgid "systemd 260.1"
761 msgstr ""