Artix Linux Forum

Init systems => runit => Topic started by: capezotte on 31 August 2021, 20:11:29

Title: cryptsetup hangs on shutdown (+typos)
Post by: capezotte on 31 August 2021, 20:11:29
Not something that affects me personally, but that I've seen two reports of on Telegram.

Cryptsetup hangs on shutdown, and the only known solution is unmounting and closing before shutdown.

https://t.me/artixlinux/330226
https://t.me/artixlinux/330237
https://t.me/artixlinux/330862

Claims to be "lobking" (rather than locking) too.
Title: Re: cryptsetup hangs on shutdown (+typos)
Post by: jzS6qNc on 02 September 2021, 23:27:42
I can confirm, I just wanted to post the question. I can't power down my machine without just unplugging it, I don't think that's good.
Code: [Select]
sdb                        disk
├─sdb1                part
├─sdb2                part  /boot
└─sdb3                part
  └─vg0                crypt
    ├─vg0-swap  lvm   [SWAP]
    └─vg0-root    lvm   /
I get the following message:
Code: [Select]
:: Lobking encrypted devices
device vg0 is still active and scheduled for deferred removal.
Title: Re: cryptsetup hangs on shutdown (+typos)
Post by: itzthecaptain on 04 September 2021, 05:47:04
I can confirm this as well. Precisely the same issue.
I just reinstalled my system as I wanted additional security and ran into this problem.

For clarity, I myself am running the Cinnamon runit image.

I've attached a screenshot of tty1 on shutdown as tty7 just hangs.
Title: Re: cryptsetup hangs on shutdown (+typos)
Post by: konimex on 04 September 2021, 11:08:29
Yes. I can reproduce it as well. Pushed cryptsetup-runit-20210904 to fix the hang. You can download it immediately on mirror1 or wait for it to arrive at your favourite mirror.
Title: Re: cryptsetup hangs on shutdown (+typos)
Post by: itzthecaptain on 12 September 2021, 11:22:32
Yes. I can reproduce it as well. Pushed cryptsetup-runit-20210904 to fix the hang. You can download it immediately on mirror1 or wait for it to arrive at your favourite mirror.

Sorry it's a little late, thank you very much for your quick response. It works a treat. Glad to see how well the community is supported.