Mageia Bugzilla – Attachment 9804 Details for
Bug 22032
Resizing an encrypted XFS partition only resizes the LUKS container, not the XFS partition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposed fix
0001-Make-fs-get_major_minor-unconditionally-read-the-dev.patch (text/plain), 1.38 KB, created by
Martin Whitaker
on 2017-11-27 16:15:05 CET
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2017-11-27 16:15:05 CET
Size:
1.38 KB
patch
obsolete
>From cf2214fff84ca2a77c49dd3995b049769a93581a Mon Sep 17 00:00:00 2001 >From: Martin Whitaker <mageia@martin-whitaker.me.uk> >Date: Mon, 27 Nov 2017 10:20:34 +0000 >Subject: [PATCH 1/2] Make fs::get_major_minor() unconditionally read the > device numbers. > >Thus ensuring we get the correct device numbers after writing a >partition table (mga#22032). > >diff --git a/perl-install/NEWS b/perl-install/NEWS >index 742ef2b16..a81a37fd9 100644 >--- a/perl-install/NEWS >+++ b/perl-install/NEWS >@@ -1,3 +1,7 @@ >+- diskdrake >+ o ensure device major/minor numbers are reread after writing the >+ partition table (mga#22032) >+ > Version 17.90 - 18 September 2017 > > - drakboot: >diff --git a/perl-install/fs.pm b/perl-install/fs.pm >index ac118cdc0..76cce10e7 100644 >--- a/perl-install/fs.pm >+++ b/perl-install/fs.pm >@@ -144,7 +144,7 @@ sub get_major_minor { > eval { > my (undef, $major, $minor) = devices::entry($_->{device}); > ($_->{major}, $_->{minor}) = ($major, $minor); >- } if !$_->{major}; >+ }; > } > } > >diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS >index d3c352cc1..de851578a 100644 >--- a/perl-install/install/NEWS >+++ b/perl-install/install/NEWS >@@ -1,3 +1,7 @@ >+- partitioning >+ o ensure device major/minor numbers are reread after writing the >+ partition table (mga#22032) >+ > Version 17.91 - 4 October 2017 > > - do not include libnss3 anymore as rpm now uses OpenSSL >-- >2.13.6 >
From cf2214fff84ca2a77c49dd3995b049769a93581a Mon Sep 17 00:00:00 2001 From: Martin Whitaker <mageia@martin-whitaker.me.uk> Date: Mon, 27 Nov 2017 10:20:34 +0000 Subject: [PATCH 1/2] Make fs::get_major_minor() unconditionally read the device numbers. Thus ensuring we get the correct device numbers after writing a partition table (mga#22032). diff --git a/perl-install/NEWS b/perl-install/NEWS index 742ef2b16..a81a37fd9 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,7 @@ +- diskdrake + o ensure device major/minor numbers are reread after writing the + partition table (mga#22032) + Version 17.90 - 18 September 2017 - drakboot: diff --git a/perl-install/fs.pm b/perl-install/fs.pm index ac118cdc0..76cce10e7 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -144,7 +144,7 @@ sub get_major_minor { eval { my (undef, $major, $minor) = devices::entry($_->{device}); ($_->{major}, $_->{minor}) = ($major, $minor); - } if !$_->{major}; + }; } } diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index d3c352cc1..de851578a 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,7 @@ +- partitioning + o ensure device major/minor numbers are reread after writing the + partition table (mga#22032) + Version 17.91 - 4 October 2017 - do not include libnss3 anymore as rpm now uses OpenSSL -- 2.13.6
View Attachment As Raw
Actions:
View
Attachments on
bug 22032
:
9793
| 9804 |
10926
|
10927
|
10928
|
10929
|
10931