Mageia Bugzilla – Attachment 3758 Details for
Bug 5661
Can not unlock encrypted /home on my LVM to use it (need to write /etc/crypttab)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
real suggestion
5661b.diff (text/plain), 547 bytes, created by
Thierry Vignaud
on 2013-04-17 21:01:21 CEST
(
hide
)
Description:
real suggestion
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2013-04-17 21:01:21 CEST
Size:
547 bytes
patch
obsolete
>diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm >index bc61145..1708855 100644 >--- a/perl-install/fs/dmcrypt.pm >+++ b/perl-install/fs/dmcrypt.pm >@@ -45,7 +45,7 @@ sub read_crypttab { > sub save_crypttab { > my ($all_hds) = @_; > >- my @raw_parts = grep { $_->{dm_name} } fs::get::really_all_fstab($all_hds) or return; >+ my @raw_parts = grep { $_->{dm_name} } fs::get::really_all_fstab($all_hds), @{$all_hds->{lvms}} or return; > > my %names = map { $_->{dm_name} => fs::wild_device::from_part('', $_) } @raw_parts; >
diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm index bc61145..1708855 100644 --- a/perl-install/fs/dmcrypt.pm +++ b/perl-install/fs/dmcrypt.pm @@ -45,7 +45,7 @@ sub read_crypttab { sub save_crypttab { my ($all_hds) = @_; - my @raw_parts = grep { $_->{dm_name} } fs::get::really_all_fstab($all_hds) or return; + my @raw_parts = grep { $_->{dm_name} } fs::get::really_all_fstab($all_hds), @{$all_hds->{lvms}} or return; my %names = map { $_->{dm_name} => fs::wild_device::from_part('', $_) } @raw_parts;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5661
:
3597
|
3626
|
3644
|
3757
|
3758
|
3759
|
3761
|
3762
|
3763
|
3765
|
3766
|
3767
|
3811
|
3812