You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the fcntl(2) manpage, the EBADF error happens under those condititions:
EBADF
The fildes argument is not a valid open file descriptor.
The cmd argument is F_SETLK, F_SETLK64, F_SETLKW, or F_SETLKW64,
the type of lock, l_type, is a shared lock (F_RDLCK), and fildes is
not a valid file descriptor open for reading; or the type of lock
l_type is an exclusive lock (F_WRLCK) and fildes is not a valid
file descriptor open for writing.
and indeed truss reveals that the file has been opened read-only:
Describe the bug
A clear and concise description of what the bug is.
When building/installing munin 2.0.73 on current Solaris 11.4,
munin-asyncd
wouldn't start.To Reproduce
Steps to reproduce the behavior:
Start
munin-asyncd
as usermunin
.Expected behavior
munin-asyncd
should just start running.Screenshots & Logs
Instead, it fails with
Running it under
truss
(the Solaris syscall tracer), one seesAccording to the
fcntl(2)
manpage, theEBADF
error happens under those condititions:and indeed
truss
reveals that the file has been opened read-only:Desktop (please complete the following information):
Additional context
I've managed to work around/fix the problem with the following patchlet to
lib/perl5/Munin/Common/SyncDictFile.pm
:It allowed
munin-asyncd
to start and it's collecting data for the configured plugins just fine.The text was updated successfully, but these errors were encountered: