I was sort of caught in a catch-22 in that Ubuntu 10.04 LTS did not have a package for proftpd-sql-passwd, and so upgraded my OS to 11.10. Perhaps there was another way to stay on on 10.04LTS, but the damage is done.
Now, after upgrading the distribution, my virtual servers have the following suexec error: “command not in docroot”. If I simply run the websites without suexec, it’s fine, but I’d rather keep my domains running under their virtual users.
Has there been a configuration change since 10.04 that is not handled by Virtualmin? Looking at issues management for Virtualmin, I see that only the LTS Ubuntu versions are supported, so I should probably only expect a fix for 12.04?
Or is there something I can do meanwhile to fix this? I will tweak my permissions to compensate, as there are repercussions like file permissions to save session files, etc.
Also I guess I should refrain from updating to non-LTS versions?
That’s what I thought about LTS… Oh well, there’s one coming in about a month.
I’m not sure if the format for the output will be readable:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
++±======================================-======================================-============================================================================================
un apache2-suexec (no description available)
ii apache2-suexec-custom 2.2.20-1ubuntu1.2 Configurable suexec program for Apache 2 mod_suexec
Basically it was a fresh install of Ubuntu 10.04 LTS, to which I installed Virtualmin with the script, then upgraded the distribution. All the dependencies should be there.
That’s what I thought about LTS… Oh well, there’s one coming in about a month.
Ubuntu 12.04 comes out on April 26th, and Virtualmin support for it will come a few weeks after that. So I’d expect to see support for it in roughly 3 months, plus or minus a couple of weeks.
Now, as far as your suexec issue goes – it looks like you have the correct apache2-suexec-custom package installed. It may just need to be tweaked.
It looks like a change in the SUexec model that forces FCGI scripts to run in the docroot, however I think it uses the global docroot, which seems in conflict with the virtual root model. I know little about this so I may be talking trash…