Comment 0 for bug 1660273

Revision history for this message
Nobuto Murata (nobuto) wrote : `juju run` does not include /snap/bin in $PATH

canonical-livepatch does not work without full path.

$ juju run --all 'canonical-livepatch status'
-> /tmp/juju-exec474057402/script.sh: line 1: canonical-livepatch: command not found

$ juju run --all '/snap/bin/canonical-livepatch status'
-> works.

$ juju run --all 'echo $PATH'
-> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin