Debian Codegraph @

templates/man1/varlinkctl.1.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:50+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 "VARLINKCTL"
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 "varlinkctl"
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 "varlinkctl - Introspect with and invoke Varlink services"
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<varlinkctl> [OPTIONS...] info I<ADDRESS>"
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 "B<varlinkctl> [OPTIONS...] list-interfaces I<ADDRESS>"
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 "B<varlinkctl> [OPTIONS...] list-methods I<ADDRESS> [I<INTERFACE>...]"
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 "B<varlinkctl> [OPTIONS...] introspect I<ADDRESS> [I<INTERFACE>...]"
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 "B<varlinkctl> [OPTIONS...] call I<ADDRESS> I<METHOD> [I<ARGUMENTS>]"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-unstable fedora-rawhide
94 msgid ""
95 "B<varlinkctl> [OPTIONS...] --exec call I<ADDRESS> I<METHOD> I<ARGUMENTS> -- "
96 "I<CMDLINE>"
97 msgstr ""
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid "B<varlinkctl> [OPTIONS...] validate-idl [I<FILE>]"
103 msgstr ""
104
105 #. type: SH
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "DESCRIPTION"
110 msgstr ""
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "B<varlinkctl> may be used to introspect and invoke \\m[blue]B<Varlink>\\m[]"
117 "\\&\\s-2\\u[1]\\d\\s+2 services\\&."
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid "Services are referenced by one of the following:"
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "A Varlink service reference starting with the \"unix:\" string, followed by "
131 "an absolute B<AF_UNIX> socket path, or by \"@\" and an arbitrary string (the "
132 "latter for referencing sockets in the abstract namespace)\\&. In this case, "
133 "a stream socket connection is made to the specified socket\\&."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "A Varlink service reference starting with the \"exec:\" string, followed by "
141 "an absolute path of a binary to execute\\&. In this case, the specified "
142 "process is forked off locally, with a connected stream socket passed in\\&."
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
147 #: opensuse-tumbleweed
148 msgid ""
149 "A Varlink service reference starting with the \"ssh-unix:\" string, followed "
150 "by an SSH host specification, followed by \":\", followed by an absolute "
151 "B<AF_UNIX> socket path\\&. (This requires OpenSSH 9\\&.4 or newer on the "
152 "server side, and abstract namespace sockets are not supported\\&.)"
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid ""
159 "A Varlink service reference starting with the \"ssh-exec:\" string, followed "
160 "by an SSH host specification, followed by \":\", followed by a command "
161 "line\\&. In this case, the command is invoked and the Varlink protocol is "
162 "spoken on the standard input and output of the invoked command\\&."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "For convenience, these two simpler (redundant) service address syntaxes are "
170 "also supported:"
171 msgstr ""
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "A file system path to an B<AF_UNIX> socket, either absolute (i\\&.e\\&. "
178 "begins with \"/\") or relative (in which case it must begin with \"\\&./\")"
179 "\\&."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
184 #: opensuse-tumbleweed
185 msgid ""
186 "A file system path to an executable, either absolute or relative (as above, "
187 "must begin with \"/\" or \"\\&./\", respectively)\\&."
188 msgstr ""
189
190 #. type: SH
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "COMMANDS"
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid "The following commands are understood:"
201 msgstr ""
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid "B<info> I<ADDRESS>"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
211 #: opensuse-tumbleweed
212 msgid ""
213 "Shows brief information about the specified service, including vendor name "
214 "and list of implemented interfaces\\&. Expects a service address in one of "
215 "the formats described above\\&."
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid "Added in version 255\\&."
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid "B<list-interfaces> I<ADDRESS>"
228 msgstr ""
229
230 #. type: Plain text
231 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
232 #: opensuse-tumbleweed
233 msgid ""
234 "Shows a list of interfaces implemented by the specified service\\&. Expects "
235 "a service address in one of the formats described above\\&."
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "B<list-methods> I<ADDRESS> [I<INTERFACE\\&...>]"
242 msgstr ""
243
244 #. type: Plain text
245 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
246 #: opensuse-tumbleweed
247 msgid ""
248 "Shows a list of methods implemented by the specified service\\&. Expects a "
249 "service address in one of the formats described above as well as one or more "
250 "interface names\\&. If no interface name is specified, lists all methods of "
251 "all interfaces implemented by the service, otherwise just the methods in the "
252 "specified interfaces\\&."
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid "Added in version 257\\&."
259 msgstr ""
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid "B<introspect> I<ADDRESS> [I<INTERFACE\\&...>]"
265 msgstr ""
266
267 #. type: Plain text
268 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
269 #: opensuse-tumbleweed
270 msgid ""
271 "Shows the interface definitions of the specified interfaces provided by the "
272 "specified service\\&. Expects a service address in one of the formats "
273 "described above and optionally one or more Varlink interface names\\&. If no "
274 "interface names are specified, shows all provided interfaces by the "
275 "service\\&."
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid "B<call> I<ADDRESS> I<METHOD> [I<ARGUMENTS>]"
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
286 #: opensuse-tumbleweed
287 msgid ""
288 "Calls the specified method of the specified service\\&. Expects a service "
289 "address in the format described above, a fully qualified Varlink method "
290 "name, and a JSON arguments object\\&. If the arguments object is not "
291 "specified, it is read from STDIN instead\\&. To pass an empty list of "
292 "parameters, specify the empty object \"{}\"\\&."
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
297 #: opensuse-tumbleweed
298 msgid "The reply parameters are written as JSON objects to STDOUT\\&."
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
303 msgid "B<list-registry>"
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
308 msgid ""
309 "Shows a list of Varlink services currently registered in the service "
310 "registry, plus their entrypoint sockets\\&. (Currently, this simply "
311 "enumerates the sockets and symlinked sockets in /run/varlink/registry/, see "
312 "below\\&.)"
313 msgstr ""
314
315 #. type: Plain text
316 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
317 msgid "Added in version 260\\&."
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid "B<validate-idl> [I<FILE>]"
324 msgstr ""
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "Reads a Varlink interface definition file, parses and validates it, then "
331 "outputs it with syntax highlighting\\&. This checks for syntax and internal "
332 "consistency of the interface\\&. Expects a file name to read the interface "
333 "definition from\\&. If omitted, reads the interface definition from STDIN\\&."
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid "B<help>"
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
344 #: opensuse-tumbleweed
345 msgid "Shows command syntax help\\&."
346 msgstr ""
347
348 #. type: SH
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "OPTIONS"
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 "The following options are understood:"
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 "B<--more>"
365 msgstr ""
366
367 #. type: Plain text
368 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
369 #: opensuse-tumbleweed
370 msgid ""
371 "When used with B<call>: expect multiple method replies\\&. If this flag is "
372 "set, the method call is sent with the B<more> flag set, which tells the "
373 "service to generate multiple replies, if needed\\&. The command remains "
374 "running until the service sends a reply message that indicates it is the "
375 "last in the series (or if the configured timeout is reached, see below)\\&. "
376 "This flag should be set only for method calls that support this mechanism\\&."
377 msgstr ""
378
379 #. type: Plain text
380 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
381 #: opensuse-tumbleweed
382 msgid ""
383 "If this mode is enabled, output is automatically switched to JSON-SEQ mode, "
384 "so that individual reply objects can be easily discerned\\&."
385 msgstr ""
386
387 #. type: Plain text
388 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
389 #: opensuse-tumbleweed
390 msgid ""
391 "This switch has no effect on the method call timeout applied by default\\&. "
392 "Regardless of whether B<--more> is specified or not, the default timeout "
393 "will be 45s\\&. Use B<--timeout=> (see below) to change or disable the "
394 "timeout\\&. When invoking a method call that continuously returns updates, "
395 "it is typically desirable to disable the timeout with B<--"
396 "timeout=infinity>\\&. On the other hand, when invoking a B<--more> method "
397 "call for the purpose of enumerating objects (which likely will complete "
398 "quickly), it is typically beneficial to leave the timeout logic enabled, for "
399 "robustness reasons\\&."
400 msgstr ""
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid "B<-E>"
406 msgstr ""
407
408 #. type: Plain text
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 msgid ""
412 "A shortcut for B<--more --timeout=infinity>\\&. This switch is useful for "
413 "method calls that implement subscription to a continuous stream of "
414 "updates\\&."
415 msgstr ""
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid "B<--collect>"
421 msgstr ""
422
423 #. type: Plain text
424 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
425 #: opensuse-tumbleweed
426 msgid ""
427 "This is similar to B<--more>, but collects all responses in a JSON array, "
428 "and prints it, rather than in JSON-SEQ mode\\&."
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 "Added in version 256\\&."
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 "B<--oneway>"
441 msgstr ""
442
443 #. type: Plain text
444 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
445 #: opensuse-tumbleweed
446 msgid ""
447 "When used with B<call>: do not expect a method reply\\&. If this flag is "
448 "set, the method call is sent with the B<oneway> flag set (the command exits "
449 "immediately after), which tells the service not to generate a reply\\&."
450 msgstr ""
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid "B<--json=>I<MODE>"
456 msgstr ""
457
458 #. type: Plain text
459 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
460 #: opensuse-tumbleweed
461 msgid ""
462 "Selects the JSON output formatting, either \"pretty\" for nicely indented, "
463 "colorized output, or \"short\" for terse output with minimal whitespace and "
464 "no newlines\\&. Defaults to \"short\"\\&."
465 msgstr ""
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 msgid "B<-j>"
471 msgstr ""
472
473 #. type: Plain text
474 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
475 #: opensuse-tumbleweed
476 msgid ""
477 "Equivalent to B<--json=pretty> when invoked interactively from a "
478 "terminal\\&. Otherwise, it is equivalent to B<--json=short>, in particular "
479 "when the output is piped to some other program\\&."
480 msgstr ""
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 msgid "B<--quiet>, B<-q>"
486 msgstr ""
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid "Suppress output of method call replies\\&."
492 msgstr ""
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid "B<--graceful=>"
498 msgstr ""
499
500 #. type: Plain text
501 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
502 #: opensuse-tumbleweed
503 msgid ""
504 "Takes a qualified Varlink error name, i\\&.e\\&. an interface name, suffixed "
505 "by an error name, separated by a dot, e\\&.g\\&. "
506 "\"org\\&.varlink\\&.service\\&.InvalidParameter\"\\&. Ensures that, if a "
507 "method call fails with the specified error, this will be treated as success, "
508 "i\\&.e\\&. will cause the B<varlinkctl> invocation to exit with a zero exit "
509 "status\\&. This option may be used more than once in order to treat multiple "
510 "different errors as successes\\&."
511 msgstr ""
512
513 #. type: Plain text
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 msgid "B<--timeout=>"
517 msgstr ""
518
519 #. type: Plain text
520 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
521 #: opensuse-tumbleweed
522 msgid ""
523 "Expects a timeout in seconds as parameter\\&. By default, a timeout of 45s "
524 "is enforced\\&. To turn off the timeout, specify \"infinity\" or an empty "
525 "string\\&."
526 msgstr ""
527
528 #. type: Plain text
529 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
530 #: opensuse-tumbleweed
531 msgid "B<--exec>"
532 msgstr ""
533
534 #. type: Plain text
535 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
536 #: opensuse-tumbleweed
537 msgid ""
538 "Once the method call issued via B<call> completed successfully, chainload "
539 "the specified command line, with the method call output parameters "
540 "serialized to JSON passed into standard input (and standard output and "
541 "standard error inherited from the invoking process)\\&. Moreover any file "
542 "descriptors passed back on the underlying communication socket are passed to "
543 "the invoked process via the usual I<$LISTEN_FDS> protocol\\&. This "
544 "functionality may be used to consume replies that come with associated file "
545 "descriptors in a reasonable way\\&."
546 msgstr ""
547
548 #. type: Plain text
549 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
550 #: opensuse-tumbleweed
551 msgid ""
552 "Now that if B<--exec> is specified the the third parameter to B<call> is not "
553 "optional (i\\&.e\\&. the method call parameters)\\&."
554 msgstr ""
555
556 #. type: Plain text
557 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
558 #: opensuse-tumbleweed
559 msgid "Added in version 258\\&."
560 msgstr ""
561
562 #. type: Plain text
563 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
564 #: opensuse-tumbleweed
565 msgid "B<--push-fd=>"
566 msgstr ""
567
568 #. type: Plain text
569 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
570 #: opensuse-tumbleweed
571 msgid ""
572 "Takes a numeric file descriptor number as parameter\\&. May be used to pass "
573 "a file descriptor along with the method call, if the underlying transport "
574 "supports this\\&. May be used multiple times to pass multiple file "
575 "descriptors, retaining the order in which they are specified\\&. The "
576 "specified file descriptors must be passed to the B<varlinkctl> "
577 "invocation\\&. Optionally, in place of a numeric file descriptor number an "
578 "absolute or relative file system path (the latter must be prefixed with "
579 "\"\\&./\") may be specified, which is opened in read-only mode\\&."
580 msgstr ""
581
582 #. type: Plain text
583 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
584 msgid "B<--system>, B<--user>"
585 msgstr ""
586
587 #. type: Plain text
588 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
589 msgid ""
590 "Determines whether to query to the per-system or per-user registry when "
591 "using the B<list-registry> command\\&. By default, the per-system registry "
592 "is queried\\&."
593 msgstr ""
594
595 #. type: Plain text
596 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
597 msgid "B<--no-ask-password>"
598 msgstr ""
599
600 #. type: Plain text
601 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
602 msgid "Do not query the user for authentication for privileged operations\\&."
603 msgstr ""
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 msgid "B<--no-pager>"
609 msgstr ""
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid "Do not pipe output into a pager\\&."
615 msgstr ""
616
617 #. type: Plain text
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 msgid "B<-h>, B<--help>"
621 msgstr ""
622
623 #. type: Plain text
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 msgid "Print a short help text and exit\\&."
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 "B<--version>"
633 msgstr ""
634
635 #. type: Plain text
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 msgid "Print a short version string and exit\\&."
639 msgstr ""
640
641 #. type: SH
642 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
643 #, no-wrap
644 msgid "FILES & DIRECTORIES"
645 msgstr ""
646
647 #. type: Plain text
648 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
649 msgid "/run/varlink/registry/"
650 msgstr ""
651
652 #. type: Plain text
653 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
654 msgid ""
655 "Directory containing B<AF_UNIX> entrypoint socket inodes (or symlinks to "
656 "them) of well-known, public Varlink interfaces on the local system\\&. They "
657 "are named after the Varlink interface they implement\\&."
658 msgstr ""
659
660 #. type: Plain text
661 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
662 msgid ""
663 "Use B<varlinkctl list-registry> to show the contents of this directory\\&."
664 msgstr ""
665
666 #. type: Plain text
667 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
668 msgid ""
669 "(Inodes that neither qualify as socket inodes nor as symlinks to them shall "
670 "be ignored\\&. A future extension might introduce regular files and "
671 "directories to enhance the registry functionality\\&.)"
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 "EXAMPLES"
679 msgstr ""
680
681 #. type: Plain text
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 msgid "B<Example\\ \\&1.\\ \\&Investigating a Service>"
685 msgstr ""
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 msgid ""
691 "The following three commands inspect the \"io\\&.systemd\\&.Resolve\" "
692 "service implemented by B<systemd-resolved.service>(8), listing general "
693 "service information and implemented interfaces, and then displaying the "
694 "interface definition of its primary interface:"
695 msgstr ""
696
697 #. type: Plain text
698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
700 #, no-wrap
701 msgid ""
702 "$ varlinkctl info /run/systemd/resolve/io\\&.systemd\\&.Resolve\n"
703 " Vendor: The systemd Project\n"
704 " Product: systemd (systemd-resolved)\n"
705 " Version: 254 (254-1522-g4790521^)\n"
706 " URL: https://systemd\\&.io/\n"
707 "Interfaces: io\\&.systemd\n"
708 " io\\&.systemd\\&.Resolve\n"
709 " org\\&.varlink\\&.service\n"
710 "$ varlinkctl list-interfaces /run/systemd/resolve/io\\&.systemd\\&.Resolve\n"
711 "io\\&.systemd\n"
712 "io\\&.systemd\\&.Resolve\n"
713 "org\\&.varlink\\&.service\n"
714 "$ varlinkctl introspect /run/systemd/resolve/io\\&.systemd\\&.Resolve io\\&.systemd\\&.Resolve\n"
715 "interface io\\&.systemd\\&.Resolve\n"
716 "type ResolvedAddress(\n"
717 " ifindex: ?int,\n"
718 " \\&...\n"
719 msgstr ""
720
721 #. type: Plain text
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 msgid ""
725 "(Interface definition has been truncated in the example above, in the "
726 "interest of brevity\\&.)"
727 msgstr ""
728
729 #. type: Plain text
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 msgid "B<Example\\ \\&2.\\ \\&Invoking a Method>"
733 msgstr ""
734
735 #. type: Plain text
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 msgid ""
739 "The following command resolves a hostname via B<systemd-"
740 "resolved.service>(8)\\*(Aqs B<ResolveHostname> method call\\&."
741 msgstr ""
742
743 #. type: Plain text
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid ""
748 "$ varlinkctl call /run/systemd/resolve/io\\&.systemd\\&.Resolve io\\&.systemd\\&.Resolve\\&.ResolveHostname \\*(Aq{\"name\":\"systemd\\&.io\",\"family\":2}\\*(Aq -j\n"
749 "{\n"
750 " \"addresses\" : [\n"
751 " {\n"
752 " \"ifindex\" : 2,\n"
753 " \"family\" : 2,\n"
754 " \"address\" : [\n"
755 " 185,\n"
756 " 199,\n"
757 " 111,\n"
758 " 153\n"
759 " ]\n"
760 " }\n"
761 " ],\n"
762 " \"name\" : \"systemd\\&.io\",\n"
763 " \"flags\" : 1048577\n"
764 "}\n"
765 msgstr ""
766
767 #. type: Plain text
768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
770 msgid "B<Example\\ \\&3.\\ \\&Investigating a Service Executable>"
771 msgstr ""
772
773 #. type: Plain text
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
776 msgid ""
777 "The following command inspects the /usr/lib/systemd/systemd-pcrextend "
778 "executable and the IPC APIs it provides\\&. It then invokes a method on it:"
779 msgstr ""
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 #, no-wrap
785 msgid ""
786 "# varlinkctl info /usr/lib/systemd/systemd-pcrextend\n"
787 " Vendor: The systemd Project\n"
788 " Product: systemd (systemd-pcrextend)\n"
789 " Version: 254 (254-1536-g97734fb)\n"
790 " URL: https://systemd\\&.io/\n"
791 "Interfaces: io\\&.systemd\n"
792 " io\\&.systemd\\&.PCRExtend\n"
793 " org\\&.varlink\\&.service\n"
794 "# varlinkctl introspect /usr/lib/systemd/systemd-pcrextend io\\&.systemd\\&.PCRExtend\n"
795 "interface io\\&.systemd\\&.PCRExtend\n"
796 msgstr ""
797
798 #. type: Plain text
799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
801 #, no-wrap
802 msgid ""
803 "method Extend(\n"
804 " pcr: int,\n"
805 " text: ?string,\n"
806 " data: ?string\n"
807 ") -E<gt> ()\n"
808 "# varlinkctl call /usr/lib/systemd/systemd-pcrextend io\\&.systemd\\&.PCRExtend\\&.Extend \\*(Aq{\"pcr\":15,\"text\":\"foobar\"}\\*(Aq\n"
809 "{}\n"
810 msgstr ""
811
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 msgid "B<Example\\ \\&4.\\ \\&Invoking a method remotely via SSH>"
816 msgstr ""
817
818 #. type: Plain text
819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
821 msgid ""
822 "The following command acquires a report about the identity of a remote host "
823 "\"somehost\" from B<systemd-hostnamed.service>(8) by connecting via SSH to "
824 "the B<AF_UNIX> socket the service listens on:"
825 msgstr ""
826
827 #. type: Plain text
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, no-wrap
831 msgid "# varlinkctl call ssh-unix:somehost:/run/systemd/io\\&.systemd\\&.Hostname io\\&.systemd\\&.Hostname\\&.Describe \\*(Aq{}\\*(Aq\n"
832 msgstr ""
833
834 #. type: Plain text
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 msgid ""
838 "To invoke a Varlink service binary directly on the remote host, rather than "
839 "talking to a service via B<AF_UNIX> can be done like this:"
840 msgstr ""
841
842 #. type: Plain text
843 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
844 #: opensuse-tumbleweed
845 #, no-wrap
846 msgid "# varlinkctl call ssh-exec:somehost:systemd-creds org\\&.varlink\\&.service\\&.GetInfo \\*(Aq{}\\*(Aq\n"
847 msgstr ""
848
849 #. type: SH
850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
851 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
852 #, no-wrap
853 msgid "SEE ALSO"
854 msgstr ""
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 msgid "B<busctl>(1), \\m[blue]B<Varlink>\\m[]\\&\\s-2\\u[1]\\d\\s+2"
860 msgstr ""
861
862 #. type: SH
863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
865 #, no-wrap
866 msgid "NOTES"
867 msgstr ""
868
869 #. type: IP
870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
872 #, no-wrap
873 msgid " 1."
874 msgstr ""
875
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 msgid "Varlink"
880 msgstr ""
881
882 #. type: Plain text
883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
885 msgid "\\%https://varlink.org/"
886 msgstr ""
887
888 #. type: TH
889 #: debian-trixie opensuse-leap-16-1
890 #, no-wrap
891 msgid "systemd 257.13"
892 msgstr ""
893
894 #. type: Plain text
895 #: debian-trixie opensuse-leap-16-1
896 msgid ""
897 "A Varlink service reference starting with the \"ssh-unix:\" string, followed "
898 "by an SSH host specification, followed by \":\", followed by an absolute "
899 "B<AF_UNIX> socket path\\&. (This requires OpenSSH 9\\&.4 or newer on the "
900 "server side, abstract namespace sockets are not supported\\&.)"
901 msgstr ""
902
903 #. type: Plain text
904 #: debian-trixie opensuse-leap-16-1
905 msgid ""
906 "A file system path to an executable, either absolute or relative (as above, "
907 "must begin with \"/\", resp\\&. \"\\&./\")\\&."
908 msgstr ""
909
910 #. type: Plain text
911 #: debian-trixie opensuse-leap-16-1
912 msgid ""
913 "Show brief information about the specified service, including vendor name "
914 "and list of implemented interfaces\\&. Expects a service address in one of "
915 "the formats described above\\&."
916 msgstr ""
917
918 #. type: Plain text
919 #: debian-trixie opensuse-leap-16-1
920 msgid ""
921 "Show list of interfaces implemented by the specified service\\&. Expects a "
922 "service address in one of the formats described above\\&."
923 msgstr ""
924
925 #. type: Plain text
926 #: debian-trixie opensuse-leap-16-1
927 msgid ""
928 "Show list of methods implemented by the specified service\\&. Expects a "
929 "service address in one of the formats described above as well as one or more "
930 "interface names\\&. If no interface name is specified, lists all methods of "
931 "all interfaces implemented by the service, otherwise just the methods in the "
932 "specified interfaces\\&."
933 msgstr ""
934
935 #. type: Plain text
936 #: debian-trixie opensuse-leap-16-1
937 msgid ""
938 "Show the interface definitions of the specified interfaces provided by the "
939 "specified service\\&. Expects a service address in one of the formats "
940 "described above and optionally one or more Varlink interface names\\&. If no "
941 "interface names are specified, shows all provided interfaces by the "
942 "service\\&."
943 msgstr ""
944
945 #. type: Plain text
946 #: debian-trixie opensuse-leap-16-1
947 msgid ""
948 "Call the specified method of the specified service\\&. Expects a service "
949 "address in the format described above, a fully qualified Varlink method "
950 "name, and a JSON arguments object\\&. If the arguments object is not "
951 "specified, it is read from STDIN instead\\&. To pass an empty list of "
952 "parameters, specify the empty object \"{}\"\\&."
953 msgstr ""
954
955 #. type: Plain text
956 #: debian-trixie opensuse-leap-16-1
957 msgid "The reply parameters are written as JSON object to STDOUT\\&."
958 msgstr ""
959
960 #. type: Plain text
961 #: debian-trixie opensuse-leap-16-1
962 msgid "Show command syntax help\\&."
963 msgstr ""
964
965 #. type: Plain text
966 #: debian-trixie opensuse-leap-16-1
967 msgid ""
968 "When used with B<call>: expect multiple method replies\\&. If this flag is "
969 "set the method call is sent with the B<more> flag set, which tells the "
970 "service to generate multiple replies, if needed\\&. The command remains "
971 "running until the service sends a reply message that indicates it is the "
972 "last in the series (or if the configured timeout is reached, see below)\\&. "
973 "This flag should be set only for method calls that support this mechanism\\&."
974 msgstr ""
975
976 #. type: Plain text
977 #: debian-trixie opensuse-leap-16-1
978 msgid ""
979 "If this mode is enabled output is automatically switched to JSON-SEQ mode, "
980 "so that individual reply objects can be easily discerned\\&."
981 msgstr ""
982
983 #. type: Plain text
984 #: debian-trixie opensuse-leap-16-1
985 msgid ""
986 "This switch has no effect on the method call timeout applied by default: "
987 "regardless if B<--more> is specified or not, the default timeout will be "
988 "45s\\&. Use B<--timeout=> (see below) to change or disable the timeout\\&. "
989 "When invoking a method call that continuously returns updates it is "
990 "typically desirable to disable the timeout with B<--timeout=infinity>\\&. On "
991 "the other hand, when invoking a B<--more> method call for the purpose of "
992 "enumerating objects (which likely will complete quickly) it is typically "
993 "beneficial to leave the timeout logic enabled, for robustness reasons\\&."
994 msgstr ""
995
996 #. type: Plain text
997 #: debian-trixie opensuse-leap-16-1
998 msgid ""
999 "This is similar to B<--more> but collects all responses in a JSON array, and "
1000 "prints it, rather than in JSON_SEQ mode\\&."
1001 msgstr ""
1002
1003 #. type: Plain text
1004 #: debian-trixie opensuse-leap-16-1
1005 msgid ""
1006 "When used with B<call>: do not expect a method reply\\&. If this flag is set "
1007 "the method call is sent with the B<oneway> flag set (the command exits "
1008 "immediately after), which tells the service not to generate a reply\\&."
1009 msgstr ""
1010
1011 #. type: Plain text
1012 #: debian-trixie opensuse-leap-16-1
1013 msgid ""
1014 "Selects the JSON output formatting, one of \"pretty\" (for nicely indented, "
1015 "colorized output) or \"short\" (for terse output with minimal whitespace and "
1016 "no newlines), defaults to \"short\"\\&."
1017 msgstr ""
1018
1019 #. type: Plain text
1020 #: debian-trixie opensuse-leap-16-1
1021 msgid ""
1022 "Equivalent to B<--json=pretty> when invoked interactively from a "
1023 "terminal\\&. Otherwise equivalent to B<--json=short>, in particular when the "
1024 "output is piped to some other program\\&."
1025 msgstr ""
1026
1027 #. type: Plain text
1028 #: debian-trixie opensuse-leap-16-1
1029 msgid ""
1030 "Takes a qualified Varlink error name (i\\&.e\\&. an interface name, suffixed "
1031 "by an error name, separated by a dot; e\\&.g\\&. "
1032 "\"org\\&.varlink\\&.service\\&.InvalidParameter\")\\&. Ensures that if a "
1033 "method call fails with the specified error this will be treated as success, "
1034 "i\\&.e\\&. will cause the B<varlinkctl> invocation to exit with a zero exit "
1035 "status\\&. This option may be used more than once in order to treat multiple "
1036 "different errors as successes\\&."
1037 msgstr ""
1038
1039 #. type: Plain text
1040 #: debian-trixie opensuse-leap-16-1
1041 msgid ""
1042 "Expects a timeout in seconds as parameter\\&. By default, a timeout of 45s "
1043 "is enforced\\&. To turn off the timeout specify \"infinity\" or an empty "
1044 "string\\&."
1045 msgstr ""
1046
1047 #. type: Plain text
1048 #: debian-trixie opensuse-leap-16-1
1049 #, no-wrap
1050 msgid "# varlinkctl call ssh-exec:somehost:/usr/bin/systemd-creds org\\&.varlink\\&.service\\&.GetInfo \\*(Aq{}\\*(Aq\n"
1051 msgstr ""
1052
1053 #. type: TH
1054 #: debian-unstable
1055 #, no-wrap
1056 msgid "systemd 261~rc3"
1057 msgstr ""
1058
1059 #. type: Plain text
1060 #: debian-unstable fedora-rawhide
1061 msgid "B<varlinkctl> [OPTIONS...] serve I<METHOD> {I<CMDLINE>...}"
1062 msgstr ""
1063
1064 #. type: Plain text
1065 #: debian-unstable fedora-rawhide
1066 msgid "B<serve> I<METHOD> I<CMDLINE\\&...>"
1067 msgstr ""
1068
1069 #. type: Plain text
1070 #: debian-unstable fedora-rawhide
1071 msgid ""
1072 "Run a Varlink server that accepts protocol upgrade requests for the "
1073 "specified method and connects the upgraded connection to the standard input "
1074 "and output of the specified command\\&. This can act as a server-side "
1075 "counterpart to B<call> B<--upgrade>\\&."
1076 msgstr ""
1077
1078 #. type: Plain text
1079 #: debian-unstable fedora-rawhide
1080 msgid ""
1081 "The listening socket must be passed via socket activation (i\\&.e\\&. the "
1082 "I<$LISTEN_FDS> protocol), making this command suitable for use in socket-"
1083 "activated service units\\&. When a client calls the specified method with "
1084 "the upgrade flag, the server sends a reply confirming the upgrade, then "
1085 "forks and executes the given command line with the upgraded connection on "
1086 "its standard input and output\\&."
1087 msgstr ""
1088
1089 #. type: Plain text
1090 #: debian-unstable fedora-rawhide
1091 msgid ""
1092 "This effectively turns any command that speaks a protocol over standard "
1093 "input/output into a Varlink service, discoverable via the service registry "
1094 "and authenticated via socket credentials\\&. Because each connection is "
1095 "handled by a forked child process, the service unit can apply systemd\\*(Aqs "
1096 "sandboxing options (such as I<ProtectSystem=>, etc\\&.) and does not operate "
1097 "in the caller\\*(Aqs environment\\&."
1098 msgstr ""
1099
1100 #. type: Plain text
1101 #: debian-unstable fedora-rawhide
1102 msgid "Added in version 261\\&."
1103 msgstr ""
1104
1105 #. type: Plain text
1106 #: debian-unstable fedora-rawhide
1107 msgid "B<--upgrade>"
1108 msgstr ""
1109
1110 #. type: Plain text
1111 #: debian-unstable fedora-rawhide
1112 msgid ""
1113 "When used with B<call>: request a protocol upgrade\\&. The method call is "
1114 "sent with the B<upgrade> flag set\\&. The service is expected to send a "
1115 "single reply confirming the upgrade\\&. After the reply, the Varlink "
1116 "protocol is no longer in effect on the connection\\&."
1117 msgstr ""
1118
1119 #. type: Plain text
1120 #: debian-unstable fedora-rawhide
1121 msgid ""
1122 "If B<--exec> is not specified, B<varlinkctl> acts as a bidirectional proxy: "
1123 "data read from standard input is forwarded to the upgraded connection, and "
1124 "data received from the connection is written to standard output\\&."
1125 msgstr ""
1126
1127 #. type: Plain text
1128 #: debian-unstable fedora-rawhide
1129 msgid ""
1130 "If B<--exec> is specified, the upgraded connection socket is placed on both "
1131 "standard input and standard output of the invoked process\\&. This is "
1132 "similar to the regular B<--exec> behavior (without B<--upgrade>), which "
1133 "places the method call reply on standard input\\&. The invoked process can "
1134 "thus simply read from and write to stdin/stdout to communicate over the "
1135 "upgraded protocol\\&."
1136 msgstr ""
1137
1138 #. type: Plain text
1139 #: debian-unstable fedora-rawhide
1140 msgid ""
1141 "This option may not be combined with B<--more>, B<--oneway>, B<--collect>, "
1142 "B<--graceful=>, or B<--push-fd=>\\&."
1143 msgstr ""
1144
1145 #. type: Plain text
1146 #: debian-unstable fedora-rawhide
1147 msgid ""
1148 "B<Example\\ \\&5.\\ \\&Serving a Sandboxed Decompressor via Protocol Upgrade>"
1149 msgstr ""
1150
1151 #. type: Plain text
1152 #: debian-unstable fedora-rawhide
1153 msgid ""
1154 "The following socket and service units expose B<xz> decompression as a "
1155 "Varlink service\\&. Clients connect and send compressed data over the "
1156 "upgraded connection, receiving decompressed output in return\\&."
1157 msgstr ""
1158
1159 #. type: Plain text
1160 #: debian-unstable fedora-rawhide
1161 #, no-wrap
1162 msgid ""
1163 "# /etc/systemd/system/varlink-decompress-xz\\&.socket\n"
1164 "[Socket]\n"
1165 "ListenStream=/run/varlink/registry/com\\&.example\\&.Decompress\\&.XZ\n"
1166 msgstr ""
1167
1168 #. type: Plain text
1169 #: debian-unstable fedora-rawhide
1170 #, no-wrap
1171 msgid ""
1172 "[Install]\n"
1173 "WantedBy=sockets\\&.target\n"
1174 msgstr ""
1175
1176 #. type: Plain text
1177 #: debian-unstable fedora-rawhide
1178 #, no-wrap
1179 msgid ""
1180 "# /etc/systemd/system/varlink-decompress-xz\\&.service\n"
1181 "[Service]\n"
1182 "ExecStart=varlinkctl serve com\\&.example\\&.Decompress\\&.XZ xz -d\n"
1183 "DynamicUser=yes\n"
1184 "PrivateNetwork=yes\n"
1185 "ProtectSystem=strict\n"
1186 "ProtectHome=yes\n"
1187 "NoNewPrivileges=yes\n"
1188 "SystemCallFilter=~@privileged @resources\n"
1189 "MemoryMax=256M\n"
1190 msgstr ""
1191
1192 #. type: Plain text
1193 #: debian-unstable fedora-rawhide
1194 msgid "A client can then decompress data through this service:"
1195 msgstr ""
1196
1197 #. type: Plain text
1198 #: debian-unstable fedora-rawhide
1199 #, no-wrap
1200 msgid ""
1201 "$ echo \"hello\" | xz | varlinkctl call --upgrade \\e\n"
1202 " unix:/run/varlink/registry/com\\&.example\\&.Decompress\\&.XZ \\e\n"
1203 " com\\&.example\\&.Decompress\\&.XZ \\*(Aq{}\\*(Aq\n"
1204 "hello\n"
1205 msgstr ""
1206
1207 #. type: Plain text
1208 #: debian-unstable fedora-rawhide
1209 msgid ""
1210 "For quick testing without unit files, B<systemd-socket-activate> can be used "
1211 "to provide the listening socket:"
1212 msgstr ""
1213
1214 #. type: Plain text
1215 #: debian-unstable fedora-rawhide
1216 #, no-wrap
1217 msgid ""
1218 "$ systemd-socket-activate -l /tmp/decompress\\&.sock -- varlinkctl serve com\\&.example\\&.Decompress\\&.XZ xz -d &\n"
1219 "$ echo \"hello\" | xz | varlinkctl call --upgrade unix:/tmp/decompress\\&.sock com\\&.example\\&.Decompress\\&.XZ \\*(Aq{}\\*(Aq\n"
1220 "hello\n"
1221 msgstr ""
1222
1223 #. type: TH
1224 #: fedora-44
1225 #, no-wrap
1226 msgid "systemd 259.5"
1227 msgstr ""
1228
1229 #. type: Plain text
1230 #: fedora-44 mageia-cauldron opensuse-tumbleweed
1231 msgid ""
1232 "B<varlinkctl> [OPTIONS...] --exec\\ call call I<ADDRESS> I<METHOD> "
1233 "I<ARGUMENTS> -- I<CMDLINE>"
1234 msgstr ""
1235
1236 #. type: TH
1237 #: fedora-rawhide
1238 #, no-wrap
1239 msgid "systemd 261~rc2"
1240 msgstr ""
1241
1242 #. type: TH
1243 #: mageia-cauldron
1244 #, no-wrap
1245 msgid "systemd 258.7"
1246 msgstr ""
1247
1248 #. type: TH
1249 #: opensuse-tumbleweed
1250 #, no-wrap
1251 msgid "systemd 260.1"
1252 msgstr ""