Public bug reported:

When working with ubuntu-touch the following environment differences are 
observed:
- login via ssh, locale is set
- login via tty/serial, locale is set
- login adb shell, locale is not set

in fact none of the /etc/environment is sourced/exported, which
indicates that PAM environment is not used. I believe adbd should be
treated as a full-fledged login-like PAM session, such that e.g. adb
shell has correct locale set, etc.

As a local hack, I've now used:
# echo exec su - -c adbd > /etc/init/android-tools-adbd.override

such that, at least, adb shell not has all PAM environment variables
available.

Please note at the moment we are growing a number of work-arounds across
smoke tests runners, and the autopilot tests which workaround the facts
that environment across adb shell is incomplete.

** Affects: android-tools (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: jemjem

** Changed in: android-tools (Ubuntu)
       Status: New => Confirmed

** Changed in: android-tools (Ubuntu)
   Importance: Undecided => High

** Tags added: jemjem

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267117

Title:
  adbd does not use pam_env

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android-tools/+bug/1267117/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to