Devuan bug report logs - #271
crytpsetup: none

Package: cryptsetup; Reported by: [email protected]; Done: fsmithred <[email protected]>; Maintainer for cryptsetup is (unknown).

Message received at [email protected]:


Received: (at 271-close) by bugs.devuan.org; 8 Feb 2023 17:54:06 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 08 Feb 2023 17:54:06 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id Xd7mLazh42OvPAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 08 Feb 2023 17:53:48 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id B1B24B14; Wed,  8 Feb 2023 17:53:48 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::12c; helo=mail-il1-x12c.google.com; [email protected]; receiver=<UNKNOWN> 
Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c])
	by email.devuan.org (Postfix) with ESMTPS id 824FE84
	for <[email protected]>; Wed,  8 Feb 2023 17:53:42 +0000 (UTC)
Received: by mail-il1-x12c.google.com with SMTP id z17so4487061ilm.7
        for <[email protected]>; Wed, 08 Feb 2023 09:53:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=content-transfer-encoding:subject:from:to:content-language
         :user-agent:mime-version:date:message-id:from:to:cc:subject:date
         :message-id:reply-to;
        bh=BncnE0MRy7yYzC8djOaGkXcG64iK393IRPZ0UoL2kwU=;
        b=Hu0v0266581NmmiiwKSslg5ShcV0S16p9ip9ZGGFmGWIgvtjBZar4NCaDnglcXrlIh
         w0HfaQEnx/rlPbocj8JE5WC2dLD1O979VrXIgh+ze5RqKf9CnKyLcXu84rEz5Jcy0UMx
         6vHow8yZcNLcc97aaK0NrhV5l5v2hF8BnnRIvh7Eq0xrfS9jBMwXVukNqC867/MTQ7uO
         zUNWArYg+AH0VYeLN+6BNiT0m7GW9DmmMrGFfiAiJdooiYfZgeosIAdLUAjZaUs6AEpE
         +tYGaQSBV+kksMucVO4Sbp2X+D0TINDaffbFPNOg3lEabLffKXTNmI5PIIFbaYZ3Gsfc
         bB1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=content-transfer-encoding:subject:from:to:content-language
         :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
         :cc:subject:date:message-id:reply-to;
        bh=BncnE0MRy7yYzC8djOaGkXcG64iK393IRPZ0UoL2kwU=;
        b=ajyxVA0OLmCdHdy/gkwLNQQyYV7By/qfCBaZa47Cit4nRgqMACuJWgKep2cP/sRAhs
         MlWBLvGUC3AUk0SRWGYfEqCztGMIzIHWsTXtF/FditxUMHTHZ2T4L0/5YUim63V+3hkf
         UYR5yN8iFOZEktdqHHx/JTqSVN47ZALSOsxRhXQDkIDpniptg+qVzdjNhHfnVw+ZfAcP
         xpnqS0qpQVCFdO+ycb61GcWIA84xY7TkFI6gRC0vnPWYL4hFXNNq2/yDRYE0oFvMtN/i
         CiUPAS275HIDgM3M+bgvWHrVGaVjR5o6nlKcb3HCRYt9tLzpnhTsEgiYLWypSW4KrIvv
         ThKA==
X-Gm-Message-State: AO0yUKVGR7h/19/tCcnIy1ohLhNXXDHxMud2waDpMV3fC2O9zKmvk6B2
	ZT8i191z+TLb3qXUVAMfFi4HyQaGtEQ=
X-Google-Smtp-Source: AK7set9vU/NUd3iWsyluqZIRaY9Ge95EEsPIIelZEbSQXzWlCZ4cGlP4HMbae7YInJRpAXzRoncuhQ==
X-Received: by 2002:a05:6e02:1e08:b0:310:dc99:a878 with SMTP id g8-20020a056e021e0800b00310dc99a878mr8937096ila.32.1675878819879;
        Wed, 08 Feb 2023 09:53:39 -0800 (PST)
