Location detection no longer working

Bug #1306515 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
location-service (Ubuntu)
Invalid
Undecided
Oliver Grawert
lxc-android-config (Ubuntu)
Fix Released
Critical
Oliver Grawert

Bug Description

I used to be able to detect location on osmtouch. I no longer can.

Interestingly:-

root@ubuntu-phablet:/var/log/upstart# cat ubuntu-location-service.log
/proc/self/fd/9: 5: [: =: unexpected operator
Instantiating and configuring: gps::Provider

ogra discovered missing quoting in :- /etc/init/ubuntu-location-service.override

< ogra_> oot@ubuntu-phablet:~# dpkg -S /etc/init/ubuntu-location-service.override
< ogra_> lxc-android-config: /etc/init/ubuntu-location-service.override

root@ubuntu-phablet:~# cat /etc/init/ubuntu-location-service.override
start on (android
          and started dbus)

script
    provider="gps::Provider"

    # Check if we need to use the fake provider instead
    if [ $(getprop custom.location.fake) = "true" ]; then
        provider="dummy::Provider"
        poptions="--dummy::Provider::ReferenceLocationLat=$(getprop custom.location.lat 51.505660) \
                  --dummy::Provider::ReferenceLocationLon=$(getprop custom.location.lon -0.099850)"
    fi

    exec /usr/bin/ubuntu-location-serviced --bus system --provider $provider $poptions
end script

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-location-service-bin 0.0.2+14.04.20140307-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.1-0ubuntu2
Architecture: armhf
Date: Fri Apr 11 10:59:50 2014
InstallationDate: Installed on 2014-04-11 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS - armhf (20140411)
SourcePackage: location-service
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Oliver Grawert (ogra) wrote :
Oliver Grawert (ogra)
Changed in location-service (Ubuntu):
status: New → Invalid
Changed in lxc-android-config (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Oliver Grawert (ogra)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc-android-config - 0.160

---------------
lxc-android-config (0.160) trusty; urgency=medium

  * drop redundant unzipping of the android initrd, we do it from the ubuntu
    initramfs now, no need ot run it again (LP: #1306532)
  * fix quoting in location service upstart job, make sure to only query the
    property system if it is really up (LP: #1306515)
 -- Oliver Grawert <email address hidden> Sat, 12 Apr 2014 15:20:36 +0200

Changed in lxc-android-config (Ubuntu):
status: Triaged → 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.