I also had this problem after upgrading from 12.04 to 14.04 and fixed it
by creating a new file (/etc/X11/Xsession.d/01path_fix) and putting the
following in it:
# Fix for https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1184878
PATH=$PATH:/sbin
It's a bit annoying that it puts /sbin
This is not a problem with upstart packaging. /sbin is on the default
path in ubuntu, and hence init binary is shipped there and is a
reasonable location for the executable, same as e.g. ifconfig. Adding
extra symlinks, is not, since quite a lot of things will not work.
Other binaries that are
actually, if init is not on the path we could either add /sbin to path
in Xsession.d scripts, or fallback in Xsession.d to non-upstart managed
user-session.
Even better we could simply merge sbin - bin, as well as complete the
/usr merge. =)
--
You received this bug notification because you are
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: upstart (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184878
Title:
** Changed in: upstart (Ubuntu)
Importance: Undecided = Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184878
Title:
when upstart init the session jobs, it should be robust against
as pitti pointed out, a symlink from /sbin/init to /bin/init would make
sense as it's now a user-centric part as well.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184878
Title:
when upstart init