Received: from [192.168.42.37] ([67.143.160.196])
        by smtp.googlemail.com with ESMTPSA id bo14-20020a056638438e00b0039e8c12414asm5516995jab.164.2023.02.08.09.53.35
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Wed, 08 Feb 2023 09:53:39 -0800 (PST)
Message-ID: <[email protected]>
Date: Wed, 8 Feb 2023 12:53:27 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.3.0
Content-Language: en-US
To: [email protected]
From: fsmithred <[email protected]>
Subject: cryptsetup resume error
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

close

Fixed in beowulf by addition of package cryptsetup-modified-functions

Notification sent to [email protected]:
bug acknowledged by developer. Full text available.
Reply sent to fsmithred <[email protected]>:
You have taken responsibility. Full text available.

Message received at [email protected]:


Received: (at 271) by bugs.devuan.org; 24 Feb 2019 16:40:07 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 24 Feb 2019 17:40:07 +0100 (CET)
Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 4B021F60C0D
	for <[email protected]>; Sun, 24 Feb 2019 17:34:02 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="pB187suD";
	dkim-atps=neutral
Received: by mail-qt1-f195.google.com with SMTP id a48so7947375qtb.4
        for <[email protected]>; Sun, 24 Feb 2019 08:34:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=subject:references:to:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-language;
        bh=zzmFtdMZn+G7a4aJ8marMDi8krFDZAM9grOuwzocbPM=;
        b=pB187suD5+FpOn1ELQkeYFxT+kV8XM18WqLuN9TwYhpflKEMbtF/CgzHB+tE2yp3vQ
         yO0dvckhLi2JReQDwrX5YGz8nylCuj8LL0bhEmIFJqjCr9eNHZFXE+PG1nGHCZ94ybAd
         QmPlOUopdZFAuKehvpPp0WxEM3LnmVvuaNyvQoqusN4pMgZ7fO6OwlrQDBwgV5gpbqJL
         ER6GtGgBOCxGpAkWhgpb9oTeRGbkpKhLl/afVMsC6nfaqC54Iar+S+jyT4nJmgtN1Rzy
         XTzO4cQRUvP9QFoCl9VfuiAxMzuVAGGaiX3PYbhUSoFYYItSIRFhtLT55NG7uljRMnRl
         auww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:references:to:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-language;
        bh=zzmFtdMZn+G7a4aJ8marMDi8krFDZAM9grOuwzocbPM=;
        b=lUS6vM5JxxE29mEtiiK6lWQRpMCQ4IXszLIbmPr5sma8X0jDl0iwNvkF53tsmOk3SO
         rPu6XEi6Y3DrJzbsD4tN4QEh7rY9Z6JaY8ZTL5thaQNjcy2Zc20/4/n2HSlgXNY/KRen
         ym67BFiGEQJyBDw+o3PJsX+UDniWzOVrf89FGLW5lgzkMdCsFbB2nE6hA7fmA+j2SIys
         O157A9Rcc1eo6tgt23dhAN/5vg7WRB+bi0vu4SYsacc4e1GpepYdMlQjvsdQSSX9l9os
         w9T3psV4cSLCrrmdSAGmUVWEwP88Ze4VZ8l0re/x+gQLf7rxAdwQ6CzioAGvulHdoakZ
         mEjg==
X-Gm-Message-State: AHQUAuYUp2/K6RwlOt+dJ8MPf4KvyCZBzpYM8Bnx79dmklEF0GovpilS
	GgdJvG5VI/C8mBkCe0eHPfKNmqRc
X-Google-Smtp-Source: AHgI3IbsPsqTvMHFMVHjV0F9AGAFAs+UJqhJqPd/KaMXGiM6NWcmFMxfSWx4FeMrg0f7HhTGx+drFA==
X-Received: by 2002:ac8:3f98:: with SMTP id d24mr10539176qtk.219.1551026040419;
        Sun, 24 Feb 2019 08:34:00 -0800 (PST)
Received: from [192.168.1.41] (047-014-239-165.res.spectrum.com. [47.14.239.165])
        by smtp.googlemail.com with ESMTPSA id g2sm3903851qkc.72.2019.02.24.08.33.59
        for <[email protected]>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 24 Feb 2019 08:33:59 -0800 (PST)
