Bug 157 - drakx-net should offer to install net_monitor when the user activates the "Monitor" function
Summary: drakx-net should offer to install net_monitor when the user activates the "Mo...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 4
Assignee: Derek Jennings
QA Contact:
URL:
Whiteboard: MGA2TOO PATCH
Keywords: Junior_job
: 243 1392 7533 (view as bug list)
Depends on: 8225
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-23 13:52 CET by isadora
Modified: 2013-12-27 16:07 CET (History)
13 users (show)

See Also:
Source RPM: drakx-net
CVE:
Status comment:


Attachments
Install net_monitor package on demand (693 bytes, patch)
2013-07-14 09:42 CEST, Derek Jennings
Details | Diff
drakx-net patch (1.15 KB, patch)
2013-07-14 09:45 CEST, Derek Jennings
Details | Diff

Description isadora 2011-02-23 13:52:19 CET
Description of problem:
Monitor-button in NetworkCenter in Mageia Control Center doesn't respond upon clicking.


Version-Release number of selected component (if applicable):
Using Mageia-32 bits on VMWare



Reproducible: 

Steps to Reproduce:
Comment 1 D Morgan 2011-02-23 14:02:24 CET
can you install net_monitor and retry please ?

CC: (none) => dmorganec

Comment 2 isadora 2011-02-23 15:16:48 CET
Installed net_monitor, Monitor-button is responding now.
isadora 2011-02-23 15:17:58 CET

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Ahmad Samir 2011-03-02 17:35:11 CET
*** Bug 243 has been marked as a duplicate of this bug. ***

CC: (none) => i.am.neo67

Comment 4 Ahmad Samir 2011-03-02 17:37:19 CET
Reopening, till a feature is added to drakx-net to prompt for installing net_monitor when needed.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
Summary: Monitor-button in Network Center not responding => drakx-net should offer to install net_monitor when the user activates the "Monitor" function
Severity: normal => enhancement

Comment 5 D Morgan 2011-03-02 18:27:56 CET
i take this bug. I started to work on it

Assignee: bugsquad => dmorganec

Comment 6 isadora 2011-03-02 18:45:16 CET
Excuses for closing.
Comment 7 D Morgan 2011-03-02 18:47:56 CET
don't be, there is no pbs in this :)

Status: REOPENED => ASSIGNED

Comment 8 Manuel Hiebel 2011-05-23 10:21:13 CEST
*** Bug 1392 has been marked as a duplicate of this bug. ***

CC: (none) => thomas

Manuel Hiebel 2011-07-27 18:15:11 CEST

Source RPM: (none) => drakx-net

Comment 9 Marja Van Waes 2011-10-04 14:34:24 CEST
The bug is still there in current cauldron

@ dmorgan:
Funny, there is no drakx-net maintainer, but this bug is still assigned to you, you even accepted it on 2011-03-02

Any news?

CC: (none) => m.van.waes

