Re:Debian reconsiders init-system diversity
by sjwright on Tuesday November 12, 2019 @01:29AM
(#21511979)
Launchd is arguably the inspiration for systemd and other modern alternatives. Therefore it's very similar in scope and principle. But many parts of how it works, most notably the configuration file format, are distinctly Apple-isms (or more precisely NeXT-isms) so it probably wouldn't feel "native" to the Linux ecosystem without some substantial retooling of the code.
[ Parent
| on HN ]
Re:Debian reconsiders init-system diversity
by chungy on Tuesday November 12, 2019 @02:21AM
(#21512177)
> many parts of how it works, most notably the configuration file format, are distinctly Apple-isms (or more precisely NeXT-isms)
Basically every type of systemd configuration files are just INI files, which I seem to remember originating in MS-DOS...
Re:Debian reconsiders init-system diversity
by sjwright on Tuesday November 12, 2019 @03:34AM
(#21512532)
I'm not sure about systemd, but launchd uses a rather verbose yet generic xml schema that is used throughout macOS, iOS etc.
Re:Debian reconsiders init-system diversity
by saagarjha on Tuesday November 12, 2019 @06:02AM
(#21513185)
It's not even XML, it's a Property List, which can also be represented as JSON or a special binary format: https://en.wikipedia.org/wiki/Property_list
Re:Debian reconsiders init-system diversity
by TazeTSchnitzel on Tuesday November 12, 2019 @03:12AM
(#21512418)
Well, it's also very dependent on running on Darwin.
Re:Debian reconsiders init-system diversity
by saagarjha on Tuesday November 12, 2019 @06:05AM
(#21513199)
Apparently it's been ported to some extent to run on FreeBSD: https://wiki.freebsd.org/launchd. I'd expect this job gets harder and harder with each passing year, as the last time Apple released source code for launchd was alongside OS X Mavericks.