Comment 3 for bug 1449725

Revision history for this message
Luke Williams (wililupy) wrote :

The way I got this to work on my laptop was after I installed 1.3.9, I went into /sbin and renamed initctl temporarily to initctl.orig
 <sudo mv /sbin/initctl /sbin/initctl.orig>

I then ran sudo /usr/lib/prey/current/bin/prey config hooks post_install
and everything completed successfully. I then ran sudo /usr/lib/prey/current/bin/prey config gui
and configured it to Prey and everything checked out. I then put initctl back to normal: sudo mv /sbin/initctl.orig /sbin/initctl
and everything is working as designed.

The reason you get this error is because the script that it runs to install the service looks for initctl and if it finds it, it tries to use upstart. Since 15.04 uses systemd, it fails and crashes out before it can build the systemctl module, even thought prey can do this, it sees initctl and uses that instead. Telling it that it isn't there would be better, or having Prey update the script to look for systemctl first instead of initctl would be preferred.