[Mageia-dev] Bug #7633

Olivier Blin mageia at blino.org
Thu Feb 28 22:18:14 CET 2013


Sander Lepik <sander.lepik at eesti.ee> writes:

> Hi!
>
> https://bugs.mageia.org/show_bug.cgi?id=7633
>
> Can we do something about this bug? 80+ people in CC getting spammed
> every second day. If we can't fix it then let's drop it.

Hi,

Just putting an eval {} block like this in lib/MDV/Snapshot/Hal.pm
should be enough:

sub find_removable_volumes {
    my ($dbus) = @_; # perl_checker: $dbus = Net::DBus->new
    eval {
        my $hal = $dbus->get_service($hal_dn); # perl_checker: $dbus = Net::DBus->new
        my $manager = $hal->get_object($manager_path, $hal_manager); # perl_checker: $manager = Net::DBus::RemoteObject
        grep { is_proper_device($_, 1) } map { $hal->get_object($_, "$hal_dn.Device") } @{$manager->GetAllDevices};
    }
}

We just won't be able to automatically detect the backup disk mount point.

-- 
Olivier Blin - blino


More information about the Mageia-dev mailing list