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 835C21382C5 for ; Thu, 11 Jun 2020 22:17:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 149DCE094F; Thu, 11 Jun 2020 22:17:42 +0000 (UTC) Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) (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 C94E3E092E for ; Thu, 11 Jun 2020 22:17:41 +0000 (UTC) Received: by mail-ot1-x343.google.com with SMTP id b18so5843831oti.1 for ; Thu, 11 Jun 2020 15:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=Pw/K8ZseCfsjFj2rydndMZTB11mQATvPMWneF2s0dkw=; b=SyJRk7CfHSg4q3tY7hhRlyMU3OzAAcHXw/Fdoxd2L3K/3oOKAGFy5TcAG8sulQzlbe PH6LjYsmYLx62XDIYVVmZwH9xHBxOgb6yHguyRgj8U17HbJmTtrRj0P2ZRSK7iH1biaA Co/KvcEvTYYoWDf6XRqgh7xFR6L2+Uj+kGP5neNY2mogIvNefg2/Mg8GkPGvgeDQquMs GotvqL1wQ5wfuvVu94gd/JZBmwvIDi7wnHSupMjQqeb9ghkEXJaAne25uNz8EmUr3AQs XHJHAcJzKTz0wKc592Uf7AiZHihBc8P5Ak6N/G//xR3nO3GDwJVAO3hX/zLNJrf8MjQ3 Bu0Q== 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:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=Pw/K8ZseCfsjFj2rydndMZTB11mQATvPMWneF2s0dkw=; b=MZP3hUppjLnGhAysAnynpprSohQHDcpAuSI0kTy0YzvDcBhf5E3XZyvkwF7PiAxX+/ XjppqWQ7KnPTWQrvr0IPip9pIjb9Mm8KgiqbCcuMXPUFvrQ8u482+LHJmxprQ4mKBfNH O7F8CSn/PH7/QdDnhPA2BKtWiVUIOz8pP6Haj03XLkPklCNPykA7T6gUB3UgCGXlDUE4 N3iFsbvZau3INxcPsoPGnOCiCNbYhVL15/HiO7l8tVLi5usJWLlcOCJxw35Cwc4ENqEF RZ35aJ9pPqq1otVj7bc7//n8UgC44onni8AjfFqNwRTMS7auRAlYhSimVBFhX09Lfrkh Qa+A== X-Gm-Message-State: AOAM5306pTLiVHX4B2BB7dQG9Vv/0i5at8TPtC7XmvnjYDJ4oX58hRkS cwFR0GP1Bt6pFjPnUNEZn8g= X-Google-Smtp-Source: ABdhPJzfis2YP0NaT8zpRGypO3jch/su4CrH47oqwUdTSVwdpWzXhoBR8nefRdmzaFY7dLllOSQB0A== X-Received: by 2002:a9d:7f9a:: with SMTP id t26mr8875010otp.103.1591913860890; Thu, 11 Jun 2020 15:17:40 -0700 (PDT) Received: from [192.168.0.100] (adsl-074-188-241-018.sip.asm.bellsouth.net. [74.188.241.18]) by smtp.gmail.com with ESMTPSA id g51sm947302otg.17.2020.06.11.15.17.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jun 2020 15:17:40 -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> From: Dale Openpgp: preference=signencr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fg7y 35P3TILjznCXXTDgRHq9A3NknKRMcgFacX6eIhANkMFo6oJVjuEgy1dvu1wFfDq7c+i8GAHu L4pYzyXYu6PporlNNU0xSwdVgzM/uuK0lt+UxCimgC+YR3IezgDcbfudb7h9dGIwL+bbPL0A EQEAAYkCNgQYAQgAIBYhBNnuy6u48FpLrRsJhe8Qz9da75mcBQJcXOzIAhsMAAoJEO8Qz9da 75mcXZ4P/1YXgWDZek7mhzrf6uaQzMxa92P89HeWz4PlgB/32symeEFAV04WazzBZffI8AYY rGA1Xmu/2VaB9+FOODyKhUWBc2UL0NRWBk6POwboyTdKlclmpixaN9zLcBt0YLejoRfN1B/5 aQf9/lUDZMnAiCyz0FgeqEMUshldmwWC35RqnjrCbbuk2vIqSH6BLDIXU6jQrLHE1DF0ai41 wLtQFAFXPhn45n0ZwYhVs4Z32z4sjXrIvgBgCaXa4HM+L1Klne0KiNM8ReFTTpTE0SgyDOSZ O3MOa2n77i6JbVtsbiFYnNeP3J9S/l3jevGpZEtNQOKrIm1MW8jGuHWtsDeMkT/mCcSodlkt PxIo+mMK9GpGvG2hW80LiohqNfUbNwAmr3blOYY4URPXPRnEnPs4pmTmL5owjw2dkg145i9I D42Tq+XZ6YtWt3SGzGbAYow6XwTwZ5NFAzV9UQuCGrDw4KWan6O6Z+VIYWsn0UMZlu1Obxna aocofkaUCbISK26kImuD1aA8juSHC18Qv1xUage6/UakbSxyDtACqt6hOVFKX3IA59ApdNRT +2x3iCmlvF9MJsGgFq6IpqL+Fk7iWV8Kjbz0wQOId6N9+JdQh3LrLaS7a1PowUm1z9DK5/O0 Yg+gpDnEOOFI7WM5u7a7FSM2Z/LXGVwel/0eWvLk9tN6 Message-ID: <15d45249-5f60-04d1-cfc9-356cefc82b14@gmail.com> Date: Thu, 11 Jun 2020 17:17:39 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.2 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: <045bf641-5fd9-12cc-3723-10d43094f882@gmail.com> Content-Type: multipart/alternative; boundary="------------13B076144FA35E22375DC0AA" X-Archives-Salt: b6d2e1ac-0b2e-4e46-8669-ac70dd003052 X-Archives-Hash: 758ff52b6eb74a32b9d1d5ed4f21652f This is a multi-part message in MIME format. --------------13B076144FA35E22375DC0AA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Victor Ivanov wrote: > On 10/06/2020 21:52, Dale wrote: >> I've got that in dmcrypt and fstab as the wiki says.  That part works.  >> It's the KDE part that isn't working correctly.  However, I did do one >> thing different, I put users instead of user.  Plural not singular.  >> Should users work the same as user? > This makes little sense. The main difference between user and users is > that the former only allows the user who mounted the filesystem (or > root) to unmount the filesystem, whereas the latter (plural) relaxes > this rule and allows any user to unmount the filesystem. Then maybe that isn't the issue.  I didn't think it would matter but did want to mention it.  Just in case.  ;-)  > > On 10/06/2020 21:52, Dale wrote: >> I wonder, other distros have crypttab file instead of dmcrypt.  I wonder >> if I created a crypttab file if that would help KDE even if Gentoo >> ignores it or doesn't know it exists. > Doubtful. As far as I'm aware "/etc/crypttab" is for systems that use > that atrocity called systemd. So unless you have your system set up to > use systemd, "/etc/conf.d/dmcrypt" is the correct one to use. No systemd here.  Whew!! > On 10/06/2020 21:52, Dale wrote:  >> It sounds like the Device Notifier is just not set up or designed to do >> what I want to do. > Unfortunately, it's quite basic indeed. I still, however, think you can > achieve what you intend to with fstab. I personally tested what I wrote > in my previous email and, apart from the usual false error message, it > mounts it exactly where I've described in /etc/fstab. I can also eject > it via Device Notifier. Could it be that there's something else going on > in your case? > > - Victor > My dmcrypt entry: ## 3TB private drive external target='private' source=UUID='107be33c-b31c-44b8-b4e7-400ee19fb440' I think I got that right but I'm me.  lol  This is my fstab entry: UUID="7f0cf585-57c8-4a50-808b-987fc13ceee0" /home/dale/Desktop/Videos/Private  ext4 defaults,users 0 0 Right now I stuck it under Videos but it's because that was where I was when I started.  Later on, I'll move it to be under Documents.  I'll worry about moving it later on.  You notice anything off about that?  I make a error somewhere?  Miss a option maybe? Thanks. Dale :-)  :-)  --------------13B076144FA35E22375DC0AA Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Victor Ivanov wrote:
On 10/06/2020 21:52, Dale wrote:
I've got that in dmcrypt and fstab as the wiki says.  That part works. 
It's the KDE part that isn't working correctly.  However, I did do one
thing different, I put users instead of user.  Plural not singular. 
Should users work the same as user?
This makes little sense. The main difference between user and users is
that the former only allows the user who mounted the filesystem (or
root) to unmount the filesystem, whereas the latter (plural) relaxes
this rule and allows any user to unmount the filesystem.


Then maybe that isn't the issue.  I didn't think it would matter but did want to mention it.  Just in case.  ;-) 



