Comment 1 for bug 1710172

Revision history for this message
Jeff Lane  (bladernr) wrote :

Turns out the resource job fails to follow symlinks:

bladernr@galactica:~/development/git/plainbox-provider-resource/jobs$ find -H $(echo "$PATH" | sed -e 's/:/ /g') -maxdepth 1 -type f -executable -printf "name: %f\nlocation: %h\n\n" |grep sosreport
bladernr@galactica:~/development/git/plainbox-provider-resource/jobs$ ll /usr/bin/sosreport
lrwxrwxrwx 1 root root 28 Apr 26 08:38 /usr/bin/sosreport -> ../share/sosreport/sosreport

As you can see, the command used by the executable resource job doesn't find sosreport, and digging deeper, we see that it's actually a symlink to /usr/share/sosreport/sosreport.