/etc/profile.d/upstart-phablet.sh sets UPSTART_SESSION to null value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
ubuntu-touch-session (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Script /etc/profile.
export UPSTART_
However, "sudo su -" does not result in the creation of XDG_RUNTIME_DIR for the root user, hence UPSTART_SESSION is set to the null value.
This leads to confusing upstart behaviour:
phablet@
initctl: unable to determine sessions
root@ubuntu-
initctl: Unable to connect to Upstart: Empty address ''
root@ubuntu-
root@ubuntu-
cgroup-lite start/running
mountall-net stop/waiting
mountnfs-
passwd stop/waiting
rc stop/waiting
rsyslog start/running, process 437
startpar-bridge stop/waiting
tty4 stop/waiting
udev start/running, process 631
upstart-udev-bridge start/running, process 624
I think the issue may actually be related to logind not creating XDG_RUNTIME_DIR.
Status changed to 'Confirmed' because the bug affects multiple users.