Skip to main content
Topic: [runit] connmand does not terminate properly, delaying shutdown process (Read 616 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[runit] connmand does not terminate properly, delaying shutdown process

Hey guys,

on my Artix runit install I am using connman as my wifi manager. Everything works fine so far but I have noticed that my laptop takes a long while to shut down. The problem seems to be connmand:

Code: [Select]
kill: run: /run/runit/service/connmand: (pid 998) 37070s, want down, got TERM

Since everything works fine when the system is up I don't know, how to properly troubleshoot this problem. The problem occurs every time I shut down the system. I've also searched the web/this forum for answers or hints but could not find any.

I would really like to understand what the problem here is. Do you guys have some direction to put me to or have experienced similar behavior?

Here might be some useful information:
Code: [Select]
$ lspci | egrep -i --color 'network|ethernet|wireless|wi-fi'
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
Code: [Select]
$ uname -r
5.16.16-artix1-1

And for the whole list:
Code: [Select]
$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card
Reader (rev 01)

Re: [runit] connmand does not terminate properly, delaying shutdown process

Reply #1
I have the exact same problem wirth Artix/runit/connman/wifi combination.

If I do first:

Code: [Select]
sudo sv down connmand

everything is fine (command executes successfully) and reboot / shutdown are fast again.

Re: [runit] connmand does not terminate properly, delaying shutdown process

Reply #2
Then it seems that the shutdown process causes the connmand service to not terminate properly...

Re: [runit] connmand does not terminate properly, delaying shutdown process

Reply #3
It's possible that runit gets stuck in a loop of constantly killing and respawing the daemon.