Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR REVIEW] wireplumber: Add runit service
Date: Wed, 30 Mar 2022 14:37:33 +0200	[thread overview]
Message-ID: <20220330123733.X5OVmnx3FH5MlLqZFGz_FWVakjEB53WZl7cJBwIwU44@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36416@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/36416#discussion_r838491204

Comment:
`sv check pipewire` can't tell you if pipewire is running. It will only tell you if the service is linked in the service directory. For example, I believe `sv down pipewire` will still cause `sv check pipewire` to return success.

This works as most people expect for `sv check dbus` because `/etc/sv/dbus/check` exists and actually requires that the system bus be reachable before returning success. However, the pipewire service defines no `check` script so the check doesn't provide any real information.

If wireplumber *can* start before pipewire and will still do the right thing once the pipewire process is running, I would just drop the check altogether. If wireplumber dies when it starts before pipewire is running, dropping the check is OK too, because the service will just be retried until pipewire is up. However, if wireplumber starts but gets itself into an unrecoverable state (*e.g.*, starts its own pipewire process or simply hangs forever because it didn't find pipewire at startup) then something needs to be figured out to determine that pipewire is actually functional. This could be done here, or it could be done in an `/etc/sv/pipewire/check` script to make it available to all consumers.

  parent reply	other threads:[~2022-03-30 12:37 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-30 10:42 [PR PATCH] Add wireplumber " Animeshz
2022-03-30 10:43 ` [PR PATCH] [Updated] " Animeshz
2022-03-30 11:26 ` [PR REVIEW] wireplumber: Add " ahesford
2022-03-30 11:26 ` ahesford
2022-03-30 11:26 ` ahesford
2022-03-30 11:50 ` Animeshz
2022-03-30 11:52 ` Animeshz
2022-03-30 11:52 ` Animeshz
2022-03-30 11:55 ` Animeshz
2022-03-30 11:55 ` Animeshz
2022-03-30 12:03 ` Animeshz
2022-03-30 12:03 ` Animeshz
2022-03-30 12:04 ` Animeshz
2022-03-30 12:05 ` Animeshz
2022-03-30 12:10 ` Animeshz
2022-03-30 12:30 ` ahesford
2022-03-30 12:33 ` ahesford
2022-03-30 12:37 ` ahesford [this message]
2022-03-30 12:40 ` ahesford
2022-03-30 12:53 ` Animeshz
2022-03-30 12:53 ` Animeshz
2022-03-30 13:09 ` [PR PATCH] [Updated] " Animeshz
2022-03-30 14:29 ` [PR REVIEW] " Animeshz
2022-03-30 14:31 ` [PR PATCH] [Updated] " Animeshz
2022-03-30 17:36 ` [PR REVIEW] " subnut
2022-03-30 17:40 ` subnut
2022-03-30 18:13 ` Animeshz
2022-03-30 18:18 ` Animeshz
2022-03-30 18:25 ` Animeshz
2022-03-30 18:28 ` Animeshz
2022-03-31  2:13 ` [PR PATCH] [Closed]: " ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220330123733.X5OVmnx3FH5MlLqZFGz_FWVakjEB53WZl7cJBwIwU44@z \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).