All of lore.kernel.org
 help / color / mirror / Atom feed
From: GitHub issues - opened <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: feature request: do not make hdajackretask hard depend on systemd or provide the functionality for openrc/other init systems
Date: Tue, 26 May 2026 23:53:26 +0200 (CEST)	[thread overview]
Message-ID: <18b33c240f23ae00-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <18b33c240f02b000-webhooks-bot@alsa-project.org>

alsa-project/alsa-tools issue #46 was opened from ingenarel:

currently, at the time of writing this, hdajackretask calls systemctl directly
https://github.com/alsa-project/alsa-tools/blob/d444519df40d52de3903513a14085a0619f688db/hdajackretask/apply-changes.c#L137

which makes it not work on non systemd systems, for example openrc, which i'm currently using

with systemd's recent controversies with age verification and everything, more and more users are trying out alternative init systems and using non systemd systems in a day to day basis, but hdajackretask does not work on that

for the fix, i have an idea:
hdajackretask could try to detect what init system is running, and it could then run the appropriate commands, if it's unable to detect the init system, or fail to run the commands, it could then open a prompt saying:

```
unable to (detect the init system OR run command OR basically wtv happend)
please run these commands or their equivalent manually
systemctl systemctlstuff
```

if hdajackretask needs to do more stuff afterwards, the prompt can just wait after the user clicks "done" or something, and then it could continue doing the rest of the stuff

if upstream decides to do this functionality, then they could also add the logic for openrc/other init systems or anything whenever they want, without breaking the rest of the stuff

Issue URL     : https://github.com/alsa-project/alsa-tools/issues/46
Repository URL: https://github.com/alsa-project/alsa-tools

           reply	other threads:[~2026-05-26 21:54 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <18b33c240f02b000-webhooks-bot@alsa-project.org>]

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=18b33c240f23ae00-webhooks-bot@alsa-project.org \
    --to=github@alsa-project.org \
    --cc=alsa-devel@alsa-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.