On Thursday, 23 December 2021 20:27:23 AEDT Duncan Roe via luv-main wrote:
> I think you need to use *strace -f*. This will show system calls from all
> threads.
>
> FUTEX_WAIT_PRIVATE can only wait for another thread in your process, so
> 'strace -f' should show the other thread's wait on the same futex.
>
> The 50s delay sounds to me like an unsuccessful DNS lookup. Maybe the other
> thread did one - 'strace -f' should show that.
Thanks for pointing that out. DNS seems OK, but the below is in the strace
output, so it looks like a udisks issue.
[pid 143648] sendmsg(15, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="l\1\1\1\235\0\0\0\7\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/
freedesktop/
DBus\0\0\0\6\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\3\1s\0\10\0\0\0AddMatch\0\0\0\0\0\0\0\0\10\1g\0\1s\0\0",
iov_len=144},
{iov_base="\230\0\0\0type='signal',sender='org.freedesktop.UDisks2',path='/
org/freedesktop/
UDisks2',interface='org.freedesktop.DBus.ObjectManager',member='InterfacesRemoved'\0",
iov_len=157}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) =
301
I noticed that upower.service had failed due to "upower.service: Failed to set
up user namespacing: No space left on device" which turned out to be due to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940933
So I edited /usr/lib/sysctl.d/10-hardening.conf to comment out the
max_user_namespaces setting and it was fine.
So the cause was the hardening-runtime package preventing systemd from running
the dbus services it wants.
Thanks for the advice!
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
_______________________________________________
luv-main mailing list -- [email protected]
To unsubscribe send an email to [email protected]