I have a few Ubuntu systems which use the su command from within the rc.local script. This updates a users git repo on the local machine, so its important that the ownership of files is kept to the correct user.
This was working before spectre/meltdown patches, but now I'm getting inconsistent results when the script runs. Some machines are able to run the su command but many say that "su must be ran from a terminal" and the script does not run.
I'm struggling to understand what has changed in the last updates that would break this.