Comment 10 for bug 1435492

Revision history for this message
Johannes Mueller (johmue) wrote :

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.