← Back to team overview

touch-packages team mailing list archive

[Bug 1404188] Re: QNetworkSession::isOpen() always returns false

 

Note, if someone presented a list of rules that need to be added to the
policy that would fix this bug since 5.3.2+dfsg-4ubuntu9 was added, I'd
be happy to review them. However, before you do, please see
https://lists.launchpad.net/ubuntu-phone/msg04455.html: "It will talk to
network-manager, but it needs wide permissions which reveal too much
information (it will drill down far into the API which exposes MAC
addresses, SSIDs, etc to apps). I tried giving only what made sense, but
qtdeclaritive5-systeminfo-plugin didn't work right if it got some info
from network-manager, but not all." I understand that this is about
qtbase-opensource-src and QNetworkManagerInterface, but I've looked at
NetworkManager accesses by various libs many times and it never ends
well.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu
in Ubuntu.
https://bugs.launchpad.net/bugs/1404188

Title:
  QNetworkSession::isOpen() always returns false

Status in apparmor-easyprof-ubuntu package in Ubuntu:
  Won't Fix
Status in qtbase-opensource-src package in Ubuntu:
  Fix Released

Bug description:
  Using QNetworkSession::isOpen() in confined apps on a phone running
  vivid always returns false. This might be an apparmor thing, however,
  I couldn't find any REJECTED entries in log files.

  The test app in lp:~mzanetti/+junk/nmsessiontest can reproduce the
  issue. Open this project in ubuntu-sdk's qtcreator and run it on a
  vivid device. Press the button and watch the debug prints.

  On a vivid-desktop or a RTM based phone it will print "all is well".
  On a vivid phone however, it'll print "network session not open..."

  This used to work fine at least back in utopic images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1404188/+subscriptions


References