Subject: Re: [Devuan-bugs] bug#271: same in beowulf, but
References: <[email protected]>
To: [email protected]
From: fsmithred <[email protected]>
X-Forwarded-Message-Id: <[email protected]>
Message-ID: <[email protected]>
Date: Sun, 24 Feb 2019 11:33:52 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <[email protected]>
Content-Type: multipart/mixed;
 boundary="------------F02DEE9477C62A9DEA57871C"
Content-Language: en-US
X-Spam-Status: No, score=4.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RAZOR2_CF_RANGE_51_100,
	RAZOR2_CHECK,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,
	SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Level: ***
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is a multi-part message in MIME format.
--------------F02DEE9477C62A9DEA57871C
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

On 02/01/2019 01:02 PM, Where all about bugs in Devuan packages is
reported wrote:
> cryptsetup in beowulf/ceres faces same issue. shutdown takes almost a
> minute to complete. startup takes ~5-10".
> 
> version in beowulf at the moment is 2:2.0.6-1 and a lot of things seem
> changed, but this bug still occurs.

It's still present in 2:2.1.0-1 (currently in ceres/beowulf)
I applied Jan's patch from bug#237 and it seems to be working. (my diff
attached)
https://bugs.devuan.org//cgi/bugreport.cgi?bug=237

Another user tried it and sees a cryptsetup error go by quickly on
shutdown. My shutdown goes by too fast for me to see anything.


> i believe mx package can be found here :
> http://mxrepo.com/mx/repo/pool/main/c/cryptsetup-modified-functions/

Looks like it's for the older version of cryptsetup - it uses
cryptdisk.functions instead of cryptdisk-functions

> 
> also, could this be a eudev issue like in debian?
> ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791944#305 ) and
> fixed in eudev init script like this :
> https://salsa.debian.org/systemd-team/systemd/commit/e803efca59978aa5bb1d8806247f986d0c0f7e67
> , perhaps??
> don't know much about internals, just wandering.

Those fixes are already in eudev in beowulf.

fsmithred



--------------F02DEE9477C62A9DEA57871C
Content-Type: text/x-patch;
 name="cryptdisks-functions_2.1.0-1.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="cryptdisks-functions_2.1.0-1.patch"

