Mandiva 2009 vs encrypted partitions
Hello,
I've problem whith Mandriva 2009 RC2 and encrypted partition.
When I use Drakconf for creating encrypted partition, I get no error but
the partition isn't crypted, when I mount my partition, no password is
aked; and these 2 differents lines in /etc/fstab has the same effect :
the partition is mounted (without password) and I wand write/read on it:
/dev/mapper/isw_diihcfebde_Volume0p7 /data ext3
defaults,encryption=AES256 0 0
or
/dev/mapper/isw_diihcfebde_Volume0p7 /data ext3 defaults 0 0
I've the same problem if I try to create my encrypted partition manualy,
the command line :
losetup -e AES256 /dev/loop1 /dev/mapper/isw_diihcfebde_Volume0p7
get no error, but doesn't ask for password...
(I also use RAID1...)
some idea?
thanks! :-)
Fabien
Re: Mandiva 2009 vs encrypted partitions
on Monday 06 October 2008 18:27
in the Usenet newsgroup alt.os.linux.mandriva
Fabien wrote:
[color=blue]
> Hello,
>
> I've problem whith Mandriva 2009 RC2 and encrypted partition.[/color]
[snip]
Is this your bug?
<http://wiki.mandriva.com/en/2009.0_Errata#Encrypted_partitions_are_not_mounted_during_boot>
--
sig goes here...
Peter D.
Re: Mandiva 2009 vs encrypted partitions
Peter D. a écrit :[color=blue]
> on Monday 06 October 2008 18:27
> in the Usenet newsgroup alt.os.linux.mandriva
> Fabien wrote:
>[color=green]
>> Hello,
>>
>> I've problem whith Mandriva 2009 RC2 and encrypted partition.[/color]
> [snip]
>
> Is this your bug?
> <http://wiki.mandriva.com/en/2009.0_Errata#Encrypted_partitions_are_not_mounted_during_boot>
>[/color]
Hello Peter,
no that's not my bug : although I call "mount" manualy, I'm not prompted
for password and the partition is mounted (uncrypted).
I think it's a problem with losetup...
Also, is there a problem with encrypted partition on RAID volume???
regards,
Fabien
Re: Mandiva 2009 vs encrypted partitions
On Mon, 06 Oct 2008 03:27:41 -0400, Fabien <fabien@none.com> wrote:
[color=blue]
> When I use Drakconf for creating encrypted partition, I get no error but[/color]
[color=blue]
> I've the same problem if I try to create my encrypted partition manualy,
> the command line :
> losetup -e AES256 /dev/loop1 /dev/mapper/isw_diihcfebde_Volume0p7
> get no error, but doesn't ask for password...[/color]
I haven't checked out 2009 yet, but since 2008.0, using losetup for
encrypted filesystems has been deprecated. See
[url]http://wiki.mandriva.com/en/Releases/Mandriva/2008.0/Notes#Support_for_loopback-based_encrypted_filesystems[/url]
try "/sbin/cryptsetup luksOpen /dev/mapper/isw_diihcfebde_Volume0p7 MapperName"
replacing MapperName with any name not currently in use under /dev/mapper.
The unencrypted filesystem would then be available as /dev/mapper/MapperName.
If drakconf was used to create the encrypted volume, there should be an entry
in /etc/crypttab, which would cause /etc/rc.d/rc.sysinit to mount it, asking
for the password. I think drakconf adds the entry, after the filesystem has
been formatted, and the fstab entry created.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)