← Back to team overview

touch-packages team mailing list archive

[Bug 1476781] Re: [mako] cannot send sms unless a network connection is active

 

Problem here is that the telepathy-ofono mission control plugins runs a
"getprop rild.libpath" in order to detect if there is at least one modem
present in the device.

getprop tries to query dev/socket/property_service socket and if that fails, it fallsback to read /system/build.prop.
We decided to just allow the plugin to read build.prop. It works fine on arale and krillin, but on mako it seems the variable is not present in the file. If you run getprop manually it will have permissions to read the socket, and the right value is returned.

This makes the telepathy-ofono mission control plugin fail to create the
accounts and set the property that tells mission control to never
disable the account when there is no network.

We have two options here: Either add rild.libpath to build.prop, or
allow getprop to access dev/socket/property_service when launched via
mission-control process.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to telepathy-mission-
control-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1476781

Title:
  [mako] cannot send sms unless a network connection is active

Status in telepathy-mission-control-5 package in Ubuntu:
  Triaged
Status in telepathy-ofono package in Ubuntu:
  New

Bug description:
  Mako only
  Latest ota5 update or rc-proposed

  Turn off wifi and cell data
  try t send an sms, it will fail to send
  enable either data connection, it will succeed

  syslog contains
  Jul 21 10:27:46 ubuntu-phablet kernel: [   16.082435] type=1400 audit(1437488866.193:170): apparmor="DENIED" operation="connect" info="Failed name lookup - disconnected path" error=-13 profile="/usr/lib/telepathy/mission-control-5" name="dev/socket/property_service" pid=1592 comm="getprop" requested_mask="wr" denied_mask="wr" fsuid=32011 ouid=0
  Jul 21 10:27:46 ubuntu-phablet kernel: [   16.083137] type=1400 audit(1437488866.193:171): apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/mission-control-5" name="/proc/cmdline" pid=1592 comm="getprop" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0

  version is 1:5.16.3-1ubuntu1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/telepathy-mission-control-5/+bug/1476781/+subscriptions


References