www.emsdn.com
Class Profile: Home »» Networking [Networking] under "Networking" »»» plugins not specifically ENabled being loaded by 72_active.sf

plugins not specifically ENabled being loaded by 72_active.sf


Richard writes:
hi justin,
i've been 'sicked' :-) on you from #irc:
"I'm not sure why the loadplugin line got shoved into active, but
that's jm's thing."
i'm bldg sa-svn r433640 on osx.
on , i now notice, e.g.:
[4087] dbg: plugin: registered
(0x1fcf1dc)
[4087] dbg: plugin: fixed relative path: /var
/
[4087] dbg: plugin: loading
from /var
/
[4087] warn: plugin: failed to parse plugin /var
/ Can't locate /var
/ in @INC (@INC contains: lib
/usr/local / /usr/local
/perl_libs/sitelib /usr/local
/ /usr/local
/perl_libs/privlib /usr/local
/ /usr/local
/perl_libs/vendorlib) at /usr/local
/ line 97.
which is, apparently, coming from the associated lines in Dist/72_active.cf:
grep felicity 72_active.cf
##{
loadplugin
sandbox-felicity.pm
##}
ifplugin
ifplugin
ifplugin
ifplugin
from what i've been told:
"70_sandbox is for stuff that hasn't been autopromoted yet, and
72_active is anything that's been promoted."
i understand that if a loadplugin, etc is "in" sandbox.cf, that one
shouldn't expect it to make sense & follow *.pre rules -- necessarily.
but if it's in an 'official' distro .cf, i'd think the "it" should
behave and follow *.pre rules -- i.e., don't auto-enable plugins without
specific permission.
and, of course, in my example, i have NT enabled the plugin in init.pre.
so, why is a reference to "sandbox-felicity.pm" in Dist/72_active.cf ?
bug? feature? my fubar?
it's because "sandbox-felicity.pm" is listed in MANIFEST, ie. is
considered part of the main distribution. This used to be required
to work around a bug, but isn't any more.
try now I've taken them out.


No. 1# | By Developer Tags User at [2008-5-5] | size: 2828 bytes

PGP SIGNED MESSAGE
Hash: RIPEMD160

hi jason,

thx 4 the reply.

>bug? feature? my fubar?


it's because "sandbox-felicity.pm" is listed in MANIFEST, ie. is
considered part of the main distribution. This used to be required
to work around a bug, but isn't any more.

try now I've taken them out.

updating to r433708,
- now reports:

[13912] dbg: plugin: fixed relative path:
/
[13912] dbg: plugin: loading
from
/
[13912] dbg: plugin: failed to parse tryplugin
/ Can't locate
/ in @INC (@INC contains:
lib /
/usr/local/perl_libs/sitelib
/
/usr/local/perl_libs/privlib
/
/usr/local/perl_libs/vendorlib) at
/ line 97.
[13912] dbg: plugin: fixed relative path:
/
[13912] dbg: plugin: loading
from /
[13912] dbg: plugin: failed to parse tryplugin
/ Can't locate
/ in @INC (@INC contains: lib
/
/usr/local/perl_libs/sitelib
/
/usr/local/perl_libs/privlib
/
/usr/local/perl_libs/vendorlib) at
/ line 97.
[13912] dbg: plugin: fixed relative path:
/
[13912] dbg: plugin: loading
from /
[13912] dbg: plugin: failed to parse tryplugin
/ Can't locate
/ in @INC (@INC contains: lib
/
/usr/local/perl_libs/sitelib
/
/usr/local/perl_libs/privlib
/
/usr/local/perl_libs/vendorlib) at
/ line 97.

where,

cat /
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
#loadplugin
loadplugin
#loadplugin
loadplugin
loadplugin
#loadplugin
#loadplugin
loadplugin
loadplugin
loadplugin
loadplugin

loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin
loadplugin

loadplugin ImageInfo.pm
loadplugin SendmailID.pm
loadplugin SIQ.pm

and,

cd /var/MailServer/Conf/SA/
ls -1 Local/*.pm
ImageInfo.pm
SendmailID.pm
SIQ.pm
ls -1 Dist/*.pm
su: /usr/local/bin/ls: No match.

and, checking:

grep sandbox-felicity `grep -rlni sandbox-felicity.pm .`

sandbox-felicity.pm

sandbox-felicity.pm

ls -al `grep -rlni sandbox-felicity.pm .`
-rw-rw 1 root omn 218458 2006-08-22 11:23 ./SA/Dist/72_active.cf
-rw-rw 1 root omn 218458 2006-08-22 11:23

richard
- --
/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments

[GPG] MacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6
PGP SIGNATURE
Version: GnuPG v1.4.5 (Darwin)

H8cAoKEKha5kCJkmoIqStHHCi5
=DW+5
PGP SIGNATURE



Networking Hot!

Networking New!


Copyright © 2008 www.emsdn.com • All rights reserved • CMS Theme by www.emsdn.com - 0.375