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 Wednesday, 21-May-2025 22:04:47 JST Lennart Poettering Lennart Poettering

    …is check the logs for the unit, i.e. run "journalctl -u …" on the unit.

    With v258 there's now a combined way to do this. If you add the -v switch to your "systemctl start" invocation, "verbose" mode will be invoked, which means the logs will displayed "live" covering the time span when the start operation is started until the start operation completed.

    This has been a much requested feature – I figure some of you probably even looked for this feature personally already.

    In conversation about a month ago from mastodon.social permalink
    • Johnny Peligro likes this.
    • Embed this notice
      Lennart Poettering (pid_eins@mastodon.social)'s status on Wednesday, 21-May-2025 22:04:58 JST Lennart Poettering Lennart Poettering
      in reply to

      Thus you might ask: why did it take so long to actually implement this? Well, simply because it's really hard to to implement, much harder than it might sound on the surface at first:

      in order to make the logic work correctly we need to ensure two things: first, the live log output must be fully established by the time the start operation is enqueued. That's relatively easy to make sure. But the other thing is that we must continue the log output until the the start operation completed…

      In conversation about a month ago permalink
      Johnny Peligro likes this.
    • Embed this notice
      Lennart Poettering (pid_eins@mastodon.social)'s status on Wednesday, 21-May-2025 22:05:08 JST Lennart Poettering Lennart Poettering
      in reply to

      …and all log messages queued at that point are fully processed and shown. And only once that part is complete, systemctl start -v may exit.

      And the last part is the nasty bit: ensuring that all log messages enqueued at the moment the start operation completed are fully processed before we stop the log output. That's because journald takes log stream from a multitude of sources: classic syslog AF_UNIX, modern systemd AF_UNIX, stdout/stderr stream sockets, kernel kmsg and more.

      In conversation about a month ago permalink
      Johnny Peligro likes 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.