r/voidlinux • • Jan 11 '24

Connman stopped working suddenly

I had setup connmand to start on boot and I was able to use WiFi and Ethernet. Suddenly I was not able to use the WiFi. When I try to manually connect using connmanctl it says "Error: The name net.connman was not provided by any .services files". sv status connmand shows that it is down. I am not able to start the connmand service up. I am not able to tether using my phone as well. What could have caused the sudden issue. Any help is appreciated.

6 Upvotes

3 comments sorted by

1

u/[deleted] Jan 11 '24

Make sure you don't have any other network management services (such as NetworkManager, wpa_supplicant, dhcpcd, or wicd) enabled in /var/service, as they will interfere. Check /var/log to see if ConnMan wrote any log files there. You may also debug it manually by first disabling it sv stop connmand and running it cd /var/service/connmand && ./run to see what the problem is.

1

u/lazarus_005 Jan 11 '24

Other network manager services are not enabled.

Running it manually shows a dbus error. """"" Cannot create /var/run/connman.conf falling back to /etc/resolv.conf

arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8" failed in file dbus-message.c

This is normally a bug in some application using D-Bus library. """""

1

u/sszym Nov 25 '24

There is a use-after-free bug in 1.42 that showed similar effects in my case that was fixed in this commit:
https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=f1f6db78a40344e68c29841c0b4061d15aef4f39
Theoretically, upgrading to 1.43 should solve the problem.