[Mageia-dev] Bug #7633
Thierry Vignaud
thierry.vignaud at gmail.com
Thu Feb 28 22:34:27 CET 2013
On 28 February 2013 22:18, Olivier Blin <mageia at blino.org> wrote:
>> 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.
Or someone should do the same thing as for perl-Hal-Cdroms (should be
easy, just needs time):
http://svnweb.mageia.org/soft/perl-Hal-Cdroms/trunk/lib/Hal/Cdroms.pm?view=log
More information about the Mageia-dev
mailing list