Since this morning's upgrade via aptitude, when creating a sub-domain, we get:
Error - Perl execution failed
Undefined subroutine &virtual_server::set_provision_features called at /usr/share/webmin/virtual-server/domain_setup.cgi line 391.
During the upgrade we had 2 errors due to a customer deleting a domains/subdomain.com folder ! :
Error: Failed to copy /etc/php5/cgi/php.ini to /home/xxxxx/domains/yyyyyy.com/etc/php5/php.ini : cp: cannot create regular file `/home/xxxxx/domains/yyyyyy.com/etc/php5/php.ini': No such file or directory
Also in that case, Apache cannot restart:
/etc/init.d/apache2 reloadWarning: DocumentRoot [/home/xxxxx/domains/yyyyyy.com/public_html] does not exist
Syntax error on line 19 of /etc/apache2/sites-enabled/yyyyyy.com.conf:
can't get fastcgi file info: /home/xxxxx/domains/vossfjellandsby-skiskule.no/fcgi-bin/php5.fcgi(/home/xxxxx/domains/yyyyyy.com/fcgi-bin/php5.fcgi), errno: 2
So that would be a second bug... Users should not be able to delete the folders created by Virtualmin, specially in domains and public_html itself too. And if they delete, it should not preemt Apache from (re)starting...