Hacker News new | ask | show | jobs
by vezzy-fnord 4247 days ago
And a link to the repository: https://github.com/outbackdingo/launchd_xml
1 comments

Note that the pfsense / outbackdingo launchd did something rather naughty -- it put the xml parser back in pid 1 which was intentionally not there by design at Apple.

tl;dr even if you could convince the FreeBSD devs that launchd is a great idea they wouldn't accept this as-is.

doesn't launchd on osx also parse plist xml files? How are those handled?
There's another binary that does the processing and the data is sent to the launchd daemon over a Mach-specific IPC channel that FreeBSD doesn't have.
OS X has a binary plist format, too. Maybe it uses that to bootstrap and does xml parsing in sub-processes.