Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-11 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world From: Carles Pina i Estany Sent: Thursday, 2 August 2018 8:47 AM To: debian-user@lists.debian.org Subject: luks, crypttab: why 3 partition only 2 passphrases entered Hi

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-08 Thread Celejar
On Wed, 8 Aug 2018 08:57:40 +0100 Jonathan Dowland wrote: > On Tue, Aug 07, 2018 at 11:10:39PM +0100, Carles Pina i Estany wrote: > >That was quite lot of fun! > > Good investigation and report, thanks, yes it was fun to read too! > > Some time ago I added a second encrypted disk to my setup,

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-08 Thread Jonathan Dowland
On Tue, Aug 07, 2018 at 11:10:39PM +0100, Carles Pina i Estany wrote: That was quite lot of fun! Good investigation and report, thanks, yes it was fun to read too! Some time ago I added a second encrypted disk to my setup, but it is a removable one. I wanted to use the same encryption

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-07 Thread Carles Pina i Estany
Hi, On Aug/07/2018, Jonathan Dowland wrote: > On Sat, Aug 04, 2018 at 10:54:59PM +0100, Carles Pina i Estany wrote: > > > > And I'm now 99% sure that the culprit of all this confusion is... > > plymouth! It has a password caching facility and systemd seems to use it > > to get the cached

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-07 Thread Jonathan Dowland
On Sat, Aug 04, 2018 at 10:54:59PM +0100, Carles Pina i Estany wrote: And I'm now 99% sure that the culprit of all this confusion is... plymouth! It has a password caching facility and systemd seems to use it to get the cached password. Almost certainly, yes, although, if plymouth is passing

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-07 Thread Jonathan Dowland
On Thu, Aug 02, 2018 at 01:00:15AM +, Matthew Crews wrote: On 8/1/18 3:47 PM, Carles Pina i Estany wrote: I have a Debian Stretch and recently I added a new cyphered partition. All works well but I don't understand why and it's bothering me. *snip* A question would be: a) How to enter

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-04 Thread Carles Pina i Estany
Hi, On Aug/04/2018, David Christensen wrote: > On 08/04/2018 02:54 PM, Carles Pina i Estany wrote: > > And I'm now 99% sure that the culprit of all this confusion is... > > plymouth! It has a password caching facility and systemd seems to use > > it to get the cached password. > > You seem to

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-04 Thread David Christensen
On 08/04/2018 01:08 PM, Carles Pina i Estany wrote: root@pinux:~# dmsetup info /dev/dm-* Name: m2_root_crypt State: ACTIVE Read Ahead:256 Tables present:LIVE Open count:1 Event number: 0 Major, minor: 254, 0 Number of targets: 1 UUID:

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-04 Thread Carles Pina i Estany
And I'm now 99% sure that the culprit of all this confusion is... plymouth! It has a password caching facility and systemd seems to use it to get the cached password. -- Carles Pina i Estany Web: http://pinux.info || Blog: http://pintant.cat GPG Key 0x8CD5C157

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-04 Thread Carles Pina i Estany
Hi, On Aug/04/2018, David Christensen wrote: > On 08/02/2018 12:07 AM, Carles Pina i Estany wrote: > > On Aug/01/2018, David Christensen wrote: > > > On 08/01/2018 03:47 PM, Carles Pina i Estany wrote: > > > > I have a Debian Stretch and recently I added a new cyphered partition. > > > > All

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-04 Thread David Christensen
On 08/02/2018 12:07 AM, Carles Pina i Estany wrote: On Aug/01/2018, David Christensen wrote: On 08/01/2018 03:47 PM, Carles Pina i Estany wrote: I have a Debian Stretch and recently I added a new cyphered partition. All works well but I don't understand why and it's bothering me. Setup: $ cat

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-03 Thread deloptes
Carles Pina i Estany wrote: > Any more ideas please let me know I stopped using systemd as init process - perhaps you try to boot with init as proc 1 and see if you are asked 2 or 3 times, my bet would be 3 times. regards

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-02 Thread Carles Pina i Estany
Hi, On Aug/01/2018, David Christensen wrote: > On 08/01/2018 03:47 PM, Carles Pina i Estany wrote: > > The question is: > > "Please unlock disk m2_root_crypt:" > > > > I expcted to write the password three times. > > Given your crypttab, above, I agree that you should have to enter three >

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-02 Thread Carles Pina i Estany
Hi, On Aug/02/2018, Matthew Crews wrote: > On 8/1/18 3:47 PM, Carles Pina i Estany wrote: > > > > Hi, > > > > I have a Debian Stretch and recently I added a new cyphered partition. > > All works well but I don't understand why and it's bothering me. > > *snip* > > > A question would be: > >

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-02 Thread Carles Pina i Estany
Hi, On Aug/01/2018, David Christensen wrote: > On 08/01/2018 03:47 PM, Carles Pina i Estany wrote: > > Hi, > > Hello. :-) > > > > I have a Debian Stretch and recently I added a new cyphered partition. > > All works well but I don't understand why and it's bothering me. > > > > Setup: > > $

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-01 Thread David Christensen
On 08/01/2018 03:47 PM, Carles Pina i Estany wrote: Hi, Hello. :-) I have a Debian Stretch and recently I added a new cyphered partition. All works well but I don't understand why and it's bothering me. Setup: $ cat /etc/crypttab m2_root_crypt UUID=4e655198-a111-... none luks,discard

Re: luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-01 Thread Matthew Crews
On 8/1/18 3:47 PM, Carles Pina i Estany wrote: > > Hi, > > I have a Debian Stretch and recently I added a new cyphered partition. > All works well but I don't understand why and it's bothering me. *snip* > A question would be: > a) How to enter the passphrase only once? > b) When/where

luks, crypttab: why 3 partition only 2 passphrases entered

2018-08-01 Thread Carles Pina i Estany
Hi, I have a Debian Stretch and recently I added a new cyphered partition. All works well but I don't understand why and it's bothering me. Setup: $ cat /etc/crypttab m2_root_crypt UUID=4e655198-a111-... none luks,discard m2_swap_crypt UUID=56485640-8a04-... none luks,discard ssd_dades_crypt