Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1345877

Summary: Empathy always in off-line mode after upgrade from rhel7.1 to rhel7.2.
Product: Red Hat Enterprise Linux 7 Reporter: Ashish Shah <ashishks>
Component: telepathy-mission-controlAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: tpelka
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:41:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ashish Shah 2016-06-13 11:23:22 UTC
Description of problem:

After upgrade from 7.1 to 7.2, Empathy cannot create any connection anymore.
There is no network connectivity issue on affected rhel7.2 client system. 
Also the servers are accessible from rhel7.1 clients, hence no server side problem as well. 
Disabling NetworkManager, did not help.

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

empathy-3.12.10-2.el7.x86_64
telepathy-glib-0.24.0-1.el7.x86_64
telepathy-mission-control-5.16.3-2.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. RHEL7.2 system with no internet connection
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     100    0        0 eno1
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

2. Start empathy (configured to use internal servers)

Actual results:
empathy always in offline mode.

Expected results:
empathy should start in online mode

Additional info:
Bug #1345867 is filed for same problem with evolution. GIO_USE_NETWORK_MONITOR=base works for evolution but not for empathy.
Below command helps to workaround empathy..
gsettings set im.telepathy.MissionControl.FromEmpathy use-conn false

Comment 3 Debarshi Ray 2016-06-13 16:03:26 UTC
(In reply to Ashish Shah from comment #0)
> route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 10.0.0.0        0.0.0.0         255.255.255.0   U     100    0        0 eno1
> 192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
> virbr0

This shows that the system in question only has local connectivity. It is not able to reach the global Internet due to the lack of a gateway. telepathy-mission-control interprets this is a lack of network connectivity and causes empathy to go offline.

You can toggle this setting to disable this:
$ gsettings set im.telepathy.MissionControl.FromEmpathy use-conn false

Comment 8 Debarshi Ray 2016-06-28 14:26:37 UTC
(In reply to Debarshi Ray from comment #3)
> (In reply to Ashish Shah from comment #0)
> > route -n
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > 10.0.0.0        0.0.0.0         255.255.255.0   U     100    0        0 eno1
> > 192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
> > virbr0
> 
> This shows that the system in question only has local connectivity. It is
> not able to reach the global Internet due to the lack of a gateway.

For those who are following along, this NetworkManager represents this as NM_STATE_CONNECTED_LOCAL and GNetworkMonitor:network-available is FALSE.

Comment 9 Debarshi Ray 2016-06-28 14:52:55 UTC
(In reply to Ashish Shah from comment #0)
> Steps to Reproduce:
> 1. RHEL7.2 system with no internet connection
> route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 10.0.0.0        0.0.0.0         255.255.255.0   U     100    0        0 eno1
> 192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0
> virbr0

I found that turning off the wired connection through gnome-control-center in a RHEL 7.2 VM running in gnome-boxes is enough to get something similar.

With wired turned on:

[rishi@kolache-rhel7-workstation ~]$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.124.1   0.0.0.0         UG    100    0        0 ens3
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
192.168.124.0   0.0.0.0         255.255.255.0   U     100    0        0 ens3

After turning off wired:

[rishi@kolache-rhel7-workstation ~]$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

Comment 10 Debarshi Ray 2016-06-28 15:22:52 UTC
I have built telepathy-mission-control-5.16.3-3.el7:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=11282522

Comment 13 errata-xmlrpc 2016-11-04 07:41:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2502.html