diff options
-rw-r--r-- | perl-install/fs/dmraid.pm | 7 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/fs/dmraid.pm b/perl-install/fs/dmraid.pm index 892a85d0a..eae1fdd86 100644 --- a/perl-install/fs/dmraid.pm +++ b/perl-install/fs/dmraid.pm @@ -117,7 +117,12 @@ sub vgs() { #- device should exist, created by dmraid(8) using libdevmapper #- if it doesn't, we suppose it's not in use - if_(-e "/dev/$dev", $vg); + if (-e "/dev/$dev") { + $vg; + } else { + log::l("ignoring $dev as /dev/$dev doesn't exist"); + (); + } } grep { if ($_->{status} eq 'ok') { diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 107a9090d..979d34a58 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ - force loading NSS modules (mga#9326) +- log ignored dmraid devices (might help mga#9467) - drakx-in-chroot: o always copy /etc/resolv.conf again |