database plugin modification question


If I were to modify the mysql plug-in, is there an upgrade-safe way to do it? I would not want my changes to be lost when I upgrade virtualmin…

Here is an oversimplified OS-level example: looking at ubuntu’s Bind package, I can modify any files that end in “.local” because those local changes will not be altered by a package upgrade. Thus when I modify Bind, my changes will not be overwritten if I run “apt-get upgrade”.


I believe you could clone the module, and then modify the cloned version. (There is a feature for this in the Webmin->Webmin Configuration->Webmin Modules page.)

I suspect that’d be the safest way to do it; and I seem to recall it’s how I used to do module modifications back before I was only making module changes that I intend to push back up into the core (that was a long time ago, so I’m not real confident of exactly what my process looked like).