Closed
Description
Maintainer: @hnyman
Environment: (x86_64, OpenWrt 21.02.0-rc3 r16172-2aba3e9784)
Description:
irqbalance fails to start and logs:
Fri Jun 18 17:11:47 2021 daemon.warn /usr/sbin/irqbalance: Daemon couldn't be bound to the file-based socket.
This issue was reported in June 2020 and the /run/irqbalance/ path issue was patched out, is this a regression?
See #12377 and 4f0c847.
Running strace shows it failing because /etc/ld-musl-x86_64.path does not exist:
# strace /usr/sbin/irqbalance
execve("/usr/sbin/irqbalance", ["/usr/sbin/irqbalance"], 0x7ffeb6885d70 /* 13 vars */) = 0
arch_prctl(ARCH_SET_FS, 0x7fe825254d48) = 0
set_tid_address(0x7fe825255334) = 20526
open("/etc/ld-musl-x86_64.path", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=73744, ...}) = 0
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\r0\0\0\0\0\0\0"..., 960) = 960
mmap(NULL, 81920, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe8251cd000
mmap(0x7fe8251d0000, 49152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x3000) = 0x7fe8251d0000
mmap(0x7fe8251dc000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x7fe8251dc000
mmap(0x7fe8251df000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x7fe8251df000
close(3) = 0
mprotect(0x7fe8251df000, 4096, PROT_READ) = 0
mprotect(0x7fe825251000, 4096, PROT_READ) = 0
mprotect(0x419000, 4096, PROT_READ) = 0
brk(NULL) = 0x2249000
brk(0x224a000) = 0x224a000
brk(0x224f000) = 0x224f000
rt_sigprocmask(SIG_BLOCK, [HUP INT USR1 USR2 TERM], [], 8) = 0
geteuid() = 0
chdir("/") = 0
open("/dev/null", O_RDWR) = 3
dup2(3, 0) = 0
dup2(3, 1) = 1
dup2(3, 2) = 2
close(3) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [HUP INT USR1 USR2 TERM], 8) = 0
fork() = 20527
rt_sigprocmask(SIG_SETMASK, [HUP INT USR1 USR2 TERM], NULL, 8) = 0
exit_group(0) = ?
+++ exited with 0 +++
EDIT:
As suggested by @jow- I re-ran as strace -f /usr/sbin/irqbalance and the output is at https://gist.github.com/Strykar/6ee784bd20e3c2b36e55c9e50a63df0f
Metadata
Metadata
Assignees
Labels
No labels