Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1 1/2] package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)
@ 2021-02-20 16:33 Peter Seiderer
  2021-02-20 16:33 ` [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory) Peter Seiderer
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Peter Seiderer @ 2021-02-20 16:33 UTC (permalink / raw)
  To: buildroot

- add mkdir -p /run/irqbalance to sysv startup script needed to
  create socket /run/irqbalance/irqbalance<pid>.sock

Fixes:

  - Bug 13541 [1]

  daemon.warn /usr/sbin/irqbalance: 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/S13irqbalance | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/irqbalance/S13irqbalance b/package/irqbalance/S13irqbalance
index b06a3372e9..d0f6adda71 100644
--- a/package/irqbalance/S13irqbalance
+++ b/package/irqbalance/S13irqbalance
@@ -7,6 +7,9 @@ EXEC="/usr/sbin/irqbalance"
 ARGS=""
 PID="/var/run/irqbalance.pid"
 
+# for irqbalance socket /run/irqbalance/irqbalance<pid>.sock
+mkdir -p /run/irqbalance
+
 case "$1" in
     start)
 	printf "Starting irqbalance: "
-- 
2.30.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory)
  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
  2021-02-20 16:47   ` 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
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 7+ messages in thread
From: Peter Seiderer @ 2021-02-20 16:33 UTC (permalink / raw)
  To: buildroot

- 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1 1/2] package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)
  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 ` [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory) Peter Seiderer
@ 2021-02-20 16:47 ` Peter Seiderer
  2021-02-20 17:38 ` Yann E. MORIN
  2021-02-27 18:03 ` Peter Korsgaard
  3 siblings, 0 replies; 7+ messages in thread
From: Peter Seiderer @ 2021-02-20 16:47 UTC (permalink / raw)
  To: buildroot

On Sat, 20 Feb 2021 17:33:48 +0100, Peter Seiderer <ps.report@gmx.net> wrote:

> - add mkdir -p /run/irqbalance to sysv startup script needed to
>   create socket /run/irqbalance/irqbalance<pid>.sock
>
> Fixes:
>
>   - Bug 13541 [1]
>
>   daemon.warn /usr/sbin/irqbalance: Daemon couldn't be bound to the file-based socket.
>
> [1] https://bugs.busybox.net/show_bug.cgi?id=13541
>

Reported-by: Alfredo Pons Menargues <alfredo.pons@gmail.com>

Regards,
Peter

> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  package/irqbalance/S13irqbalance | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/package/irqbalance/S13irqbalance b/package/irqbalance/S13irqbalance
> index b06a3372e9..d0f6adda71 100644
> --- a/package/irqbalance/S13irqbalance
> +++ b/package/irqbalance/S13irqbalance
> @@ -7,6 +7,9 @@ EXEC="/usr/sbin/irqbalance"
>  ARGS=""
>  PID="/var/run/irqbalance.pid"
>
> +# for irqbalance socket /run/irqbalance/irqbalance<pid>.sock
> +mkdir -p /run/irqbalance
> +
>  case "$1" in
>      start)
>  	printf "Starting irqbalance: "

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory)
  2021-02-20 16:33 ` [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory) Peter Seiderer
@ 2021-02-20 16:47   ` Peter Seiderer
  2021-02-27 18:03   ` Peter Korsgaard
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Seiderer @ 2021-02-20 16:47 UTC (permalink / raw)
  To: buildroot

On Sat, 20 Feb 2021 17:33:49 +0100, Peter Seiderer <ps.report@gmx.net> wrote:

> - 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
>

Reported-by: Alfredo Pons Menargues <alfredo.pons@gmail.com>

Regards,
Peter

> 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]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1 1/2] package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)
  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 ` [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory) Peter Seiderer
  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
  3 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2021-02-20 17:38 UTC (permalink / raw)
  To: buildroot

Peter, All,

On 2021-02-20 17:33 +0100, Peter Seiderer spake thusly:
> - add mkdir -p /run/irqbalance to sysv startup script needed to
>   create socket /run/irqbalance/irqbalance<pid>.sock
> 
> Fixes:
> 
>   - Bug 13541 [1]
> 
>   daemon.warn /usr/sbin/irqbalance: 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>

Series of 2 applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/irqbalance/S13irqbalance | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/irqbalance/S13irqbalance b/package/irqbalance/S13irqbalance
> index b06a3372e9..d0f6adda71 100644
> --- a/package/irqbalance/S13irqbalance
> +++ b/package/irqbalance/S13irqbalance
> @@ -7,6 +7,9 @@ EXEC="/usr/sbin/irqbalance"
>  ARGS=""
>  PID="/var/run/irqbalance.pid"
>  
> +# for irqbalance socket /run/irqbalance/irqbalance<pid>.sock
> +mkdir -p /run/irqbalance
> +
>  case "$1" in
>      start)
>  	printf "Starting irqbalance: "
> -- 
> 2.30.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1 1/2] package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)
  2021-02-20 16:33 [Buildroot] [PATCH v1 1/2] package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance) Peter Seiderer
                   ` (2 preceding siblings ...)
  2021-02-20 17:38 ` Yann E. MORIN
@ 2021-02-27 18:03 ` Peter Korsgaard
  3 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2021-02-27 18:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:

 > - add mkdir -p /run/irqbalance to sysv startup script needed to
 >   create socket /run/irqbalance/irqbalance<pid>.sock

 > Fixes:

 >   - Bug 13541 [1]

 >   daemon.warn /usr/sbin/irqbalance: 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>

Committed to 2020.02.x and 2020.11.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory)
  2021-02-20 16:33 ` [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory) Peter Seiderer
  2021-02-20 16:47   ` Peter Seiderer
@ 2021-02-27 18:03   ` Peter Korsgaard
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2021-02-27 18:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:

 > - 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>

Committed to 2020.02.x and 2020.11.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-27 18:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Buildroot] [PATCH v1 2/2] package/irqbalance: fix systemd startup script (add RuntimeDirectory) Peter Seiderer
2021-02-20 16:47   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox