Change the method to get DBUS addres when changing user with "su -" command. 13/115213/2 accepted/tizen/3.0/common/20170221.125040 accepted/tizen/3.0/ivi/20170221.023246 accepted/tizen/3.0/mobile/20170221.022930 accepted/tizen/3.0/tv/20170221.023105 accepted/tizen/3.0/wearable/20170221.023207 submit/tizen_3.0/20170217.024800
authorINSUN PYO <insun.pyo@ubuntu1604.playinsun.pe.kr>
Fri, 17 Feb 2017 02:19:31 +0000 (11:19 +0900)
committerINSUN PYO <insun.pyo@ubuntu1604.playinsun.pe.kr>
Fri, 17 Feb 2017 02:31:00 +0000 (11:31 +0900)
commit4f11f164f44d78ec6a54892e5d4095ca52e7117d
tree93d6a2c2c8e8419f5d62da7dd67db3e601bb374c
parent4f9a3114261606c3edf84655b2e5752dee33585f
Change the method to get DBUS addres when changing user with "su -" command.

The adbd's privilege has been changed form "System::Privileged" to "User::Shell".
So, pgrep does not work with smack errors when accessing /proc.
If it fails to find DBUS address, the fixed address is used.

Signed-off-by: INSUN PYO <insun.pyo@ubuntu1604.playinsun.pe.kr>
Change-Id: I4f9e0bc0939de2ecd7b866df8a2f266b4258338b
packaging/dbus.sh