Bug 576441 - Pidgin won't connect when NetworkManager is not running
Summary: Pidgin won't connect when NetworkManager is not running
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pidgin
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Warren Togami
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-24 03:17 UTC by Cong Ma
Modified: 2012-08-28 19:25 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-13 02:08:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cong Ma 2010-03-24 03:17:29 UTC
Description of problem:

Pidgin seems to be deeply hooked into NetworkManager. If NetworkManager service is not running, it fails to connect even in the presence of a valid Internet connection. If all interfaces controlled by NetworkManager are down but connection is available through an interface *not* controlled by NM, Pidgin just sits there "waiting for network connection" which is already there.

I don't know whether this is "the intended" behavior or not. It would be too sad if it is.

Any other Internet application, be it a CLI or desktop one, does not work this way. They determine the availability of Internet by trying, and fail when the attempt times out. I fail to see why Pidgin should be the exception.


Version-Release number of selected component (if applicable):

pidgin-2.6.6-2.fc12.i686
(But older versions may also be affected)


How reproducible:

Always


Steps to Reproduce:

There are two ways to reproduce the bug:

I.
1. Stop the NetworkManager service
2. Bring up an interface and get Internet connection going
3. Watch Pidgin failing to connect

II.
1. Bring up an interface not controlled by NM and get Internet connection going
2. Start the NM service, but disable any connection available to NM
3. Watch Pidgin "waiting for network connection" endlessly.


Actual results:

In either case, Pidgin fails/refuses to connect


Expected results:

Pidgin should have used the available connection like everyone else does.


Additional info:

Thanks for your time and patience.

Comment 1 Samuel Thiombiano 2010-04-12 17:31:28 UTC
Maybe Pidgin should have a checkbox (like firefox File->Work Offline) that allows the user to set the off/on-line status regardless of what NetworkManager says.

Comment 2 Stu Tomlinson 2010-04-13 02:08:34 UTC
This is by design. If NetworkManager is running it is assumed to be Managing your Network. If this is not what you want, don't run NetworkManager. If necessary to work around shortcomings in NetworkManager, you can run "pidgin -f" to Force online and ignore what NetworkManager reports.

Comment 3 Cong Ma 2010-04-13 03:18:48 UTC
(In reply to comment #2)
> This is by design. If NetworkManager is running it is assumed to be Managing
> your Network.

Well, I guess this is not what NetworkManager expect from "client" (loosely speaking) programs that use the network, since NetworkManager explicitly allows interfaces to not be managed by it.

But I'm not arguing, because...

> you can run "pidgin -f" to Force online and ignore what
> NetworkManager reports.    

Thanks. I hope this feature won't be removed in future updates ;)


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