The patch in #9 doesn't fix it completely for me, as also some of the
scripts in /usr/share/upstart/sessions/* assume that /sbin is in $PATH.
Some of them call initctl which resides in /sbin

Unfortunately this means that a lot of packages would need to be fixed.

A grep->loop->dpkg -S->awk->sort->uniq command gave on my machine the
following list of affected packages.

avahi-daemon
cgmanager
dbus
gnome-keyring
gnupg-agent
indicator-application
kde-workspace-bin
logrotate
openssh-client
rsync
upstart-bin

Sorry for being that late about this. I only had time now to test and
debug it.

In my opinion it's upstart's fault to put executables that are needed by
non-root users into (/usr)?/sbin. That is against what I learned back in
the 1990 when I started using UNIX / Linux.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435492

Title:
  Xsession.d script assumes that /sbin is in $PATH

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1435492/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to