On 10/06/2020 21:52, Dale wrote:
I wonder, other distros have crypttab file instead of dmcrypt.  I wonder
if I created a crypttab file if that would help KDE even if Gentoo
ignores it or doesn't know it exists.
Doubtful. As far as I'm aware "/etc/crypttab" is for systems that use
that atrocity called systemd. So unless you have your system set up to
use systemd, "/etc/conf.d/dmcrypt" is the correct one to use.

No systemd here.  Whew!!


On 10/06/2020 21:52, Dale wrote: 
It sounds like the Device Notifier is just not set up or designed to do
what I want to do.
Unfortunately, it's quite basic indeed. I still, however, think you can
achieve what you intend to with fstab. I personally tested what I wrote
in my previous email and, apart from the usual false error message, it
mounts it exactly where I've described in /etc/fstab. I can also eject
it via Device Notifier. Could it be that there's something else going on
in your case?

- Victor



My dmcrypt entry:


## 3TB private drive external
target='private'
source=UUID='107be33c-b31c-44b8-b4e7-400ee19fb440'


I think I got that right but I'm me.  lol  This is my fstab entry:


UUID="7f0cf585-57c8-4a50-808b-987fc13ceee0" /home/dale/Desktop/Videos/Private  ext4 defaults,users 0 0


Right now I stuck it under Videos but it's because that was where I was when I started.  Later on, I'll move it to be under Documents.  I'll worry about moving it later on. 

You notice anything off about that?  I make a error somewhere?  Miss a option maybe?

Thanks.

Dale

:-)  :-) 
--------------13B076144FA35E22375DC0AA--