From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 020461382C5 for ; Thu, 11 Jun 2020 23:09:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E80FE0937; Thu, 11 Jun 2020 23:09:06 +0000 (UTC) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F264E0930 for ; Thu, 11 Jun 2020 23:09:06 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id l17so6479510wmj.0 for ; Thu, 11 Jun 2020 16:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to; bh=cmUmF3twFpFqZtNQQea+tLT9DCOP8a+4oqLKqvzSS70=; b=utw6FYltPIoy76Dxjq1u7pFzHcAevdwk0Q6O3gKelUHIl3yd4bOyIreR4zpjDM2h45 7lzbeYZGBTiHneATw9oJ8j0O92qZ/X7u21EQN2vUvdszU7ZB2wLa9Mxa+BFRCPIRts63 FQZZFM67FAsg37Himk8oN5tNhSJCSGcOx/W5MoLF+JsoBl/wVcrkj+v/CDebA9ufAclH T38Ono/AUjQStmGuz09kikByu2QSXDN+8mYvdCmDeIP8gTVt+4wTPp9D3Dw+hEuiXvhU 3iDNScXCQmVez5OXPlZPTGaYAJtMDtY3esHImd0WVTzs1iQATXiaSg+rzdZG8PiHKU6A G6RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:autocrypt:message-id :date:user-agent:mime-version:in-reply-to; bh=cmUmF3twFpFqZtNQQea+tLT9DCOP8a+4oqLKqvzSS70=; b=V7QxMtmTVnwx2uoMqP0ly46OP3ogKJJ9/fbqCqXfKa0yed6fJPzMMd1SbkO+e8cs+g q2/EtBZf4cVApsTEdHZaEIu/4t52B7iPPJZLzIX/uzapuvEOqTdsmxg7ELwsmuzt6XaB pVUgELM5n+wIGT/BGcLc79TsG4jHNtwFxAn8ACp5xBN+PkSrcpG/KnjgHQkmO8X2HSLK gqny4rCwChYJRXyoqE3ZG0IcjcnnafrMmTaLJ8z77p1pEhSX8P5g5Pz//5BZUaxoOUMB gO+gtTCWXNikNplRn8iRHlVW3toSyjUqIqFrdvTYHM2WRdd495O3VWG0CkyoFeUDPCv4 CDeQ== X-Gm-Message-State: AOAM530HKm4+f46odAUW36/z3vMIvowLbCmmPkntbDarAK0/h84CBMcD t/a51vFjtvMFgxlSe8crTfYDzfJZcBk= X-Google-Smtp-Source: ABdhPJzPurF0aIlliDik0vcOpVkRK1xUeOr4sjslFvJwUUbidu1C54zrfrVehdwgF8G6KtC1zAL4jg== X-Received: by 2002:a1c:c1:: with SMTP id 184mr10260359wma.74.1591916944299; Thu, 11 Jun 2020 16:09:04 -0700 (PDT) Received: from [192.168.0.64] (cpc148898-sgyl44-2-0-cust897.18-2.cable.virginm.net. [82.34.183.130]) by smtp.gmail.com with ESMTPSA id q5sm6958336wrm.62.2020.06.11.16.09.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jun 2020 16:09:03 -0700 (PDT) Subject: Re: [gentoo-user] Encrypting a hard drive's data. Best method. To: gentoo-user@lists.gentoo.org References: <3082a322-c6f8-31e7-fbc4-823963307b87@gmail.com> <98a5dbe1-5719-f80a-3552-6695fb8f80c1@gmail.com> <045bf641-5fd9-12cc-3723-10d43094f882@gmail.com> <15d45249-5f60-04d1-cfc9-356cefc82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 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <15d45249-5f60-04d1-cfc9-356cefc82b14@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Y3jGgnIT8Ze0cUtvH0vtDR06tuKDLaJox" X-Archives-Salt: a8d49175-ceb3-4ec9-ad01-b54266df48b9 X-Archives-Hash: 8bc244eb7bf95ac2b1e9b8845fddf892 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Y3jGgnIT8Ze0cUtvH0vtDR06tuKDLaJox Content-Type: multipart/mixed; boundary="XH5fHEYLMflXkFcATpkJAau7wievvSqS6" --XH5fHEYLMflXkFcATpkJAau7wievvSqS6 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable =46rom what I gather, taking into account your other email as well, there= are two separate things going on which may or may not be related: 1) The (now open) filesystem isn't being mounted where it should as per fstab 2) Even then, there appears to be a bogus 'private' parent directory: /run/media/private// as opposed to /run/media//= On 11/06/2020 23:17, Dale wrote: > This is my fstab entry: > > UUID=3D"7f0cf585-57c8-4a50-808b-987fc13ceee0" > /home/dale/Desktop/Videos/Private ext4 defaults,users 0 0 > ... > You notice anything off about that? I make a error somewhere? Miss a > option maybe? fstab doesn't like quotes. The correct syntax would be: UUID=3D7f0cf585-57c8-4a50-808b-987fc13ceee0 Re (1) above, given that /etc/conf.d/dmcrypt is only used by the dmcrypt service through OpenRC its contents are irrelevant when using KDE. So, from the perspective of DN updating fstab with the correct syntax should be a two birds, one stone solution to both (1) and (2). Unless your encrypted volume is always connected to the system and you would like it to be automatically unlocked (via means of being asked to enter your password), there is no need to enter anything into /etc/conf.d/dmcrypt and you can leave the file blank/commented out. Re (2), frankly, I have no idea but I'm curious as to where that "private" parent directory might come from. The only possible source for this that I can guess is from your entry in /etc/conf.d/dmcrypt in the value for "target": > ## 3TB private drive external > target=3D'private' > source=3DUUID=3D'107be33c-b31c-44b8-b4e7-400ee19fb440' While this should only affect the name of the block device created under "/dev/mapper" it seems too much of a coincidence that the bogus parent directory bears the same name. I've tried to reproduce your set-up but I still don't get such a parent under /run/media. Perhaps you can try changing the value to something else and see if it creates a directory with the new name? If so, this would confirm the theory, but it still shouldn't be doing that. At least it would be a starting point for diagnosis, if it's worth going into that at all. Also, note that, as I mentioned, when mounting a crypto container through KDE DN or Dolphin your dmcrypt config is irrelevant and disregarded. You should hence expect upon opening the container to have the filesystem's block device appear as "/dev/mapper/luks_abcd1234". - Victor --XH5fHEYLMflXkFcATpkJAau7wievvSqS6-- --Y3jGgnIT8Ze0cUtvH0vtDR06tuKDLaJox Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKFZblUJabdsjGSQvxx0QR+MZjnMFAl7iuYsACgkQxx0QR+MZ jnMN+g//fU/cLX5GB8Ernq3zCaLcNWTQx8Lky6hzZyTswyWEv31FruEObdongdVA y6b1C25bOEEws9crimRr0VyeRuXZchvle+vMHWDymfvxGbrm8ggTFoHoal7tXQLT sxxGBuR1CrB2mGe4PZfiBqGGg9CyR4WaljR+oEhDTcHiZSCYLmFd4sPCyorh9AoT mmHtcK1XW6xVF0ZnI1OoH/FQTm2pMBYXIrewqcVVAOYKG+YhXpE1P54lVYauq/L/ 95DA4FDXa95FGWW2SPirdoRa6X0GyCCrRPNeP/+JWjKopJTDzulgaZFj64eNcK6I ogQJtqzu0nxr59UcEKGYNlNMr9RYoFWb6E/RZUtISVyDKUDtWBtfhNFjGPDkNS/8 KGFggLRwb7SBv4QzTCLe6U5kgwvDiJFo8eo5Gjwzddl+7M2uLo630D/pCXKFtuzl RrrpHFl3zGw7xmBeiaJVdiGU9SxMBL5ORFJLZChlhX53XKq8WuVFvDP6c8f7TvBB E2PMDwMWxlewiAtGNUNtPL8i+QXlZv099nIq8CrTLWH5BAufHBYtoP3RhtoAqvDr 6X0BiG40wcR4DxV7Sm9Ki2JqQ0dFVGmM7jH+F/vKq77IrgNt+KPtNEJdlMi9zebN Lbq8L7ix1YfbGbZrFnkeMbO5Kjx5qou0f+vpjGj79OCrEni/WsM= =Glqo -----END PGP SIGNATURE----- --Y3jGgnIT8Ze0cUtvH0vtDR06tuKDLaJox--