nosh version 1.9
Jordan Hubbard
jkh at turbofuzz.com
Thu Oct 23 02:47:03 UTC 2014
> On Oct 22, 2014, at 7:16 PM, Outback Dingo <outbackdingo at gmail.com <mailto:outbackdingo at gmail.com>> wrote:
>
> Actually our port is "very" xml aware :) see https://github.com/outbackdingo/launchd_xml/tree/master/launch_xml <https://github.com/outbackdingo/launchd_xml/tree/master/launch_xml>
OK, well, launchd as originally designed certainly was not (and is not) xml-aware. This was on purpose. You don’t want a lot of surface area in pid 1, which can never crash, nor do you want to bake your serialization format into stone tablets.
launchctl(1) does all the XML parsing and then passes the results to launchd using its own custom IPC format. Was there some particular reason you violently inserted the XML parsing directly into launchd after the original architect(s) went to such pains to avoid such blatant penitentiary experiences? :-)
- Jordan
More information about the freebsd-hackers
mailing list