Skip to contentSkip to conversation

package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)

PATCH New Peter Seiderer 3 participants 7 messages Feb 20, 2021 – Feb 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)

- 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

---
 package/irqbalance/S13irqbalance | 3 +++
 1 file changed, 3 insertions(+)
package/irqbalance/S13irqbalance +3 -0
index b06a3372e9..d0f6adda71 100644
@@ -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: "
Signature · 1 line
2.30.1
#1 lore raw

PATCH 1/2 package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)

Quoted 11 lines · Peter Seiderer

- 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

Regards,
Peter

Quoted 19 lines
---
 package/irqbalance/S13irqbalance | 3 +++
 1 file changed, 3 insertions(+)
package/irqbalance/S13irqbalance +3 -0
index b06a3372e9..d0f6adda71 100644
@@ -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 lore raw

PATCH 2/2 package/irqbalance: fix systemd startup script (add RuntimeDirectory)

In reply to Peter Seiderer

- 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

---
 package/irqbalance/irqbalance.service | 1 +
 1 file changed, 1 insertion(+)
package/irqbalance/irqbalance.service +1 -0
index 9ba3be43bb..39574877fb 100644
@@ -3,6 +3,7 @@ Description=irqbalance daemon
 After=syslog.target
 
 [Service]
+RuntimeDirectory=irqbalance
 ExecStart=/usr/sbin/irqbalance --foreground
 
 [Install]
Signature · 1 line
2.30.1
#3 lore raw

PATCH 2/2 package/irqbalance: fix systemd startup script (add RuntimeDirectory)

Quoted 11 lines · Peter Seiderer

- 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

Regards,
Peter

Quoted 17 lines
---
 package/irqbalance/irqbalance.service | 1 +
 1 file changed, 1 insertion(+)
package/irqbalance/irqbalance.service +1 -0
index 9ba3be43bb..39574877fb 100644
@@ -3,6 +3,7 @@ Description=irqbalance daemon
 After=syslog.target
 
 [Service]
+RuntimeDirectory=irqbalance
 ExecStart=/usr/sbin/irqbalance --foreground
 
 [Install]
#4 lore raw

PATCH 2/2 package/irqbalance: fix systemd startup script (add RuntimeDirectory)

In reply to Peter Seiderer
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Seiderer <[email protected]> writes:

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

Fixes:

Quoted 7 lines

- 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

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

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 1/2 package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)

In reply to Peter Seiderer

Peter, All,

On 2021-02-20 17:33 +0100, Peter Seiderer spake thusly:

Quoted 5 lines

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

Fixes:

Quoted 7 lines

- 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

Series of 2 applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 25 lines
---
 package/irqbalance/S13irqbalance | 3 +++
 1 file changed, 3 insertions(+)
package/irqbalance/S13irqbalance +3 -0
index b06a3372e9..d0f6adda71 100644
@@ -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: "
Signature · 6 lines
2.30.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#6 lore raw

PATCH 1/2 package/irqbalance: fix sysv startup script (add mkdir /run/irqbalance)

In reply to Peter Seiderer
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Seiderer <[email protected]> writes:

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

Fixes:

Quoted 7 lines

- 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

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

Signature · 1 line
Bye, Peter Korsgaard