This file is indexed.

/etc/profile.d/upstart-phablet.sh is in ubuntu-touch-session 0.108+16.04.20160407-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
# Join the phablet Upstart session
if [ "$USER" != "root" ]
then
    uid=$(getent passwd "$USER"|cut -d: -f3)
    export XDG_RUNTIME_DIR="/run/user/$uid"

    export UPSTART_SESSION=$(/sbin/initctl list-sessions | awk '{ print $NF; quit }')
fi