[MIR] location-service

Bug #1218896 reported by Thomas Voß
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus-cpp (Ubuntu)
Fix Released
Undecided
Unassigned
location-service (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Rationale:

The location service will provide access to multiple different location providers on the phone and will act as a trusted helper to extend security mediation as provided by AppArmor. It is required by qtlocation, which in turn exposes positioning capabilities to Ubuntu (Touch) apps. Geoclue in this respect is not sufficient as its codebase is not maintained anymore and it is difficult to security mediate.

Maintainer: Thomas Voß <email address hidden>, thomas-voss in launchpad.

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

The package is built on supported archs:
https://launchpad.net/ubuntu/+source/location-service/0.0.1+13.10.20130829.1-0ubuntu1

(we don't support powerpc for the touch stack)

The desktop team is going to look at the package once in Ubuntu (subscribed to the package in launchpad)

Revision history for this message
Michael Terry (mterry) wrote :

* What's the story with the following bit of code in the permissions manager? Seems problematic.
    if (credentials.pid != pid || credentials.uid != uid)
        return Result::granted; // FIXME(tvoss): This should return rejected.
* Seems like it's missing a Build-Depends on graphviz for /usr/bin/dot
* Should have "Pre-Depends: ${misc:Pre-Depends}" for libubuntu-location-service0
* Has tests and runs them, great!
* No important bugs

Also needs lcov and dbus-cpp-dev, which I've added to this bug. I'll look at them next.

Changed in location-service (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Terry (mterry) wrote :

Also for location-service, a couple lintian warnings that seem not great:
* W: location-service source: dependency-is-not-multi-archified ubuntu-location-service-examples depends on ubuntu-location-service-doc (multi-arch: no)
* W: ubuntu-location-service-doc: embedded-javascript-library usr/share/LocationService/doc/html/jquery.js

Revision history for this message
Michael Terry (mterry) wrote :

dbus-cpp looks mostly fine, has tests, etc. It needs a team bug subscriber though. Especially since it only keeps bugs in Ubuntu.

Changed in dbus-cpp (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Terry (mterry) wrote :

As for lcov, is it really needed? Do we do anything with that coverage information? Like I don't notice a test that fails if there isn't enough coverage. Or maybe I missed it.

Changed in lcov (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

> dbus-cpp looks mostly fine, has tests, etc. It needs a team bug subscriber though. Especially since it only keeps bugs in Ubuntu.

subscribed desktop-bugs to it, thanks!

Michael Terry (mterry)
Changed in dbus-cpp (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Thomas Voß (thomas-voss) wrote :

I addressed the packaging changes and lintian warnings in the linked branch. For the FIXME in the code: https://bugs.launchpad.net/location-service/+bug/1219164.

Changed in location-service (Ubuntu):
assignee: nobody → Thomas Voß (thomas-voss)
importance: Undecided → High
Revision history for this message
Adam Conrad (adconrad) wrote :

Marked the lcov task Invalid since you've removed the build-dep in the linked branch (and lcov already has another MIR at #1218209 anyway)

Changed in lcov (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Michael Terry (mterry) wrote :

dbus-cpp also depends on lcov. Can we drop it there too?

Revision history for this message
Thomas Voß (thomas-voss) wrote :

Sure, linked the respective dbus-cpp branch

Revision history for this message
Michael Terry (mterry) wrote :

I'm seeing another problem with location-service:

dpkg-shlibdeps: warning: symbol _ZN6google21ParseCommandLineFlagsEPiPPPcb used by debian/libubuntu-location-service0/usr/lib/arm-linux-gnueabihf/libubuntu-location-service.so.0.0.1 found in none of the libraries
dpkg-shlibdeps: warning: symbol _ZN6google24ShutDownCommandLineFlagsEv used by debian/libubuntu-location-service0/usr/lib/arm-linux-gnueabihf/libubuntu-location-service.so.0.0.1 found in none of the libraries

The library is using some symbols from libgflags.so.2, from package libgflags2. But for some reason, the resulting binary deb package does not correctly Depend on libgflags2.

no longer affects: lcov (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package location-service - 0.0.1+13.10.20130903-0ubuntu1

---------------
location-service (0.0.1+13.10.20130903-0ubuntu1) saucy; urgency=low

  [ thomas-voss ]
  * * Remove build-dependency on lcov. * Add build-dependency on
    graphviz. * Add "Pre-Depends: ${misc:Pre-Depends}" for libubuntu-
    location-service0. * Add MultiArch: foreign for ubuntu-location-
    service-doc. * Disable JS-based search engine in doxygen setup to
    address lintian warning. (LP: #1218896)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 36
 -- Ubuntu daily release <email address hidden> Tue, 03 Sep 2013 15:16:22 +0000

Changed in location-service (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dbus-cpp - 0.0.1+13.10.20130904-0ubuntu1

---------------
dbus-cpp (0.0.1+13.10.20130904-0ubuntu1) saucy; urgency=low

  [ thomas-voss ]
  * Drop lcov dependency. (LP: #1218896)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 12
 -- Ubuntu daily release <email address hidden> Wed, 04 Sep 2013 02:32:09 +0000

Changed in dbus-cpp (Ubuntu):
status: Fix Committed → Fix Released
Michael Terry (mterry)
Changed in dbus-cpp (Ubuntu):
status: Fix Released → Fix Committed
Changed in location-service (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Michael Terry (mterry) wrote :

OK, approved location-service. The only remaining issue is bug 1219164, which will be fixed before 13.10.

(The effect of the bug is that the user isn't prompted when apps -- that apparmor allows to access location info -- request to access it. Location-service just assumes the user wants to allow it.)

Changed in location-service (Ubuntu):
assignee: Thomas Voß (thomas-voss) → nobody
status: Incomplete → Fix Committed
Revision history for this message
Adam Conrad (adconrad) wrote :

dbus-cpp 0.0.1+13.10.20130904-0ubuntu1 in saucy: universe/libs -> main
dbus-cpp-dev 0.0.1+13.10.20130904-0ubuntu1 in saucy amd64: universe/libdevel/optional/100% -> main
dbus-cpp-dev 0.0.1+13.10.20130904-0ubuntu1 in saucy armhf: universe/libdevel/optional/100% -> main
dbus-cpp-dev 0.0.1+13.10.20130904-0ubuntu1 in saucy i386: universe/libdevel/optional/100% -> main
dbus-cpp-dev 0.0.1+13.10.20130904-0ubuntu1 in saucy powerpc: universe/libdevel/optional/100% -> main
dbus-cpp-dev-examples 0.0.1+13.10.20130904-0ubuntu1 in saucy amd64: universe/x11/optional/100% -> main
dbus-cpp-dev-examples 0.0.1+13.10.20130904-0ubuntu1 in saucy armhf: universe/x11/optional/100% -> main
dbus-cpp-dev-examples 0.0.1+13.10.20130904-0ubuntu1 in saucy i386: universe/x11/optional/100% -> main
dbus-cpp-dev-examples 0.0.1+13.10.20130904-0ubuntu1 in saucy powerpc: universe/x11/optional/100% -> main
Override [y|N]? y
9 publications overridden.

Changed in dbus-cpp (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote :

location-service 0.0.1+13.10.20130904-0ubuntu1 in saucy: universe/utils -> main
libubuntu-location-service-dev 0.0.1+13.10.20130904-0ubuntu1 in saucy amd64: universe/libdevel/optional/100% -> main
libubuntu-location-service-dev 0.0.1+13.10.20130904-0ubuntu1 in saucy armhf: universe/libdevel/optional/100% -> main
libubuntu-location-service-dev 0.0.1+13.10.20130904-0ubuntu1 in saucy i386: universe/libdevel/optional/100% -> main
libubuntu-location-service0 0.0.1+13.10.20130904-0ubuntu1 in saucy amd64: universe/libs/optional/100% -> main
libubuntu-location-service0 0.0.1+13.10.20130904-0ubuntu1 in saucy armhf: universe/libs/optional/100% -> main
libubuntu-location-service0 0.0.1+13.10.20130904-0ubuntu1 in saucy i386: universe/libs/optional/100% -> main
ubuntu-location-service-doc 0.0.1+13.10.20130904-0ubuntu1 in saucy amd64: universe/doc/optional/100% -> main
ubuntu-location-service-doc 0.0.1+13.10.20130904-0ubuntu1 in saucy armhf: universe/doc/optional/100% -> main
ubuntu-location-service-doc 0.0.1+13.10.20130904-0ubuntu1 in saucy i386: universe/doc/optional/100% -> main
ubuntu-location-service-doc 0.0.1+13.10.20130904-0ubuntu1 in saucy powerpc: universe/doc/optional/100% -> main
ubuntu-location-service-examples 0.0.1+13.10.20130904-0ubuntu1 in saucy amd64: universe/utils/optional/100% -> main
ubuntu-location-service-examples 0.0.1+13.10.20130904-0ubuntu1 in saucy armhf: universe/utils/optional/100% -> main
ubuntu-location-service-examples 0.0.1+13.10.20130904-0ubuntu1 in saucy i386: universe/utils/optional/100% -> main
Override [y|N]? y
14 publications overridden.

Changed in location-service (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

The component was demoted in previous cycles and needs to be promoted back, there is no action needed on the bug but changing to fix-commited to help with the component mismatch summary of the situation

Changed in location-service (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :
Download full text (5.0 KiB)

Override component to main
location-service 3.0.0+16.10.20160811-0ubuntu1 in yakkety: universe/utils -> main
libubuntu-location-service-dbg 3.0.0+16.10.20160811-0ubuntu1 in yakkety amd64: universe/debug/optional/100% -> main
libubuntu-location-service-dbg 3.0.0+16.10.20160811-0ubuntu1 in yakkety arm64: universe/debug/optional/100% -> main
libubuntu-location-service-dbg 3.0.0+16.10.20160811-0ubuntu1 in yakkety armhf: universe/debug/optional/100% -> main
libubuntu-location-service-dbg 3.0.0+16.10.20160811-0ubuntu1 in yakkety i386: universe/debug/optional/100% -> main
libubuntu-location-service-dbg 3.0.0+16.10.20160811-0ubuntu1 in yakkety powerpc: universe/debug/optional/100% -> main
libubuntu-location-service-dbg 3.0.0+16.10.20160811-0ubuntu1 in yakkety ppc64el: universe/debug/optional/100% -> main
libubuntu-location-service-dev 3.0.0+16.10.20160811-0ubuntu1 in yakkety amd64: universe/libdevel/optional/100% -> main
libubuntu-location-service-dev 3.0.0+16.10.20160811-0ubuntu1 in yakkety arm64: universe/libdevel/optional/100% -> main
libubuntu-location-service-dev 3.0.0+16.10.20160811-0ubuntu1 in yakkety armhf: universe/libdevel/optional/100% -> main
libubuntu-location-service-dev 3.0.0+16.10.20160811-0ubuntu1 in yakkety i386: universe/libdevel/optional/100% -> main
libubuntu-location-service-dev 3.0.0+16.10.20160811-0ubuntu1 in yakkety powerpc: universe/libdevel/optional/100% -> main
libubuntu-location-service-dev 3.0.0+16.10.20160811-0ubuntu1 in yakkety ppc64el: universe/libdevel/optional/100% -> main
libubuntu-location-service3 3.0.0+16.10.20160811-0ubuntu1 in yakkety amd64: universe/libs/optional/100% -> main
libubuntu-location-service3 3.0.0+16.10.20160811-0ubuntu1 in yakkety arm64: universe/libs/optional/100% -> main
libubuntu-location-service3 3.0.0+16.10.20160811-0ubuntu1 in yakkety armhf: universe/libs/optional/100% -> main
libubuntu-location-service3 3.0.0+16.10.20160811-0ubuntu1 in yakkety i386: universe/libs/optional/100% -> main
libubuntu-location-service3 3.0.0+16.10.20160811-0ubuntu1 in yakkety powerpc: universe/libs/optional/100% -> main
libubuntu-location-service3 3.0.0+16.10.20160811-0ubuntu1 in yakkety ppc64el: universe/libs/optional/100% -> main
ubuntu-location-service-bin 3.0.0+16.10.20160811-0ubuntu1 in yakkety amd64: universe/utils/optional/100% -> main
ubuntu-location-service-bin 3.0.0+16.10.20160811-0ubuntu1 in yakkety arm64: universe/utils/optional/100% -> main
ubuntu-location-service-bin 3.0.0+16.10.20160811-0ubuntu1 in yakkety armhf: universe/utils/optional/100% -> main
ubuntu-location-service-bin 3.0.0+16.10.20160811-0ubuntu1 in yakkety i386: universe/utils/optional/100% -> main
ubuntu-location-service-bin 3.0.0+16.10.20160811-0ubuntu1 in yakkety powerpc: universe/utils/optional/100% -> main
ubuntu-location-service-bin 3.0.0+16.10.20160811-0ubuntu1 in yakkety ppc64el: universe/utils/optional/100% -> main
ubuntu-location-service-doc 3.0.0+16.10.20160811-0ubuntu1 in yakkety amd64: universe/doc/optional/100% -> main
ubuntu-location-service-doc 3.0.0+16.10.20160811-0ubuntu1 in yakkety arm64: universe/doc/optional/100% -> main
ubuntu-location-service-doc 3.0.0+16.10.20160811-0ubuntu1 in yakkety ...

Read more...

Changed in location-service (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.