Comment 10 isadora 2011-10-04 15:52:07 CEST
But, it is working in my Cauldron (in virtual machine, that is).
Comment 11 Marja Van Waes 2011-10-04 16:03:02 CEST
(In reply to comment #10)
> But, it is working in my Cauldron (in virtual machine, that is).

Yes, it works in my Cauldron too, but:

 (In reply to comment #4)
> Reopening, till a feature is added to drakx-net to prompt for installing
> net_monitor when needed.

when I uninstalled drakx-net and hit that button, I was not prompted to install net_monitor 

The prompt not appearing, that is the bug
Comment 12 isadora 2011-10-04 16:11:13 CEST
My mistake, i am sorry.
Comment 13 Marja Van Waes 2011-10-04 16:20:55 CEST
(In reply to comment #12)
> My mistake, i am sorry.

I don't feel at ease with people who never make mistakes, so thanks for making one :)
Comment 14 Magnus Rasche 2012-02-17 00:28:10 CET
still in beta1

CC: (none) => magnus.mud
Hardware: i586 => All

Comment 15 Marja Van Waes 2012-05-26 13:03:26 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 16 Alejandro Cobo 2012-06-11 23:33:01 CEST
Still valid en MGA2.

CC: (none) => alejandrocobo

Sander Lepik 2012-06-12 19:34:48 CEST

Keywords: NEEDINFO => (none)
CC: (none) => sander.lepik
Whiteboard: (none) => MGA2TOO

Manuel Hiebel 2012-06-12 20:22:49 CEST

Keywords: (none) => Junior_job

Comment 17 Florian Hubold 2012-07-14 14:16:43 CEST
Assigning to blino.

@dmorgan: Did you already have anything finished, so that blino doesn't duplicate your work?

CC: (none) => doktor5000
Assignee: dmorganec => mageia

Sébastien de Boissieu 2012-07-28 12:37:45 CEST

CC: (none) => sebdeblinux
Version: Cauldron => 2
Target Milestone: --- => Mageia 3
Severity: enhancement => normal

Comment 18 Manuel Hiebel 2012-07-28 18:38:16 CEST
Please don't play with the bugzilla

Version: 2 => Cauldron
Severity: normal => enhancement

Comment 19 Sébastien de Boissieu 2012-07-29 00:13:05 CEST
I do not want to "play" with the bugzilla.
I just want to put in "Version" that the bug is still valid in Mageia 2 as written in comment 16 and as I observed it in a fresh install of Mageia 2.
I made a mistake because I want to say that the bug in Cauldron before the release of Mageia 2 is still valid in Mageia 2. Sorry for that change.

But, concerning the severity, IMHO it should be "normal" and not "enhancement" because it is a bug : the button "Monitor" doesn't work after a fresh install. We have to know that the package net-monitor has to be installed manually.
Sorry for this change but I didn't expect that I had the rights to do that change.

Concerning the fix for this bug, I have search in the source code and I think that the fix should be here :

soft/drakx-net/trunk/lib/network/connection_manager.pm line 242 :

sub monitor_connection {
    my ($cmanager) = @_;
    my $interface = $cmanager->{connection} && $cmanager->{connection}->get_interface or return;
    run_program::raw({ detach => 1 }, '/usr/bin/net_monitor', '--defaultintf', $interface);
}

But I don't know the method to request an installation.

I hope that very little contribution should help the resolution.
Comment 20 Marja Van Waes 2012-09-20 17:50:41 CEST
increasing severity

(this is a bug that confuses a lot of users)

Severity: enhancement => normal

Comment 21 Marja Van Waes 2012-09-20 17:52:12 CEST
*** Bug 7533 has been marked as a duplicate of this bug. ***

CC: (none) => defcon-linux

Comment 22 Derek Jennings 2013-07-14 09:42:21 CEST
Created attachment 4206 [details]
Install net_monitor package on demand

Here is a patch to install the net_monitor package when the Monitor button is pressed in draknetcenter or net_applet.

If you are happy with it Olivier I can commit it.

CC: (none) => derekjenn

Comment 23 Derek Jennings 2013-07-14 09:45:26 CEST
Created attachment 4207 [details]
drakx-net patch

It helps if I attach the correct file :-)

Attachment 4206 is obsolete: 0 => 1

Derek Jennings 2013-07-14 09:50:21 CEST

CC: (none) => jani.valimaa

Derek Jennings 2013-07-20 22:38:56 CEST

Assignee: mageia => derekjenn

Derek Jennings 2013-07-22 11:30:59 CEST

Depends on: (none) => 8225

Comment 24 Thierry Vignaud 2013-12-27 16:07:26 CET
Fixed by Derek in git quite some monthes ago for mga4

Status: ASSIGNED => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED
Target Milestone: Mageia 3 => Mageia 4
Whiteboard: MGA2TOO => MGA2TOO PATCH


Note You need to log in before you can comment on or make changes to this bug.