unknown error on 10.3.9 boot: "SystemStarter: Malformatted parameters file"
unknown error on 10.3.9 boot: "SystemStarter: Malformatted parameters file"
- Subject: unknown error on 10.3.9 boot: "SystemStarter: Malformatted parameters file"
- From: OpenMacNews <email@hidden>
- Date: Thu, 04 Aug 2005 17:18:06 -0700
hi,
i've installed DansGuardian on an OSX 10.3.9 box.
i've created the /Library/StartupItems for it ...
DansGuardian/DansGuardian
DansGuardian/StartupParameters.plist
launches/operates as expected from cmd-line.
on boot, however, it never starts.
syslog shows only one related item:
Aug 4 16:49:23 localhost SystemStarter: Malformatted parameters file
/Library/StartupItems/DansGuardian/StartupParameters.plist.
checking in StartupParaneters.plist, i have ONLY:
% cat /Library/StartupItems/DansGuardian/StartupParameters.plist
{
Description = "DansGuardian Content Filter";
Provides = ("ContentFilter");
Requires = ("Disks","Resolver","Network","Network
Time","ProxyServer"); OrderPreference = "Last";
{
start = "Starting DansGuardian";
stop = "Stopping DansGuardian";
restart = "Restarting DansGuardian";
};
}
which is virtually identical to my other startup items' ...
and, "ProxyServer" is provided by Squid, which launches OK prior to the
DansGuardian failed attempt:
...
Aug 4 16:41:22 localhost SystemStarter: Starting SQUID PROXY server
...
Aug 4 16:41:25 localhost squid[352]: Squid Parent: child process 354
started
...
googling on "Malformatted parameters file" brings up virtually nothing other
than:
<http://darwinsource.opendarwin.org/10.3/Startup-177/SystemStarter/StartupItems.c>
where the stanza:
...
if (StartupItemValidate(aConfig))
{
CFStringRef aBundlePathString =
CFStringCreateWithCString(NULL, aBundlePath, kCFStringEncodingUTF8);
CFNumberRef aDomainNumber =
CFNumberCreate(NULL, kCFNumberCFIndexType, &aDomainIndex);
CFDictionarySetValue(aConfig, kBundlePathKey, aBundlePathString);
CFDictionarySetValue(aConfig, kDomainKey, aDomainNumber);
CFRelease(aDomainNumber);
SpecialCasesStartupItemHandler(aConfig);
CFArrayAppendValue(anItemList, aConfig);
CFRelease(aBundlePathString);
}
else
{
error(CFSTR("Malformatted parameters file %s.\n"), aConfigFile);
}
...
looks like the 'culprit', but i have no idea what's failing, and further -- why
it's only happening for THIS .plist ...
any ideas?
thx,
richard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden