GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Lennart Poettering (pid_eins@mastodon.social)'s status on Tuesday, 03-Dec-2024 04:12:04 JST Lennart Poettering Lennart Poettering

    2️⃣3️⃣ Here's the 23rd post highlighting key new features of the upcoming v257 release of systemd. #systemd257

    In systemd, as mentioned in one of the previous installments, we are adopting the Varlink IPC at more and more places.

    To interface with Varlink IPC from the command line we provide the "varlinkctl" tool. "varlinkctl introspect <socket>" for example introspects which method calls, types, and errors a service provides. Similar, "varlinkctl call <socket> <method> <json>" calls a method.

    In conversation Tuesday, 03-Dec-2024 04:12:04 JST from mastodon.social permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      places.to - places リソースおよび情報
      places.to は、あなたがお探しの情報の全ての最新かつ最適なソースです。一般トピックからここから検索できる内容は、places.toが全てとなります。あなたがお探しの内容が見つかることを願っています!
    • Embed this notice
      Lennart Poettering (pid_eins@mastodon.social)'s status on Tuesday, 03-Dec-2024 04:12:03 JST Lennart Poettering Lennart Poettering
      in reply to

      … connect to remote AF_UNIX socket, execute remote binary), are also accessible via sd-varlink.

      Or in other words: it's now almost as easy to talk to a local Varlink socket as it is to talk to a remote one.

      (This is super handy in combination with the AF_VSOCK support we provide for SSH'ing into local VMs, added in v256).

      And that's it for today!

      In conversation Tuesday, 03-Dec-2024 04:12:03 JST permalink
    • Embed this notice
      Lennart Poettering (pid_eins@mastodon.social)'s status on Tuesday, 03-Dec-2024 04:12:04 JST Lennart Poettering Lennart Poettering
      in reply to

      Here are two examples using that:

      varlinkctl introspect /run/systemd/io.systemd.Credentials

      and

      varlinkctl call /run/systemd/io.systemd.Credentials io.systemd.Credentials.Encrypt '{"text":"foobar"}'

      The 2nd argument always specifies the entrypoint socket to talk to. In most cases where you call this locally that's the file system path of an AF_UNIX socket. However this can also be the path to an executable, in which case the executable is invoked and told via $LISTEN_FDNAMES (i.e.

      In conversation Tuesday, 03-Dec-2024 04:12:04 JST permalink
    • Embed this notice
      Lennart Poettering (pid_eins@mastodon.social)'s status on Tuesday, 03-Dec-2024 04:12:04 JST Lennart Poettering Lennart Poettering
      in reply to

      the usual systemd socket activation protocol) that it shall respond to Varlink queries via a passed in socket fd.

      The path may also be prefixed with "ssh-unix:" in which case an SSH connection is made to some remote Varlink service.

      New with v257 is that "ssh-exec:" is now also available which also sets up an SSH connection, but invokes a specified binary on the remote side, talking to it via standard input/output.

      All four ways to communicate (connect to AF_UNIX socket, execute binary, …

      In conversation Tuesday, 03-Dec-2024 04:12:04 JST permalink
      alcinnz repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.