summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-February/023190.html
blob: fe9aa6dccc2822b95abfa9c33c7031a536056981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Bug #7633
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Bug%20%237633&In-Reply-To=%3Cm3621ccf3d.fsf%40euphor.blino.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="023179.html">
   <LINK REL="Next"  HREF="023193.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Bug #7633</H1>
    <B>Olivier Blin</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Bug%20%237633&In-Reply-To=%3Cm3621ccf3d.fsf%40euphor.blino.org%3E"
       TITLE="[Mageia-dev] Bug #7633">mageia at blino.org
       </A><BR>
    <I>Thu Feb 28 22:18:14 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="023179.html">[Mageia-dev] Bug #7633
</A></li>
        <LI>Next message: <A HREF="023193.html">[Mageia-dev] Bug #7633
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#23190">[ date ]</a>
              <a href="thread.html#23190">[ thread ]</a>
              <a href="subject.html#23190">[ subject ]</a>
              <a href="author.html#23190">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Sander Lepik &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">sander.lepik at eesti.ee</A>&gt; writes:

&gt;<i> Hi!
</I>&gt;<i>
</I>&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=7633">https://bugs.mageia.org/show_bug.cgi?id=7633</A>
</I>&gt;<i>
</I>&gt;<i> Can we do something about this bug? 80+ people in CC getting spammed
</I>&gt;<i> every second day. If we can't fix it then let's drop it.
</I>
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-&gt;new
    eval {
        my $hal = $dbus-&gt;get_service($hal_dn); # perl_checker: $dbus = Net::DBus-&gt;new
        my $manager = $hal-&gt;get_object($manager_path, $hal_manager); # perl_checker: $manager = Net::DBus::RemoteObject
        grep { is_proper_device($_, 1) } map { $hal-&gt;get_object($_, &quot;$hal_dn.Device&quot;) } @{$manager-&gt;GetAllDevices};
    }
}

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

-- 
Olivier Blin - blino
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="023179.html">[Mageia-dev] Bug #7633
</A></li>
	<LI>Next message: <A HREF="023193.html">[Mageia-dev] Bug #7633
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#23190">[ date ]</a>
              <a href="thread.html#23190">[ thread ]</a>
              <a href="subject.html#23190">[ subject ]</a>
              <a href="author.html#23190">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>