/etc/profile is for login shells, which explains how jujud and thus the hook environment fails to pick it up.
From what I can tell, /snap/bin needs to be added to the PATH in /etc/environment on all Ubuntu images.
This will also fix similar bugs with cron and other daemons, which also won't have /snap/bin in their PATH.
/etc/profile is for login shells, which explains how jujud and thus the hook environment fails to pick it up.
From what I can tell, /snap/bin needs to be added to the PATH in /etc/environment on all Ubuntu images.
This will also fix similar bugs with cron and other daemons, which also won't have /snap/bin in their PATH.