enable android adbd properly in systemd

Bug #1627613 reported by You-Sheng Yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Undecided
Unassigned
android-tools (Ubuntu)
New
Undecided
Unassigned
lxc-android-config (Ubuntu)
Fix Released
Undecided
Unassigned
upstart (Ubuntu)
New
Undecided
Unassigned

Bug Description

Currently android adbd has no systemd service file and the mechanism for related parts like usb state and mtp is void.

TODO: document https://wiki.canonical.com/PES/Engineering/Premium/PhoneArticles/MechanismsThatUseProperty

Tags: patch systemd

Related branches

You-Sheng Yang (vicamo)
tags: added: systemd
Revision history for this message
You-Sheng Yang (vicamo) wrote :

"upstart-local-bridge[930]: Unit name <email address hidden>\x3d,adb.target is not valid."
So from systemd source, the allowed unit name is:

  #define VALID_CHARS DIGITS LETTERS ":-_.\\"

upstart-local-bridge translates the event (name,value) pair to a unit name that doesn't conform to systemd's requirement.

You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Patch for android-tools to enable adbd in eng build at boot.

Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Prebuilt upstart-local-bridge binary from version 1.13.2-0ubuntu21.1

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-install-systemd-service-files.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc-android-config - 0.230+16.10.20161004-0ubuntu1

---------------
lxc-android-config (0.230+16.10.20161004-0ubuntu1) yakkety; urgency=medium

  [ You-Sheng Yang ]
  * Align to current upstart setup and run android container in the
    background. (LP: #1625916)
  * Add systemd upstart-local-bridge service (LP: #1627613)
  * Add writable path for systemd. (LP: #1625445)
  * Disable alsa-restore, alsa-state when lxc-android-config installed
    (LP: #1626012)

 -- Łukasz Zemczak <email address hidden> Tue, 04 Oct 2016 08:15:25 +0000

Changed in lxc-android-config (Ubuntu):
status: New → Fix Released
Changed in canonical-devices-system-image:
status: New → Fix Released
milestone: none → x1
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.