Missing mktemp for gitolite on Synology
I use gitolite to remotely manage my repositorites inside own cloud on Synology DS411 DiskStation. Hardware is maybe a bit old, but still gets new software updates. And of course from time to time, those updates break my configuration. Mostly because my symlinks are removed and $PATH gets reset to predefined folders.
Simplest fix to restore gitolite is to symlink mktemp into known location. Login as administrator and type:
ln -s /opt/bin/mktemp /sbin/mktemp
New repository creation should work fine now.