From: Jamie C. <jca...@we...> - 2013-03-08 18:08:09
|
On 08/Mar/2013 07:21 Chris Nighswonger <cni...@fo...> wrote .. > On Fri, Mar 8, 2013 at 9:19 AM, Chris Nighswonger > <cni...@fo...> wrote: > > On Fri, Mar 8, 2013 at 8:07 AM, Chris Nighswonger > > <cni...@fo...> wrote: > > > > It may be something with miniserv rather than Webmin proper. I can > > write a script which does not load/require any code related to Webmin > > or my module, but uses Inline in the same fashion. This script will > > also run from the cli, but errors in the exact same way when served by > > miniserv. > > Sorry for replying to myself again. > > Things appear to go bad with the eval block here: > > https://github.com/webmin/webmin/blob/master/miniserv.pl#L2337 > > So I'm guessing that its a problem with the environment in which the > eval is executed. Though what it is, I am unsure. Perhaps forcing a change of package (as happens in that block) is the cause of the problem? - Jamie |