Removing sudo from update_system() in /usr/bin/tce-load solves this issue.
update_system() {
if [ "$BOOTING" ]; then
[ "$MODULES" ] && sudo touch /etc/sysconfig/newmodules
else
[ "$THISAPP" != "$EXTENSION" ] || [ "$DOWNLOAD_ONLY" ] || [ "$LOAD_ONLY" ] || echo "$THISAPP" >> ../$ONBOOTNAME
if [ "$MODULES" ]; then
sudo depmod -a 2>/dev/null
sudo /sbin/udevadm trigger
fi
sudo /sbin/ldconfig 2>/dev/null
fi
if [ -x "$TCEINSTALLED"/$2 ]; then
if [ "$BOOTING" ] ; then
echo "$TCEINSTALLED"/$2 >> /tmp/setup.lst
else
#HERE >> sudo "$TCEINSTALLED"/$2
fi
else
touch "$TCEINSTALLED"/$2
fi
}
If sudo is needed by a command inside a tce.installed script then it should be handled by the script itself. Tce-load shouldn't run all tce.installed scripts as sudo.