All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Bug Report to Ubuntu regarding dangerous installer
Date: Sun, 17 Apr 2011 03:53:32 +0200	[thread overview]
Message-ID: <20110417015331.GA11053@tansi.org> (raw)
In-Reply-To: <BANLkTi=-aL8i=iSUTnct+R3g9JZEid_2Zw@mail.gmail.com>

On Sat, Apr 16, 2011 at 08:20:02PM -0400, M Thomas Frederiksen wrote:
> On Sat, Apr 16, 2011 at 12:18, Cristian KLEIN <cristiklein@gmail.com> wrote:
> 
> > ...
> >
> > I understand that the alternate installer is supposed to be for
> > experts, but I still think that:
> > 1) Ubuntu failed to detect the existing dm-crypt volume, thus
> > confusing the user.
> > 2) The installer did not provide an easy-to-find command for
> > activating the dm-crypt volume.
> > 3) Airbags have been turned off, without the user's knowledge.
> >
> > Please comment and tell me if I am wrong.


I agree with you. While there are a number of things you could
have done to prevent this problem, the root cause of the 
problem is that the installer made it far too easy to kill your 
LUKS volume.

Still, backup is non-optional with LUKS as well. Remember that
disks have about a 5%/year failure rate (if treated well) and
that about half die without warning.
 
> I've had the same problem with Ubuntu.  It gives you the impression that
> you're activating the partition, and then scribbles all over your data.  Any
> other type of partition you can activate w/out damage, or reformat.  It's a
> horrible installer.  One thing that LUKS might do, is remove this
> --batch-mode option (if a header is found).  That way if a LUKS header is
> already there, it will not overwrite the header.  If the user really wants
> to scribble on the data, make them pop open a console and type YES.

The --batch-mode option is there for a reason. It assumes that
the wrapper process knows what it is doing. It is also necessary
in some circuymstances, so removing it is not the right approach.

What I don't like is that the Ubuntu installer turns off the checks
and then does not supply an adequate replacement for the situation
it is run in. We will see whether anything will come from my complaint.

Arno 
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

  reply	other threads:[~2011-04-17  1:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 20:13 [dm-crypt] yet another "lost my partition" message Hugo Melo
2011-04-13  1:10 ` Arno Wagner
2011-04-13 18:06   ` Hugo Melo
2011-04-15 13:52 ` Cristian KLEIN
2011-04-15 14:15   ` Roscoe
2011-04-15 14:21     ` Cristian KLEIN
2011-04-15 16:27       ` Arno Wagner
2011-04-15 16:18     ` Arno Wagner
2011-04-15 16:13   ` Arno Wagner
2011-04-15 19:37     ` Jonas Meurer
2011-04-15 21:58       ` Arno Wagner
2011-04-16 16:37         ` Cristian KLEIN
2011-04-16 17:13           ` Rick Moritz
2011-04-15 16:58   ` [dm-crypt] Bug Report to Ubuntu regarding dangerous installer Arno Wagner
2011-04-15 19:38     ` Claudio Moretti
2011-04-15 22:01       ` Arno Wagner
2011-04-16 11:06         ` Claudio Moretti
2011-04-16 16:18           ` Cristian KLEIN
2011-04-17  0:14             ` PsiStormYamato
2011-04-17  0:20             ` M Thomas Frederiksen
2011-04-17  1:53               ` Arno Wagner [this message]
2011-04-15 20:54     ` PsiStormYamato
  -- strict thread matches above, loose matches on Subject: below --
2011-04-17  2:16 Arno Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110417015331.GA11053@tansi.org \
    --to=arno@wagner.name \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.