Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unknown error on 10.3.9 boot: "SystemStarter: Malformatted parameters file"



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.