enable android adbd properly in systemd
Bug #1627613 reported by
You-Sheng Yang
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:/
Related branches
lp://qastaging/~vicamo/upstart/xenial-escape-systemd-strings
- Łukasz Zemczak: Approve (not an upstart maintainer)
-
Diff: 83 lines (+51/-4)1 file modifiedextra/upstart-local-bridge.c (+51/-4)
lp://qastaging/~vicamo/lxc-android-config/add-upstart-local-bridge
- Łukasz Zemczak: Approve
- Ubuntu Phablet Team: Pending requested
-
Diff: 44 lines (+23/-1)3 files modifieddebian/lxc-android-config.service (+2/-1)
lib/systemd/system/force-mtp.service (+10/-0)
lib/systemd/system/upstart-local-bridge.service (+11/-0)
tags: | added: systemd |
description: | updated |
Changed in canonical-devices-system-image: | |
status: | New → Fix Released |
milestone: | none → x1 |
To post a comment you must log in.
"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.