When I call cryptsetup from cron/CGI, I get errors about unknown features?
If you get errors about unknown parameters or the like that are not present when cryptsetup is called from the shell, make sure you have no older version of cryptsetup on your system that then gets called by cron/CGI. For example some distributions install cryptsetup into /usr/sbin, while a manual install could go to /usr/local/sbin. As a debugging aid, call “cryptsetup –version” from cron/CGI or the non-shell mechanism to be sure the right version gets called.