Submitted by sgrayban on Fri, 11/07/2014 - 18:30
How do you compensate for /etc/webmin/ being located under a non-traditional location like /home/etc/webmin/ instead ?
Status:
Closed (works as designed)
How do you compensate for /etc/webmin/ being located under a non-traditional location like /home/etc/webmin/ instead ?
Comments
Submitted by sgrayban on Fri, 11/07/2014 - 19:24 Comment #1
nm I found a solution using mount bind option
Submitted by JamieCameron on Sat, 11/08/2014 - 01:00 Comment #2
Actually Webmin should handle this just fine. If you install from the tar.gz package, the setup.sh script will ask you where to put the config directory. But if you install from the RPM, there is no choice .... so a bind mount is probably the best option.
Submitted by sgrayban on Sat, 11/08/2014 - 03:20 Comment #3
In my case its the deb's I use and using the mount bind option worked like a charm without the need to edit the config files. It's an elegant fix
Submitted by JamieCameron on Sat, 11/08/2014 - 17:42 Comment #4
Yeah, that seems like the way to go.
Submitted by sgrayban on Sat, 11/08/2014 - 22:33 Comment #5
I was thinking that maybe you could do this automatically when installing webmin for the first time. Whether its by the vm install script or webmin on its own... doing a mount bind still makes a clean install even though locations might be in a different place due to partition constraints.