[Bug 1184878] Re: when upstart init the session jobs, it should be robust against environment changes (fallback?)
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 in normal user paths though. -- 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 environment changes (fallback?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1184878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1184878] Re: when upstart init the session jobs, it should be robust against environment changes (fallback?)
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 used by user session upstart jobs are also /sbin/start /sbin/stop /sbin/reload /sbin/restart /sbin/initctl /sbin/initctl. If one doesn't want an upstart managed user-session, one should comment it out from /etc/upstart-xsessions, similarly lightdm/ubuntu-greeter should manage to start such sessions without init user-session. ** Also affects: lightdm (Ubuntu) Importance: Undecided Status: New ** Changed in: lightdm (Ubuntu) Status: New = Confirmed ** Changed in: upstart (Ubuntu) Status: Confirmed = Invalid -- 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 environment changes (fallback?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1184878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1184878] Re: when upstart init the session jobs, it should be robust against environment changes (fallback?)
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 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 environment changes (fallback?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1184878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1184878] Re: when upstart init the session jobs, it should be robust against environment changes (fallback?)
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: when upstart init the session jobs, it should be robust against environment changes (fallback?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1184878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1184878] Re: when upstart init the session jobs, it should be robust against environment changes (fallback?)
** 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 environment changes (fallback?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1184878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1184878] Re: when upstart init the session jobs, it should be robust against environment changes (fallback?)
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 the session jobs, it should be robust against environment changes (fallback?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1184878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs