Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory)
Date: Sat, 20 Feb 2021 17:33:49 +0100	[thread overview]
Message-ID: <20210220163349.25244-2-ps.report@gmx.net> (raw)
In-Reply-To: <20210220163349.25244-1-ps.report@gmx.net>

- add RuntimeDirectory=irqbalance to create /run/irqbalanace needed to
  create socket /run/irqbalance/irqbalance<pid>.sock

Fixes:

  - Bug 13541 [1]

  /usr/sbin/irqbalance[158]: Daemon couldn't be bound to the file-based socket.

[1] https://bugs.busybox.net/show_bug.cgi?id=13541

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/irqbalance/irqbalance.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/irqbalance/irqbalance.service b/package/irqbalance/irqbalance.service
index 9ba3be43bb..39574877fb 100644
--- a/package/irqbalance/irqbalance.service
+++ b/package/irqbalance/irqbalance.service
@@ -3,6 +3,7 @@ Description=irqbalance daemon
 After=syslog.target
 
 [Service]
+RuntimeDirectory=irqbalance
 ExecStart=/usr/sbin/irqbalance --foreground
 
 [Install]
-- 
2.30.1

  reply	other threads:[~2021-02-20 16:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 16:33 [Buildroot] [PATCH v1 1/2] package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance) Peter Seiderer
2021-02-20 16:33 ` Peter Seiderer [this message]
2021-02-20 16:47   ` [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory) Peter Seiderer
2021-02-27 18:03   ` Peter Korsgaard
2021-02-20 16:47 ` [Buildroot] [PATCH v1 1/2] package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance) Peter Seiderer
2021-02-20 17:38 ` Yann E. MORIN
2021-02-27 18:03 ` Peter Korsgaard

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=20210220163349.25244-2-ps.report@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /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