--- /lib/cryptsetup/cryptdisks-functions.orig	2019-02-23 18:47:10.260093106 -0500
+++ /lib/cryptsetup/cryptdisks-functions	2019-02-23 18:49:21.940097241 -0500
@@ -179,7 +179,18 @@
 
 # Removes all mappings in crypttab
 do_stop() {
+
+    local vgs vg
+
     dmsetup mknodes
+    if [ -x /sbin/lvm ]; then
+        vgs="$(/sbin/lvm vgscan | sed -n '/"/s/^.*"\([^'\'']*\)".*$/\1/p')"
+        if [ -n "${vgs}" ]; then
+          for vg in ${vgs}; do
+            /sbin/lvm vgchange -a n ${vg} >/dev/null 2>&1 
+          done 
+        fi
+    fi
     log_action_begin_msg "Stopping $INITSTATE crypto disks"
 
     crypttab_foreach_entry _do_stop_callback


--------------F02DEE9477C62A9DEA57871C--


Acknowledgement sent to fsmithred <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#271; Package cryptsetup. Full text available.

Message received at [email protected]:


Received: (at 271) by bugs.devuan.org; 1 Feb 2019 18:10:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Fri, 01 Feb 2019 19:10:02 +0100 (CET)
Received: from cacofonix.stinpriza.org (cacofonix.stinpriza.org [148.251.45.81])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id DBD77F60A91
	for <[email protected]>; Fri,  1 Feb 2019 19:01:51 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=stinpriza.org [email protected] header.b="m5s8Mfnu";
	dkim-atps=neutral
Received: from [192.168.1.111] (78-53-34.adsl.cyta.gr [78.87.53.34])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by cacofonix.stinpriza.org (Postfix) with ESMTPSA id B13132A1F4D8
	for <[email protected]>; Fri,  1 Feb 2019 20:01:50 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=stinpriza.org; s=mail;
	t=1549044110; bh=KLxZA4oduQ6tTZEeSZgpW8f+LqOrXwmnX1D4l25/tRM=;
	h=To:From:Subject:Date:From;
	b=m5s8MfnuyixbD294VDEmynI/829Nnce9lhs1bBaEaLh6x1C8viWZNUua5/LaXGy8c
	 XzZG/W5GCaVW2m3l7oe24xtAqxMbOz/C2KtFMymsas6W8RonyqPQ72MXVT3w0U0Qyv
	 pDkp/jEadzXNU9DG+y/eL0nkPKbJR5yKIKGK5Il0v/im5LhgUuJJIa4k0kq8XPalFY
	 FQ4WkvT1uJS8LRO04+G+4XLgypvp9D/Fq3dBq9V/7hh8YP+VZHfTNZS0Y4kkBXNQHm
	 zIaGHAx5P1yTgzOxCerCwVavqg2t8ZHrXydyvBFX7q2nc2kUgCqe8gbC7js5pN9V2Q
	 Rm43U8HtgVFjQ==
To: [email protected]
From: Dimitris <[email protected]>
Openpgp: preference=signencrypt
Autocrypt: [email protected]; prefer-encrypt=mutual; keydata=
 mQINBFT3A/8BEADDwSYJ2HFTO+Gego1uURdui0n95VmXK9hCkp3B8zU0YIOlek8GB9wyFmed
 Bzu3PQMVWkH29rmkD5aPjvq0ctaYpAj3i10V9BE4/6dS7rL2x4+HXod3pByHOiso/Py50bG3
 IS20z0fhnJYaQj4e35TMd+XIXAqGe5HEef+LJlzxD9XmmfrskvYt7+tmVCejH8A2Cb7mK2Ri
 fEAg3VjbBbLwbw1EVvel3grZM5vv9RCIu3kqRaoCVAI/Rbg9HOqFFajQpCtNzR5tE8PNNdzA
 d0qXdKosEvvPoKOP59xuvFO6LcizxdmGsvQLnQUnHyRNnWerdSpq22Byzw0PhxAK//eIp9gS
 V6wbm0ArudJBFdkLX4n9uXyA9yY33ReaPO4xZIr+PYF/BodkOkd10oi1Ej+CJ97F+M5VaWGK
 AqzvzsunGkdEpavpvK2uAcl3f8b5uoYGIkxo/gA8Tq7cLV84OcU3M7jKk2vhfOVLOufDobKb
 vqpwu5VGevjwXnv6qiiDVezXDy3IcxrPh6+YEBeusvRkYer3bgREYhSVBXRyqBTywGqVodQu
 +CGvwqOWHdGv+XtONaHCSdQn+33pRcD9yQ9MfoEFKxj/A6c3tlwEhbEpj+3DKhwmb8pzgp1N
 EnyowKecXuaoyGd7Ifnx0QGr1xCFN4Lnmd/IEBfc/HTCvP5U2wARAQABtCFEaW1pdHJpcyA8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Ipw55DxORIdMp
 yqoiqT39AianqmfRIJGKHaVUnZiu057Hc+95zzS143bhl/W4eM3aqv53QRi1Se6HdGQ/vrS2
 NDTYp/R9DnomKevv/Gaa/HfkRrkYuppKbguBsiH3UwX3lFyDHAz0XeKXjURnlABKIVF27fD3
 pAVg9+X8KYyvxEjo7cpgO5qKt27O8BKwr3BZMiPN8kKvVeJWT2YjHnC3ZNzX/HH0CD5I
Subject: same in beowulf, but
Message-ID: <[email protected]>
Date: Fri, 1 Feb 2019 20:02:00 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.5.0
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="ypV5vixCkyMYAuqg6eL5Ckq3kjvxca3rS"
X-Virus-Scanned: clamav-milter 0.100.2 at cacofonix.stinpriza.org
X-Virus-Status: Clean
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ypV5vixCkyMYAuqg6eL5Ckq3kjvxca3rS
Content-Type: multipart/mixed; boundary="xcpsA7oljMOnlWKs7Loit5EFwabc2PBz1";
 protected-headers="v1"
From: Dimitris <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Subject: same in beowulf, but

--xcpsA7oljMOnlWKs7Loit5EFwabc2PBz1
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

cryptsetup in beowulf/ceres faces same issue. shutdown takes almost a
minute to complete. startup takes ~5-10".

version in beowulf at the moment is 2:2.0.6-1 and a lot of things seem
changed, but this bug still occurs.
haven't tried the patches yet, but from what i see filename is different
in beowulf (/lib/cryptsetup/cryptdisks-functions) and maybe other things
too. so i didn't want to risk untested patches for beowulf.

and FYI, MXlinux has a working version for sysvinit without this bug.
remember trying MX not long ago, with luks (included lately in mx
installer), and indeed shutdown had no such issues.
i believe mx package can be found here :
http://mxrepo.com/mx/repo/pool/main/c/cryptsetup-modified-functions/

also, could this be a eudev issue like in debian?
( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D791944#305 ) and
fixed in eudev init script like this :
https://salsa.debian.org/systemd-team/systemd/commit/e803efca59978aa5bb1d=
8806247f986d0c0f7e67
, perhaps??
don't know much about internals, just wandering.

---
using openrc, amd64, fully upgraded beowulf/ceres.

thanks,
d.


--xcpsA7oljMOnlWKs7Loit5EFwabc2PBz1--

--ypV5vixCkyMYAuqg6eL5Ckq3kjvxca3rS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEECppUFUF7C9a+eth/9jQAR3Vpa4YFAlxUiZgACgkQ9jQAR3Vp
a4b2bw//RKxF0/uptHA6Jiq/OzPALHYgn4sRFKX29bK9NJniCV/zzodotREpedmz
pZxzOmw8WX+MYGNWufXXxkrxHkTQ85YA4nLsNTXFQ2wvyWIXRX5ktLdYPadIxUYC
VFNHOxp2i4pXs0+yLZx94Rcq6mhn1PHu6QaO53JwxeRmbGwSi8OjFqQZKCmvma9X
VigI42k5ipptYzzMiwb1sMRH6lkLprAPaAYyXhBTrtmO6LHZCi3Hkv+hbr0ho+aA
V7BN94XnKFhKh9jWAYzyU1EDrvdmlP6D/VhaGhVj1yUxqzPlG/SQ4kpqVBJlRIuC
BwumBNkkFSP0yI5wLFTW0NsKOBZO+ZbWFXAMReHzViF/XqgsNiIE+OMniUvWf1G8
zTtghhFEaYKBlYOsGa3tl+f+D+6PEQpSek91rsjaCMKSQNcI5mM5k3RSAhFuPN//
sUIvsgHtuzVv1BG+QT/FJAxIaa4SJimw7D6jsyObOQVK5h7xOGMfy5J+prGOvWzF
NqD9siaKJ+i3kyFU1Ia2mk8UvEzlWQkY29C2Br/qcoM94l+yYeJOmdjshvZvxHOd
adf6xqkMu51m1i3l10lLLiQ2MkliZQrpHwNR1OrAwml6OIZM7d8wprBECXbrScS+
BZYTtP+Scdj/5MQ4A7XiR7ymOCEgKMx7iA8dpDNmgMHmCq89wa8=
=C8LP
-----END PGP SIGNATURE-----

--ypV5vixCkyMYAuqg6eL5Ckq3kjvxca3rS--


Acknowledgement sent to Dimitris <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#271; Package cryptsetup. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 16 Dec 2018 16:30:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 16 Dec 2018 17:30:04 +0100 (CET)
Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id A6A4AF609C4
	for <[email protected]>; Sun, 16 Dec 2018 17:20:08 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=riseup.net [email protected] header.b="YDi42GEq";
	dkim-atps=neutral
Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
	by mx1.riseup.net (Postfix) with ESMTPS id 87EB41A0158
	for <[email protected]>; Sun, 16 Dec 2018 08:19:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
	t=1544977199; bh=2gK1qkrGoeXp0b+X/iZrC3YWNpwTTGVjZPXByKYhrBM=;
	h=Date:From:To:Subject:From;
	b=YDi42GEqtTFLRwjVHgxWMw/lQIlMzYspnoWEamCR7GCspdkwWSC+syCFOYvFnYJC2
	 DQBNkG0fYp/hCgbcTREnN3svfvmx8O/V6dc7kQ7RnrQHIIPoVOb+ONVeiTg/M6gaBv
	 KFu192KhHcj+pUvFAms/X6c5BGi80nps+Bz8QSuI=
X-Riseup-User-ID: A24EB4561C15D618C0DF88B0BA28AD7CF258B3E433A7AF9496EA3666DE47B8E3
Received: from [127.0.0.1] (localhost [127.0.0.1])
	 by cotinga.riseup.net with ESMTPSA id 767ACEB1C5
	for <[email protected]>; Sun, 16 Dec 2018 08:19:59 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Date: Sun, 16 Dec 2018 08:19:59 -0800
From: [email protected]
To: Devuan Bug Tracking System <[email protected]>
Subject: crytpsetup: none
Message-ID: <[email protected]>
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,
	SPF_HELO_PASS,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: cryptsetup
Version: 2:1.7.3-4
Severity: normal

Dear Maintainer,

When shuting down my Devuan LVM + LUKS install, it hangs just at the end
of the shutdown sequence presenting messages like "sda5_crypt is busy"
and "sdb_crypt is busy". Only after 30 seconds or so pass, it acatully
shuts down.

Aplying one the patchs available at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792552#5 or
https://bugs.devuan.org//cgi/bugreport.cgi?bug=237 fixes the problems
just fine for me.


Regards,

Rodrigo


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.18.0-0.bpo.1-amd64 root=/dev/mapper/cinza--vg-root
ro quiet

-- /etc/crypttab
sda5_crypt UUID=70c51778-8972-4ccd-b554-3377e25087a3 none luks
sdb_crypt UUID=42730e90-3b0c-4c8e-a8de-ade923baddb6
/root/.sdb_crypt.keyfile luks


-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name
devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/cinza--vg-root /               ext4    errors=remount-ro 0  
    1
# /boot was on /dev/sda1 during installation
UUID=18c90b2d-2409-4717-8ecf-c39f2d3c3484 /boot           ext2   
defaults        0       2
/dev/mapper/cinza--vg-home /home           ext4    defaults        0    
  2
/dev/mapper/cinza--vg-tmp /tmp            ext4    defaults        0     
 2
/dev/mapper/cinza--vg-var /var            ext4    defaults        0     
 2
/dev/mapper/cinza--vg-swap_1 none            swap    sw              0  
    0
/dev/vg2/vm /vm ext4 defaults 0 2


-- lsmod
Module                  Size  Used by
ctr                    16384  2
ccm                    20480  3
appletalk              40960  0
psnap                  16384  1 appletalk
llc                    16384  1 psnap
ax25                   65536  0
cmac                   16384  1
bnep                   24576  2
cpufreq_conservative    16384  0
cpufreq_userspace      16384  0
cpufreq_powersave      16384  0
bbswitch               16384  0
snd_hda_codec_realtek   110592  1
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
arc4                   16384  2
intel_rapl             24576  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
iwldvm                159744  0
btusb                  53248  0
coretemp               16384  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
kvm_intel             237568  0
btintel                24576  1 btusb
mac80211              827392  1 iwldvm
i915                 1732608  5
bluetooth             630784  26 btrtl,btintel,btbcm,bnep,btusb
kvm                   733184  1 kvm_intel
uvcvideo              114688  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
iwlwifi               229376  1 iwldvm
snd_hda_intel          45056  3
videobuf2_v4l2         28672  1 uvcvideo
irqbypass              16384  1 kvm
drbg                   28672  1
videobuf2_common       49152  2 videobuf2_v4l2,uvcvideo
asus_nb_wmi            28672  0
snd_hda_codec         151552  3
snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
asus_wmi               32768  1 asus_nb_wmi
iTCO_wdt               16384  0
ansi_cprng             16384  0
videodev              217088  3 videobuf2_v4l2,uvcvideo,videobuf2_common
intel_cstate           16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
sparse_keymap          16384  1 asus_wmi
wmi_bmof               16384  0
mxm_wmi                16384  0
snd_hda_core           94208  4
snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
intel_uncore          135168  0
media                  45056  2 videodev,uvcvideo
drm_kms_helper        196608  1 i915
ecdh_generic           24576  2 bluetooth
snd_hwdep              20480  1 snd_hda_codec
joydev                 24576  0
cfg80211              782336  3 iwldvm,iwlwifi,mac80211
intel_rapl_perf        16384  0
snd_pcm               118784  3 snd_hda_intel,snd_hda_codec,snd_hda_core
evdev                  28672  15
snd_timer              36864  1 snd_pcm
drm                   475136  6 drm_kms_helper,i915
pcspkr                 16384  0
serio_raw              16384  0
snd                    98304  13
snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
rfkill                 28672  5 asus_wmi,bluetooth,cfg80211
soundcore              16384  1 snd
mei_me                 45056  0
i2c_algo_bit           16384  1 i915
acpi_als               16384  0
mei                   110592  1 mei_me
lpc_ich                28672  0
kfifo_buf              16384  1 acpi_als
wmi                    28672  3 asus_wmi,wmi_bmof,mxm_wmi
battery                24576  0
industrialio           81920  2 acpi_als,kfifo_buf
video                  45056  2 asus_wmi,i915
button                 16384  1 i915
asus_wireless          16384  0
ac                     16384  0
pcc_cpufreq            16384  0
uinput                 20480  1
ext4                  741376  6
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  118784  1 ext4
crc32c_generic         16384  0
fscrypto               32768  1 ext4
ecb                    16384  0
algif_skcipher         16384  0
af_alg                 28672  1 algif_skcipher
dm_crypt               45056  2
dm_mod                147456  23 dm_crypt
sg                     36864  0
sd_mod                 53248  4
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  11
ghash_clmulni_intel    16384  0
pcbc                   16384  0
ahci                   40960  3
libahci                40960  1 ahci
ehci_pci               16384  0
aesni_intel           200704  9
aes_x86_64             20480  1 aesni_intel
libata                278528  2 libahci,ahci
crypto_simd            16384  1 aesni_intel
ehci_hcd               94208  1 ehci_pci
cryptd                 28672  5
crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
psmouse               172032  0
scsi_mod              253952  3 sd_mod,libata,sg
i2c_i801               28672  0
atl1c                  53248  0
usbcore               290816  4 ehci_pci,uvcvideo,ehci_hcd,btusb
usb_common             16384  1 usbcore
thermal                20480  0


-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 2.0 (ascii)
Release:	2.0
Codename:	ascii

Architecture: x86_64

Kernel: Linux 4.18.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:2.0.6-1
ii  debconf [debconf-2.0]  1.5.61
ii  dmsetup                2:1.02.137-2
ii  libc6                  2.28-2

Versions of packages cryptsetup recommends:
ii  busybox                                 1:1.22.0-19+b3
ii  console-setup                           1.164
ii  initramfs-tools [linux-initramfs-tool]  0.130
ii  kbd                                     2.0.3-2+b1

Versions of packages cryptsetup suggests:
ii  dosfstools              4.1-1
pn  keyutils                <none>
ii  liblocale-gettext-perl  1.07-3+b1

-- debconf information:
* cryptsetup/prerm_active_mappings: true


Acknowledgement sent to [email protected]:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
bug#271; Package cryptsetup. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Thu, 28 Nov 2024 06:39:01 UTC