[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#612802: marked as done (debian-installer: crypted partition assistant should all parameters (FS, mount point) of the partition encrypted)



Your message dated Fri, 11 Feb 2011 07:20:20 +0100
with message-id <20110211062020.GZ4452@mykerinos.kheops.frmug.org>
and subject line Re: Bug#612802: debian-installer: crypted partition assistant should all parameters (FS, mount point) of the partition encrypted
has caused the Debian Bug report #612802,
regarding debian-installer: crypted partition assistant should all parameters (FS, mount point) of the partition encrypted
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
612802: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612802
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: squeeze 6.0
Severity: normal

I wanted to crypt my /home partition at installation.

During the installation process, partition step :
I have a empty disk.
I first choose to partition automatically the disk (/ in ext3, swap and /home
in ext3 created)
Then I use the crypt partitions assistant (The langage used during installation
was french, i don't know what is the english name of the menu item)
I choose to crypt swap and the ext3 partition which mount point is /home.
I configure the swap partition to be encrypted. Ok.
In the screen where I configure the ext3 partition to be encrypted it shows :
"mount point : /home".

Then, after processing, my crypted volumes are :
swap assigned to swap,
ext3 crypted volume : no mount point.

I guess, the ext3 crypted volume should have keeped the /home mount point and
it's a bug.
The user then has to assing manually this partition to /home otherwise debian
installer will warn this partition will not be used.

I suggest the cryt partition assitant remembers all the partitions settings or
none of them when creating a crypted partition from an existing one.



-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Quoting Tuxicoman (pub@jesuislibre.net):
> Package: debian-installer
> Version: squeeze 6.0
> Severity: normal
> 
> I wanted to crypt my /home partition at installation.
> 
> During the installation process, partition step :
> I have a empty disk.
> I first choose to partition automatically the disk (/ in ext3, swap and /home
> in ext3 created)
> Then I use the crypt partitions assistant (The langage used during installation
> was french, i don't know what is the english name of the menu item)
> I choose to crypt swap and the ext3 partition which mount point is /home.
> I configure the swap partition to be encrypted. Ok.
> In the screen where I configure the ext3 partition to be encrypted it shows :
> "mount point : /home".
> 
> Then, after processing, my crypted volumes are :
> swap assigned to swap,
> ext3 crypted volume : no mount point.
> 
> I guess, the ext3 crypted volume should have keeped the /home mount point and
> it's a bug.
> The user then has to assing manually this partition to /home otherwise debian
> installer will warn this partition will not be used.


Though it may seem logical to try, what you're trying to do is, imho,
nearly not possible without deep invasive changes.

You're indeed doing two partitioning steps. The first creates the
partitions and assigns mount points.....but the latteer uses these
partitions to create volumes where *logical* volumes will be created.

You want the logical volumes to keep the set mount point for the
volume containers. But, what if two logical volumes are created,
instead of only one, in each partition?

So, yes, at some point, the partitioner "forgets" that you assigned
/home to /dev/sda6 (for instance)....and you need to assign /home to
sda6_crypt once encrypted volumes are created.

I see no way to avoid that.

Encrypted volumes is a complicated thing, indeed. This is why we have
the "Assisté - utiliser tout un disque avec LVM chiffré" option, that
does everything automagically.



Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: